Created
January 19, 2017 15:26
-
-
Save fuhrysteve/69ceb86cf0b5762ce49114b633b4129a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<wsdl:definitions targetNamespace="http://my.api.com/" xmlns:axis2="http://my.api.com/" xmlns="http://my.api.com/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"> | |
<wsdl:documentation>Main API web service for external vendors to retrieve API data.</wsdl:documentation> | |
<wsdl:types> | |
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://my.api.com/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:tns="http://my.api.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<xsd:complexType name="invoke"> | |
<xsd:element minOccurs="0" name="requestData" type="xs:string"/> | |
</xsd:complexType> | |
<xsd:complexType name="invokeResponse"> | |
<xsd:complexType name="invoke"> | |
<xsd:element minOccurs="0" name="requestData" type="xs:string"/> | |
</xsd:complexType> | |
</xsd:complexType> | |
<xsd:element name="invoke" nillable="true" type="tns:invoke"/> | |
<xsd:element name="invokeResponse" nillable="true" type="tns:invokeResponse"/> | |
<xsd:element name="invokeFault"> | |
<xsd:complexType> | |
<xsd:sequence> | |
<xsd:element name="payload" type="xs:string"/> | |
</xsd:sequence> | |
</xsd:complexType> | |
</xsd:element> | |
</xsd:schema> | |
</wsdl:types> | |
<wsdl:message name="invokeResponse"> | |
<wsdl:part name="parameters" element="axis2:invokeResponse"> | |
</wsdl:part> | |
</wsdl:message> | |
<wsdl:message name="invokeFault"> | |
<wsdl:part name="parameters" element="axis2:invokeFault"> | |
</wsdl:part> | |
</wsdl:message> | |
<wsdl:message name="invokeRequest"> | |
<wsdl:part name="parameters" element="axis2:invoke"> | |
</wsdl:part> | |
</wsdl:message> | |
<wsdl:portType name="XXXVendorAPI_ProdPortType" wsp:PolicyURIs="axis2:#servicePolicy"> | |
<wsdl:operation name="invoke"> | |
<wsdl:input message="axis2:invokeRequest" wsaw:Action="http://my.api.com/ApiServiceInterface/invoke"> | |
</wsdl:input> | |
<wsdl:output message="axis2:invokeResponse" wsaw:Action="http://my.api.com/ApiServiceInterface/invokeResponse"> | |
</wsdl:output> | |
<wsdl:fault name="invokeFault" message="axis2:invokeFault" wsaw:Action="http://my.api.com//XXXVendorAPI_ProdPortType/invokeFault"> | |
</wsdl:fault> | |
</wsdl:operation> | |
</wsdl:portType> | |
<wsdl:binding name="XXXVendorAPI_ProdSoap11Binding" type="axis2:XXXVendorAPI_ProdPortType"> | |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsaw:UsingAddressing wsdl:required="false"/> | |
<wsdl:operation name="invoke"> | |
<soap:operation soapAction="http://my.api.com/ApiServiceInterface/invoke" style="document"/> | |
<wsdl:input> | |
<soap:body use="literal"/> | |
</wsdl:input> | |
<wsdl:output> | |
<soap:body use="literal"/> | |
</wsdl:output> | |
<wsdl:fault name="invokeFault"> | |
<soap:fault name="invokeFault" use="literal"/> | |
</wsdl:fault> | |
</wsdl:operation> | |
</wsdl:binding> | |
<wsdl:service name="XXXVendorAPI_Prod"> | |
<wsdl:port name="XXXVendorAPI_ProdHttpsSoap11Endpoint" binding="axis2:XXXVendorAPI_ProdSoap11Binding"> | |
<soap:address location="https://xxx.xxcom:9999/services/XXXVendorAPI_Prod.XXXVendorAPI_ProdHttpsSoap11Endpoint"/> | |
</wsdl:port> | |
</wsdl:service> | |
<wsp:Policy wsu:Id="servicePolicy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsp:ExactlyOne><wsp:All><wsam:Addressing wsp:Optional="true" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"><wsp:Policy><wsam:AnonymousResponses/></wsp:Policy></wsam:Addressing></wsp:All></wsp:ExactlyOne></wsp:Policy> | |
</wsdl:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment