Skip to content

Instantly share code, notes, and snippets.

@jbrunemann
Created June 11, 2012 07:08
Show Gist options
  • Save jbrunemann/2908834 to your computer and use it in GitHub Desktop.
Save jbrunemann/2908834 to your computer and use it in GitHub Desktop.
WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://ws.test" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://ws.test" xmlns:intf="http://ws.test" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://rpc.xml.coldfusion" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by ColdFusion version 9,0,1,274733-->
<wsdl:types>
<schema targetNamespace="http://ws.test" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://rpc.xml.coldfusion"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="Enumeration">
<sequence>
<element name="enumerationProp" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="Region">
<complexContent>
<extension base="impl:Enumeration">
<sequence>
<element name="regionProp" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
<schema targetNamespace="http://rpc.xml.coldfusion" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://ws.test"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="CFCInvocationException">
<sequence/>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="getRegionRequest">
</wsdl:message>
<wsdl:message name="getRegionResponse">
<wsdl:part name="getRegionReturn" type="impl:Region"/>
</wsdl:message>
<wsdl:message name="CFCInvocationException">
<wsdl:part name="fault" type="tns1:CFCInvocationException"/>
</wsdl:message>
<wsdl:portType name="Test">
<wsdl:operation name="getRegion">
<wsdl:input message="impl:getRegionRequest" name="getRegionRequest"/>
<wsdl:output message="impl:getRegionResponse" name="getRegionResponse"/>
<wsdl:fault message="impl:CFCInvocationException" name="CFCInvocationException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Test.cfcSoapBinding" type="impl:Test">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getRegion">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getRegionRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.test" use="encoded"/>
</wsdl:input>
<wsdl:output name="getRegionResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.test" use="encoded"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="CFCInvocationException" namespace="http://ws.test" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TestService">
<wsdl:port binding="impl:Test.cfcSoapBinding" name="Test.cfc">
<wsdlsoap:address location="http://localhost/test/ws/Test.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8888/test/ws/Test.cfc" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8888/test/ws/Test.cfc" xmlns:intf="http://localhost:8888/test/ws/Test.cfc" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://DefaultNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="test.ws.region">
<sequence>
<element name="regionProp" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="getRegionResponse">
<wsdl:part name="getRegionReturn" type="tns1:test.ws.region"/>
</wsdl:message>
<wsdl:message name="getRegionRequest">
</wsdl:message>
<wsdl:portType name="test_wrap">
<wsdl:operation name="getRegion">
<wsdl:input message="impl:getRegionRequest" name="getRegionRequest"/>
<wsdl:output message="impl:getRegionResponse" name="getRegionResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Test.cfcSoapBinding" type="impl:test_wrap">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getRegion">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getRegionRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.test" use="encoded"/>
</wsdl:input>
<wsdl:output name="getRegionResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8888/test/ws/Test.cfc" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="test_wrapService">
<wsdl:port binding="impl:Test.cfcSoapBinding" name="Test.cfc">
<wsdlsoap:address location="http://localhost:8888/test/ws/Test.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment