DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9969>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9969 WSDL2Java generates bad stubs for out only params. Summary: WSDL2Java generates bad stubs for out only params. Product: Axis Version: current (nightly) Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Basic Architecture AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When an operation has an out only parameter, WSDL2Java generated buggy stubs that don't exract the return value from the reply SOAP document. The following WSDL will demonstrate the problem... <?xml version="1.0" encoding="UTF-8" ?> <wsdl:definitions name='GroupYQ01' targetNamespace='http://actional.com/exposed/RFC/GroupYQ01' xmlns='http://actional.com/exposed/RFC/GroupYQ01' xmlns:acb='http://actional.com/acb' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:GroupYQ01='http://actional.com/exposed/RFC/GroupYQ01' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:SAP='http://actional.com/exposed/SAP'> <wsdl:types> <xsd:schema targetNamespace='http://actional.com/acb' xmlns:acb='http://actional.com/acb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <xsd:simpleType name='Object'> <xsd:restriction base='xsd:string'/> </xsd:simpleType> <xsd:complexType name='ObjectRef'> <xsd:sequence> <xsd:element name='url' type='acb:Object'/> </xsd:sequence> </xsd:complexType> </xsd:schema> <xsd:schema targetNamespace='http://actional.com/exposed/SAP' xmlns:SAP='http://actional.com/exposed/SAP' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <xsd:complexType name='RFCException'> <xsd:sequence> <xsd:element name='key' type='xsd:string'/> <xsd:element name='message' type='xsd:string'/> <xsd:element name='exceptionName' type='xsd:string'/> </xsd:sequence> </xsd:complexType> </xsd:schema> </wsdl:types> <wsdl:message name='y_getr3user'/> <wsdl:message name='y_getr3userResponse'> <wsdl:part name='user' type='xsd:string'/> </wsdl:message> <wsdl:message name='RFCException'> <wsdl:part name='RFCException' type='SAP:RFCException'/> </wsdl:message> <wsdl:portType name='GroupYQ01'> <wsdl:operation name='y_getr3user' parameterOrder='user'> <wsdl:input message='y_getr3user'/> <wsdl:output message='y_getr3userResponse'/> <wsdl:fault name='RFCException' message='RFCException'/> </wsdl:operation> <!-- <acb:source path='R/3://RFC/GroupYQ01'/> --> </wsdl:portType> <wsdl:binding name='TestBinding' type='GroupYQ01:GroupYQ01'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <wsdl:operation name='y_getr3user'> <soap:operation soapAction='y_getr3user@com-actional- soapswitch-test-test'/> <wsdl:input> <soap:body use='encoded' namespace='http://actional.com/exposed/RFC/GroupYQ01' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/> </wsdl:input> <wsdl:output> <soap:body use='encoded' namespace='http://actional.com/exposed/RFC/GroupYQ01' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/> </wsdl:output> <wsdl:fault name='RFCException'> <soap:fault name='RFCException' use='encoded' namespace='http://actional.com/exposed/SAP' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:service name='TestService'> <wsdl:port name='Test' binding='TestBinding'> <soap:address location='http://chrisk:8080/runtime'/> </wsdl:port> </wsdl:service> </wsdl:definitions>