Hi
 
I am deploying a web service with in the WSDD file. When i invoke this webservice from a client it says
No such operation in0. I got the SOAP message using TCPMonitor. The same web service works when i say .
 
How do i make the work?
 
Would be glad for any help.
 
The SOAP message is
 
<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body> 
         <in0 xmlns="">World</in0>
      </soapenv:Body>
   </soapenv:Envelope>
 
The WSDL for web service given by AXIS is
 
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8080/Training/services/HelloWebService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/Training/services/HelloWebService" xmlns:intf="http://localhost:8080/Training/services/HelloWebService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types/>
  <wsdl:message name="sayHelloResponse">
    <wsdl:part name="sayHelloReturn" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="sayHelloRequest">
    <wsdl:part name="in0" type="xsd:string"/>
  </wsdl:message>
  <wsdl:portType name="HelloWebService">
    <wsdl:operation name="sayHello" parameterOrder="in0">
      <wsdl:input message="intf:sayHelloRequest" name="sayHelloRequest"/>
      <wsdl:output message="intf:sayHelloResponse" name="sayHelloResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HelloWebServiceSoapBinding" type="intf:HelloWebService">
    <wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="sayHelloRequest">
        <wsdlsoap:body namespace="http://localhost:8080/Training/services/HelloWebService" use="literal"/>
      </wsdl:input>
      <wsdl:output name="sayHelloResponse">
        <wsdlsoap:body namespace="http://localhost:8080/Training/services/HelloWebService" use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HelloWebServiceService">
    <wsdl:port binding="intf:HelloWebServiceSoapBinding" name="HelloWebService">
      <wsdlsoap:address location="http://localhost:8080/Training/services/HelloWebService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
 
Regards
Krishnakumar B

DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Reply via email to