Hello
I am generating with Generator Wizard Guide for Eclipse Plug-in 1.3
from this simple wsdl a service.
When i invoke service with the soap client tool, client becomes
 an error, that requestMsg cannot be null!
   
  Is there any mistake in my WSDL or is another issue??
Thanks for your help
   
  ----------------wsdl-----------------------------------
  <?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="tmService"
 targetNamespace="http://ms/service";
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
 xmlns:tns="http://ms/service";
 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";  
 xmlns:data="http://sm/xsd/tm";>
   <wsdl:types>
  <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
   <xsd:import namespace="http://sm/xsd/tm";
    schemaLocation="tm.xsd">
   </xsd:import>
  </xsd:schema>
 </wsdl:types>
   
   <wsdl:message name="fromClientReqMsg">
  <wsdl:part element="data:fromClientRequest" name="reqPart" />
 </wsdl:message>
   <wsdl:message name="fromtmRespMsg">
  <wsdl:part element="data:fromtmResponse" name="respPart" />
 </wsdl:message>
   <wsdl:portType name="tmServicePortType">
  <wsdl:operation name="tmOperation">
   <wsdl:input message="tns:fromClientReqMsg" />
   <wsdl:output message="tns:fromtmRespMsg" />
  </wsdl:operation>
 </wsdl:portType>
 
 
 
 <wsdl:binding name="tmServiceBinding" type="tns:tmServicePortType">
  <soap:binding style="document"  
transport="http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="tmOperation">
   <soap:operation  soapAction="urn:tmOperation" style="document" />
   <wsdl:input>
    <soap:body use="literal" />
   </wsdl:input>
   <wsdl:output>
    <soap:body use="literal" />
   </wsdl:output>
  </wsdl:operation>
 </wsdl:binding>
 <wsdl:service name="tmService">
  <wsdl:port binding="tns:tmServiceBinding" name="tmServicePort">
   <soap:address
    location="http://localhost:8080/SB/services/tmService"; />
  </wsdl:port>
 </wsdl:service>
</wsdl:definitions>
   
   
  ----------scema-------------------------------------------
?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema targetNamespace="http://sm/xsd/tm";  
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
    xmlns:tns="http://sm/xsd/tm";  
     elementFormDefault="qualified"
      attributeFormDefault="qualified">
      <xsd:element name="fromClientRequest" type="tns:from"/>
        <xsd:complexType name="from">
          <xsd:sequence>
            <xsd:element name="requestMsg" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      
      <xsd:element name="fromtmResponse" type="tns:to"/>
        <xsd:complexType name="to">
          <xsd:sequence>
            <xsd:element name="responseMsg" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
    </xsd:schema>


       
---------------------------------
  Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.. 

Reply via email to