axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno LEDOUX <brunoled...@optusnet.com.au>
Subject Re: gSOAP 2.7 (client)<-> Axis Java 1.2rc3 Interoperability problem
Date Tue, 05 Apr 2005 10:58:59 GMT
I tried it but it didn't work. Is the wsdl file required by Axis only when
deploying the service ? Do I also need to copy it in the WEB-INF directory.

Anyway I "googled"  <wsdlFile> and found I was not the only one having
troubles: cf http://java2.5341.com/msg/99739.html

Thanks for your help.

Bruno 
> Got it. Axis server side doesn't have access to your wsdl file.
> you can specify something like this in wsdd file while deploying -
> 
> <service name="urn:xmltoday-delayed-quotes" provider="java:RPC">
>   . .. .. .. .. .. .
>   <wsdlFile>/srv/tomcat/webapps/axis/wsdl/GetQuote.wsdl</wsdlFile>
> 
> 
> hope that helps
> - venkat
> 
> 
> On Apr 5, 2005 2:27 PM, Bruno LEDOUX <brunoledoux@optusnet.com.au> wrote:
>> Yes it does, but the part name should be "result" instead of
>> "getQuoteReturn" or am I misinterpreting the WSDL file ?
>> 
>> Bruno
>>> But, doesn't the operation defintion inside portType indicate
>>> "GetQuoteResponse"?
>>> 
>>>   <operation name="getQuote" >
>>>     <input  message="tns:GetQuoteRequest"/>
>>>     <output message="tns:GetQuoteResponse"/>
>>>   </operation>
>>> 
>>> - venkat
>>> 
>>> 
>>> On Apr 5, 2005 11:46 AM, Bruno LEDOUX <brunoledoux@optusnet.com.au> wrote:
>>>> Hi ,
>>>> 
>>>> I have a problem with the latest version of Axis Java axis-1.2rc3 and gSOAP
>>>> C++. When running the sample "stock" service on Axis and calling the
>>>> getQuote method with gSOAP, the low level SOAP Response returned is the
>>>> following:
>>>> 
>>>> ...
>>>>   <soapenv:Body>
>>>>    <ns1:getQuoteResponse
>>>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>>>> xmlns:ns1="urn:xmltoday-delayed-quotes">
>>>>      <getQuoteReturn href="#id0"/>
>>>>    </ns1:getQuoteResponse>
>>>>    <multiRef id="id0" soapenc:root="0"
>>>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>>>> xsi:type="xsd:float"
>>>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">90.32</multiRef>
>>>>  </soapenv:Body>
>>>> ...
>>>> 
>>>> PROBLEM: gSOAP doesn't manage to read the return value because it should
be
>>>> stored in a tag named "result" as stated in the WSDL file (GetQuote.wsdl):
>>>> 
>>>> ...
>>>>  <message name="GetQuoteResponse">
>>>>    <part name="result" type="xsd:float"/>
>>>>  </message>
>>>> ...
>>>> 
>>>> Any Ideas ?
>>>> 
>>>> Bruno
>>>> 
>>>> 
>> 
>> 


Mime
View raw message