Hi Sunley, Just changing the elements in the WSDL and dropping it in will not work cause this return element is created by the MessageReceiver. For you to get the desired result you will have to generate the server side using this edited WSDL and then use that generated MessageReceiver as the MessageReceiver for the service.
Thanks, Keith. On Fri, Apr 18, 2008 at 11:07 PM, A Sunley <[EMAIL PROTECTED]> wrote: > > Greetings, > > We're sending a custom object as a response to a webservice request which > Axis2 will automatically name as "return". > > <return type="com.test.QueryResponse"> > ... > </return> > > Is it possible to customize this element name? We're letting Axis generate > the WSDL, but if we take that WSDL customize the "return" element names > and > then use that as a fixed WSDL by specifying useOriginalwsdl in the > services.xml it has no effect on the element name. > > Using the package name, as in the type attribute, as the element name > would > be acceptable: <com.test.QueryResponse> > > Is it at all possible for us to do this? > > Thanks, > Alan. > -- > View this message in context: > http://www.nabble.com/-Axis2--Customize-%3Creturn%3E-element-in-response-tp16763591p16763591.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
