This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Observed with the 9/10 and 9/15 GFESB builds. I attempted to create a Service Bridge using the Service Wizard. I made sure the different WSDL operations were selected in the We Implement (HelloXSLTBridgeWSDLOperation) and We Call (HelloXSLTWSDLOperation) fields. After finishing the wizard, I checked the transformmap.xml source code and observed (as Kevan had suggested) that the same WSDL operation was invoking itself. This resulted in an OutOfMemoryError when I attempted to run the test. <import namespace="http://j2ee.netbeans.org/wsdl/HelloXSLTBridge/HelloXSLTBridgeWSDL" location="../../HelloXSLTBridge/src/HelloXSLTBridgeWSDL.wsdl"/> <service name="Service1" portType="ns1:HelloXSLTBridgeWSDLPortType"> <operation opName="HelloXSLTBridgeWSDLOperation" inputVariable="inOpVar1" outputVariable="outOpVar1"> <transform file="InXslFile1.xsl" source="$inOpVar1.part1" result="$inInvokeVar1.part1" name="InTransform1"/> <invoke inputVariable="inInvokeVar1" outputVariable="outInvokeVar1" name="Invoke1" portType="ns1:HelloXSLTBridgeWSDLPortType" opName="HelloXSLTBridgeWSDLOperation"/> <transform file="OutXslFile1.xsl" source="$outInvokeVar1.part1" result="$outOpVar1.part1" name="OutTransform1"/> </operation> </service>
Keyword NO65 added.
Fixed in soa-dev. Changeset: eaa3a09ce0a2.
Verified with build: \\thumper\50builds\gfesb\v2\nightly\20081015-1408 Verified with the following steps: 1) Create a new XSLT based on the XSLT sample 'HelloXSLTransformation' (and call it 'rp_HelloXSLTransformation') 2) Create a new WSDL 'HelloXSLTBridgeWSDL' (with 'HelloXSLTWSDLOperation'). 3) Create a new XSL Service with: Service Type: Serve bridge Under 'We Implement', operation = HelloXSLTWSDLOperation Under 'Call call', operation = HelloXSLTWSDLOperation Once the XSL Service is finished, verified that in the transformmap.xml source, the same WSDL operation does not invoking itself (see source code below): <import namespace="http://j2ee.netbeans.org/wsdl/HelloXSLTransformation/HelloXSLTWSDL" location="HelloXSLTWSDL.wsdl"/> <import namespace="http://j2ee.netbeans.org/wsdl/rp_HelloXSLTransformation/HelloXSLTBridgeWSDL" location="HelloXSLTBridgeWSDL.wsdl"/> <service name="rpService1" portType="ns1:HelloXSLTBridgeWSDLPortType"> <operation opName="HelloXSLTBridgeWSDLOperation" inputVariable="inOpVar1" outputVariable="outOpVar1"> <transform file="InXslFile1.xsl" source="$inOpVar1.part1" result="$inInvokeVar1.part1" name="InTransform1"/> <invoke inputVariable="inInvokeVar1" outputVariable="outInvokeVar1" name="Invoke1" portType="ns2:HelloXSLTWSDLPortType" opName="HelloXSLTWSDLOperation"/> <transform file="OutXslFile1.xsl" source="$outInvokeVar1.part1" result="$outOpVar1.part1" name="OutTransform1"/> </operation> </service>
Created attachment 72166 [details] Verified project