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 Re: Re: Result Structure / wsdl file
Date Mon, 05 Nov 2007 13:47:43 GMT
I just saw that I wrote renew element, but actually meant return
element.. sry for that little mistake.

---- Original Message ----
From: roman.schoenbichler@matkovits.at
To: axis-user@ws.apache.org
Subject: Re: Re: Result Structure / wsdl file
Date: Mon, 5 Nov 2007 14:38:56 +0100

>Hey Martin!
>
>The whole wsdl looks like:
>
><wsdl:definitions targetNamespace="http://webservice">
><wsdl:documentation>LoggedIn</wsdl:documentation>
>-
>	<wsdl:types>
>-
>	<xs:schema attributeFormDefault="qualified"
>elementFormDefault="qualified"
>targetNamespace="http://model.matkovits.at/xsd">
>-
>	<xs:complexType name="Input_I">
><xs:sequence/>
></xs:complexType>
>-
>	<xs:complexType name="Result_I">
><xs:sequence/>
></xs:complexType>
></xs:schema>
>-
>	<xs:schema attributeFormDefault="qualified"
>elementFormDefault="qualified" targetNamespace="http://webservice">
>-
>	<xs:element name="getInputObjectsResponse">
>-
>	<xs:complexType>
>-
>	<xs:sequence>
><xs:element minOccurs="0" name="return" nillable="true"
>type="ns0:Input_I"/>
></xs:sequence>
></xs:complexType>
></xs:element>
>-
>	<xs:element name="calculate">
>-
>	<xs:complexType>
>-
>	<xs:sequence>
><xs:element minOccurs="0" name="input" nillable="true"
>type="ns0:Input_I"/>
></xs:sequence>
></xs:complexType>
></xs:element>
>-
>	<xs:element name="calculateResponse">
>-
>	<xs:complexType>
>-
>	<xs:sequence>
><xs:element minOccurs="0" name="return" nillable="true"
>type="ns0:Result_I"/>
></xs:sequence>
></xs:complexType>
></xs:element>
>-
>	<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>
></xs:schema>
></wsdl:types>
>-
>	<wsdl:message name="calculateRequest">
><wsdl:part name="parameters" element="ns1:calculate"/>
></wsdl:message>
>-
>	<wsdl:message name="calculateResponse">
><wsdl:part name="parameters" element="ns1:calculateResponse"/>
></wsdl:message>
><wsdl:message name="myStatusRequest"/>
>-
>	<wsdl:message name="myStatusResponse">
><wsdl:part name="parameters" element="ns1:myStatusResponse"/>
></wsdl:message>
><wsdl:message name="getInputObjectsRequest"/>
>-
>	<wsdl:message name="getInputObjectsResponse">
><wsdl:part name="parameters" element="ns1:getInputObjectsResponse"/>
></wsdl:message>
>-
>	<wsdl:portType name="LoggedInPortType">
>-
>	<wsdl:operation name="calculate">
><wsdl:input message="ns1:calculateRequest"
>wsaw:Action="urn:calculate"/>
><wsdl:output message="ns1:calculateResponse"
>wsaw:Action="urn:calculateResponse"/>
></wsdl:operation>
>-
>	<wsdl:operation name="myStatus">
><wsdl:input message="ns1:myStatusRequest"
>wsaw:Action="urn:myStatus"/>
><wsdl:output message="ns1:myStatusResponse"
>wsaw:Action="urn:myStatusResponse"/>
></wsdl:operation>
>-
>	<wsdl:operation name="getInputObjects">
><wsdl:input message="ns1:getInputObjectsRequest"
>wsaw:Action="urn:getInputObjects"/>
><wsdl:output message="ns1:getInputObjectsResponse"
>wsaw:Action="urn:getInputObjectsResponse"/>
></wsdl:operation>
></wsdl:portType>
>-
>	<wsdl:binding name="LoggedInSOAP11Binding"
>type="ns1:LoggedInPortType">
><soap:binding transport="http://schemas.xmlsoap.org/soap/http"
>style="document"/>
>-
>	<wsdl:operation name="calculate">
><soap:operation soapAction="urn:calculate" style="document"/>
>-
>	<wsdl:input>
><soap:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap:body use="literal"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="myStatus">
><soap:operation soapAction="urn:myStatus" style="document"/>
>-
>	<wsdl:input>
><soap:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap:body use="literal"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="getInputObjects">
><soap:operation soapAction="urn:getInputObjects" style="document"/>
>-
>	<wsdl:input>
><soap:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap:body use="literal"/>
></wsdl:output>
></wsdl:operation>
></wsdl:binding>
>-
>	<wsdl:binding name="LoggedInSOAP12Binding"
>type="ns1:LoggedInPortType">
><soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
>style="document"/>
>-
>	<wsdl:operation name="calculate">
><soap12:operation soapAction="urn:calculate" style="document"/>
>-
>	<wsdl:input>
><soap12:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap12:body use="literal"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="myStatus">
><soap12:operation soapAction="urn:myStatus" style="document"/>
>-
>	<wsdl:input>
><soap12:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap12:body use="literal"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="getInputObjects">
><soap12:operation soapAction="urn:getInputObjects" style="document"/>
>-
>	<wsdl:input>
><soap12:body use="literal"/>
></wsdl:input>
>-
>	<wsdl:output>
><soap12:body use="literal"/>
></wsdl:output>
></wsdl:operation>
></wsdl:binding>
>-
>	<wsdl:binding name="LoggedInHttpBinding"
>type="ns1:LoggedInPortType">
><http:binding verb="POST"/>
>-
>	<wsdl:operation name="calculate">
><http:operation location="LoggedIn/calculate"/>
>-
>	<wsdl:input>
><mime:content type="text/xml" part="calculate"/>
></wsdl:input>
>-
>	<wsdl:output>
><mime:content type="text/xml" part="calculate"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="myStatus">
><http:operation location="LoggedIn/myStatus"/>
>-
>	<wsdl:input>
><mime:content type="text/xml" part="myStatus"/>
></wsdl:input>
>-
>	<wsdl:output>
><mime:content type="text/xml" part="myStatus"/>
></wsdl:output>
></wsdl:operation>
>-
>	<wsdl:operation name="getInputObjects">
><http:operation location="LoggedIn/getInputObjects"/>
>-
>	<wsdl:input>
><mime:content type="text/xml" part="getInputObjects"/>
></wsdl:input>
>-
>	<wsdl:output>
><mime:content type="text/xml" part="getInputObjects"/>
></wsdl:output>
></wsdl:operation>
></wsdl:binding>
>-
>	<wsdl:service name="LoggedIn">
>-
>	<wsdl:port name="LoggedInSOAP11port_http"
>binding="ns1:LoggedInSOAP11Binding">
><soap:address
>location="http://localhost:2345/axis2/services/LoggedIn"/>
></wsdl:port>
>-
>	<wsdl:port name="LoggedInSOAP12port_http"
>binding="ns1:LoggedInSOAP12Binding">
><soap12:address
>location="http://localhost:2345/axis2/services/LoggedIn"/>
></wsdl:port>
>-
>	<wsdl:port name="LoggedInHttpport"
>binding="ns1:LoggedInHttpBinding">
><http:address
>location="http://localhost:2345/axis2/services/LoggedIn"/>
></wsdl:port>
></wsdl:service>
></wsdl:definitions>
>
>---- Original Message ----
>From: mgainty@hotmail.com
>To: axis-user@ws.apache.org
>Subject: Re: Re: Result Structure / wsdl file
>Date: Mon, 5 Nov 2007 08:29:40 -0500
>
>>Roman-
>>Please post the wsdl which contains the renew element
>>Thanks/
>>Martin--
>>----- Original Message -----
>>From: "Roman Sch├Ânbichler" <roman.schoenbichler@matkovits.at>
>>To: <axis-user@ws.apache.org>
>>Sent: Monday, November 05, 2007 7:49 AM
>>Subject: FW: Re: Result Structure / wsdl file
>>
>>
>>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
>>
>>
>>
>>--------------------------------------------------------------------
>-
>>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