Now I've used wsdl2java to get my classes aut of the correct wsdl file. The returned xml has changed a bit to: <ns:myStatusResponse> <ns:return type="webservice.MyStatusResponse"> <ns:status>new</ns:status> </ns:return> </ns:myStatusResponse>
but there is still the renew element of which I can't get rid. I would be glad to get some more hints! Greets Roman P.S.: why is wsdl2java extending classes from deprecated base classes?? (public class LoggedInMessageReceiverInOut extends org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver) ---- Original Message ---- From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: FW: Re: Result Structure / wsdl file Date: Fri, 2 Nov 2007 19:32:32 -0400 Upgrade to Axis2. Anne On 11/2/07, Roman Schönbichler <[EMAIL PROTECTED]> wrote: > Hey guys! > > I'm trying to build a webservice which is used by a Flash (Flex) > Client. > > I've set up a running service, and client, but I've got some > problems with the xml which is returned by the server. > > The result (in Firefox) looks like: > <ns:myStatusResponse> > <ns:return>new</ns:return> > </ns:myStatusResponse> > > The Problem is, that the "return" word is reserved in Flex, and so the > client can't access the value of it. > I've changed the wsdl file to: > <xs:element name="myStatusResponse"> > <xs:complexType> > <xs:sequence> > <xs:element minOccurs="0" name="status" nillable="true" > type="xs:string"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > expecting the returned xml file to look like: > <ns:myStatusResponse> > <ns:status>new</ns:status> > </ns:myStatusResponse> > > but it didn't work! I'm still getting the old "return" xml. > > Do I have to change something different to get the ouput changed? > I Would be glad to get some Ideas! > > Greets > Roman > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]