Skip to content

Instantly share code, notes, and snippets.

@robbypelssers
Created March 26, 2015 13:40
Show Gist options
  • Save robbypelssers/9ccb152538019ac140b2 to your computer and use it in GitHub Desktop.
Save robbypelssers/9ccb152538019ac140b2 to your computer and use it in GitHub Desktop.
helloworldservice - helloworld.wsdl
<definitions targetNamespace="http://com.pelssers.helloworld/"
name="HelloWorldService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://com.pelssers.helloworld/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wrapper="http://com.pelssers.helloworld/wrapper">
<types>
<xsd:schema>
<xsd:import namespace="http://com.pelssers.helloworld/wrapper"
schemaLocation="xsd/helloworld.xsd" />
</xsd:schema>
</types>
<message name="helloWorldFault">
<part name="fault" element="wrapper:error" />
</message>
<message name="helloWorldRequest">
<part name="parameters" element="wrapper:helloWorldRequest"/>
</message>
<message name="helloWorldResponse">
<part name="parameters" element="wrapper:helloWorldResponse"/>
</message>
<portType name="HelloWorldService">
<operation name="sayHi">
<input message="tns:helloWorldRequest" />
<output message="tns:helloWorldResponse" />
<fault name="helloWorldFault" message="tns:helloWorldFault" />
</operation>
</portType>
<binding name="HelloWorldServicePortBinding" type="tns:HelloWorldService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="sayHi">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
<fault name="helloWorldFault">
<soap:fault name="helloWorldFault" use="literal" />
</fault>
</operation>
</binding>
<service name="HelloWorldService">
<port name="HelloWorldServicePort" binding="tns:HelloWorldServicePortBinding">
<soap:address location="http://localhost:7001/HelloWorldService" />
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment