You need to copy the wsdl file to WEB-INF directory, or wherever the URL points to as specified in your wsdd file. Redeploy the service and point your browser to <url_to_your_service>?WSDL. The wsdl displayed in browser should identify the message parts according to the wsdl file definitions.
- venkat On Apr 5, 2005 4:28 PM, Bruno LEDOUX <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > >>>> > >>>> > >> > >> > >
