-
-
Save SPRIME01/8f80d75a1ac5ad5647e7698df1bd61b9 to your computer and use it in GitHub Desktop.
WSDL Template
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://www.example.com/webservice" | |
xmlns:tns="http://www.example.com/webservice" | |
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" | |
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" | |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ws="http://www.example.com/webservice"> | |
<!-- Placeholder for complex types, if any --> | |
<!-- <types> | |
<xsd:schema targetNamespace="http://schema.xyz.com/types/" | |
xmlns="http://www.w3.org/2001/XMLSchema"> | |
<xsd:complexType name="organisation"> | |
... | |
</xsd:complexType> | |
</xsd:schema> | |
</types> --> | |
<!-- Placeholder for message definitions --> | |
<wsdl:message name="insertMessageName"> | |
<!-- <wsdl:part name="paramName" type="type"/> --> | |
</wsdl:message> | |
<!-- Placeholder for portTypes (operations) --> | |
<wsdl:portType name="portName"> | |
<wsdl:operation name="operationName"> | |
<wsdl:input message="tns:operationRequest"/> | |
<wsdl:output message="tns:operationResponse"/> | |
</wsdl:operation> | |
</wsdl:portType> | |
<!-- Placeholder for binding. Define operation style(RCP, Document) and bind port to messages. --> | |
<!--Document Style --> | |
<!--<wsdl:binding name="bindingName" type="tns:portName"> | |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsdl:operation name="operationName"> | |
<soap:operation/> | |
</wsdl:operation> | |
</wsdl:binding>--> | |
<!-- RPC Style --> | |
<wsdl:binding name="bindingName" type="tns:portName"> | |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsdl:operation name="operationName"> | |
<soap:operation soapAction="" style="rpc"/> | |
<wsdl:input name="operationRequest"> | |
<soap:body use="literal"/> | |
</wsdl:input> | |
<wsdl:output name="operationResponse"> | |
<soap:body use="literal"/> | |
</wsdl:output> | |
</wsdl:operation> | |
</wsdl:binding> | |
<!-- Placeholder for service definition--> | |
<wsdl:service name="HelloWorldService"> | |
<wsdl:port binding="tns:bindingName" name="serviceName"> | |
<soap:address location="http://localhost:8080/serviceName"/> | |
</wsdl:port> | |
</wsdl:service> | |
</wsdl:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment