Hi,
 
try to add the following to your service description in your server-config.wsdd
<namespace>[namespace of the first body child]</namespace>
 
this enables axis to dispatch to the correct service.
 
Regards
Oliver
 

____________________________________________________________________ 

Oliver Adler, Senior Consultant
SYRACOM Systems AG - "The IT-Architects" 

Otto-von-Guericke-Ring 15 
D-65205 Wiesbaden 

Tel +49 6122-9176-0 
Fax +49 6122-9176-11 
Mobil +49 175-1853998 

E-Mail: [EMAIL PROTECTED] 
<www.SYRACOM.de> 

Ein Unternehmen der SYRACOM Gruppe - "The Business- & IT-Architects" 

____________________________________________________________________

        -----Urspr�ngliche Nachricht----- 
        Von: Krishnakumar B [mailto:[EMAIL PROTECTED] 
        Gesendet: Do 06.03.2003 12.10 Uhr 
        An: [EMAIL PROTECTED] 
        Cc: 
        Betreff: Using style Document in WSDD For Deployment
        
        
Hi
 
I am deploying a web service with style="document" 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 style="wrapped".
 
How do i make the style="document" 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";> <http://www.w3.org/2001/XMLSchema"; 
TARGET="_BLANK"> >
  
    
  
  
    
  
  
    
      
      
    
  
  
    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.

<<winmail.dat>>

Reply via email to