[ http://issues.apache.org/jira/browse/AXIS2-1580?page=comments#action_12446598 ] Shahar Kedar commented on AXIS2-1580: -------------------------------------
This is correct in case Axis2 needs to generate the WSDL. in that case it cannot reflect the non-exisitng name of the return value. So "return" is as good as any other name. However, if I provide Axis2 with my own WSDL, then I expect Axis2 to create the response SOAP message according to the name of the element in the WSDL. In fact, I don't see how reflection has anything to do with it. As I see it, it is supposed to be this way: 1. invokeBusinessLogic -> get a certain java Object as response. 2. Create the SOAP message according to the WSDL -> fill the response element with the response Object's content. Thus, the element name can be any name. > RPCMessageReceiver returns a subelement that doesn't conform to the WSDL > ------------------------------------------------------------------------ > > Key: AXIS2-1580 > URL: http://issues.apache.org/jira/browse/AXIS2-1580 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: rpc > Affects Versions: 1.1 > Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11 > Reporter: Shahar Kedar > Attachments: ServerManager.wsdl, soapResponse.xml > > > The RPCMessageReceiver always returns a subelement called "retrun" in the > SOAP response. This happens even if the WSDL given to Axis defines a > different name to the response subelement. > Attached is the WSDL and the response SOAP message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
