2011-05-03 98 views
0
<?xml version="1.0" encoding="UTF-8"?> 
<definitions 
    xmlns="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:tns="http://localhost:8888/testes/wsdl/calculadora.wsdl"> 
    <message name="requisicaoSoma"> 
     <part name="x" type="xsd:int" /> 
     <part name="y" type="xsd:int" /> 
    </message> 
    <message name="respostaSoma"> 
     <part name="z" type="xsd:int" /> 
    </message> 
    <portType name="calculadoraPortType"> 
     <operation name="soma"> 
      <input message="requisicaoSoma" /> 
      <output message="respostaSoma" /> 
     </operation> 
    </portType> 
    <binding name="calculadoraBinding" type="tns:calculadoraPortType"> 
     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
     <operation> 
      <soap:operation soapAction="http://localhost:8888/testes/calculadora.php" /> 
      <input><soap:body use="literal" /></input> 
      <output><soap:body use="literal" /></output> 
     </operation> 
    </binding> 
</definitions> 

我錯過了什麼嗎? 謝謝。WSDL錯誤:SOAP-ERROR:解析WSDL:無法綁定到服務

回答