在WSDL Merge中需要帮助(任何工具)

时间:2018-08-28 15:19:40

标签: wsdl

我正在尝试将多个WSDL合并(合并)为单个WSDL文件。

示例:

<?xml version="1.0" encoding="utf-8" ?>
<wsdl:definitions name="ExternalServiceFacade" targetNamespace="http://www.materialise.be/eRP" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://www.materialise.be/eRP" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:i0="http://tempuri.org/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
  <wsdl:import namespace="http://tempuri.org/" location="https://sv7767.si-servers.com/Streamics-test/External.svc?wsdl=wsdl0" /> 
 <wsdl:types>
<xsd:schema targetNamespace="http://www.materialise.be/eRP/Imports">
  <xsd:import schemaLocation="https://sv7767.si-servers.com/Streamics-test/External.svc?xsd=xsd0" namespace="http://www.materialise.be/eRP" /> 
  <xsd:import schemaLocation="https://sv7767.si-servers.com/Streamics-test/External.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> 
  <xsd:import schemaLocation="https://sv7767.si-servers.com/Streamics-test/External.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/eRP.ExternalService.Model" /> 
  </xsd:schema>
  </wsdl:types>
<wsdl:message name="IExternalService_CreateCustomer_InputMessage">
  <wsdl:part name="parameters" element="tns:CreateCustomer" /> 
  </wsdl:message>
<wsdl:message name="IExternalService_CreateCustomer_OutputMessage">
  <wsdl:part name="parameters" element="tns:CreateCustomerResponse" /> 
  </wsdl:message>
<wsdl:portType name="IExternalService">
<wsdl:operation name="CreateCustomer">
  <wsdl:input wsaw:Action="http://www.materialise.be/eRP/ICustomerService/CreateCustomer" message="tns:IExternalService_CreateCustomer_InputMessage" /> 
  <wsdl:output wsaw:Action="http://www.materialise.be/eRP/ICustomerService/CreateCustomerResponse" message="tns:IExternalService_CreateCustomer_OutputMessage" /> 
  </wsdl:operation>
- <wsdl:service name="ExternalServiceFacade">
- <wsdl:port name="BasicHttpBinding_IExternalService" binding="i0:BasicHttpBinding_IExternalService">
  <soap:address location="https://sv7767.si-servers.com/Streamics-test/External.svc" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

能否让我知道如何将多个(导入)合并到单个WSDL文件中。

我有一个场景,其中每个Import wsdl具有多个外部引用。

是否有任何其他工具可以做到这一点?

0 个答案:

没有答案