将SOAP 1.2转换为SOAP 1.1

时间:2016-09-22 06:33:10

标签: web-services soap

我在1.2版本中有一条SOAP消息。如何将其转换为1.1版,因为我的服务器仅支持1.1版本?

<?xml version='1.0' encoding='UTF-8' ?>
<wsdl:definitions targetNamespace="http://myexample.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"
xmlns:tns="http://myexample.com" 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>
    <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://myexample.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://myexample.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <xsd:element name="Result" type="tns:Result" />
      .
      .
      .
      .
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="ValidateBill">
        <wsdl:port binding="tns:ValidateBillServicesHttpBinding" name="ValidateBillServicesHttpPort">
          <soap12:address location="http://123.456.78:8080/ValidateBill" />
        </wsdl:port>
      </wsdl:service>
</wsdl:definitions>

我提供的信息可能太少,因为我对SOAP不太了解。对不起。

0 个答案:

没有答案