Php 客户端未确定SOAP信封响应

Php 客户端未确定SOAP信封响应,php,web-services,soap,wsdl,Php,Web Services,Soap,Wsdl,我正在用PHP开发一个位置web服务。wsdl和消息传递结构已经完成,但是我在响应消息方面遇到了问题。对于某些soap客户端,结果不会显示。有人能告诉我这个消息有什么问题吗 <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://asimishaq.co

我正在用PHP开发一个位置web服务。wsdl和消息传递结构已经完成,但是我在响应消息方面遇到了问题。对于某些soap客户端,结果不会显示。有人能告诉我这个消息有什么问题吗

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
               xmlns:ns="http://asimishaq.com/wsdl/TestServices/IPLocation"
               xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <ns:getCountryNameByIpResponse>
         <ns:result>Chicago, IL, UNITED STATES (US)</ns:result>
      </ns:getCountryNameByIpResponse>
   </soap:Body>
</soap:Envelope>

美国伊利诺伊州芝加哥
服务的wsdl位于以下位置:


我检查了您的WSDL,发现缺少以下定义:

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
我将此定义用于所有wsdl标记。例如:

<wsdl:definitions (...) >
  <wsdl:types>
   <xs:schema (...)

 </wsdl:types>
    <wsdl:message (...)