axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Sch÷nbichler" <roman.schoenbich...@matkovits.at>
Subject FW: Re: Result Structure / wsdl file
Date Mon, 05 Nov 2007 12:49:51 GMT
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: atmanes@gmail.com
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 <roman.schoenbichler@matkovits.at>
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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message