Skip to content

Instantly share code, notes, and snippets.

@musketyr
Last active Aug 29, 2015
Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:echo>
<message SOAP-ENC:arrayType="xsd:ur-type[0]" xsi:type="SOAP-ENC:Array"/>
</ns1:echo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding ="utf-8"?>
<!--
(c) World Corp
2014-08-27
let you post/retrieve online message by SOAP protocol
Online WSDL 1.1 SOAP generator 0.2
Julien Blitte
-->
<definitions name="echo"
targetNamespace="us.world_corp.my_soap_forum.wsdl"
xmlns:tns="us.world_corp.my_soap_forum.wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="us.world_corp.my_soap_forum.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<!-- definition of datatypes -->
<types>
<schema targetNamespace="us.world_corp.my_soap_forum.xsd" xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="message">
<complexType><all><element name="value" type="string" /></all></complexType>
</element>
</schema>
</types>
<!-- response messages -->
<message name='returns_message'>
<part name='message' type='xsd:message'/>
</message>
<!-- request messages -->
<message name='echo'>
<part name='message' type='xsd:message'/>
</message>
<!-- server's services -->
<portType name='my SOAP forum'>
<operation name='echo'>
<input message='tns:echo'/>
<output message='tns:returns_message'/>
</operation>
</portType>
<!-- server encoding -->
<binding name='my SOAP forum_webservices' type='tns:my SOAP forum'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='echo'>
<soap:operation soapAction='urn:xmethods-delayed-quotes#echo'/>
<input><soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/></input>
<output><soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/></output>
</operation>
</binding>
<!-- access to service provider -->
<service name='exemple'>
<port name='exemple_0' binding='my SOAP forum_webservices'>
<soap:address location='https://gist.githubusercontent.com/musketyr/26c90594898f047a73af/raw/682a3e5684fabab0dd14a048caa5f32377f08c90/test.r.xml'/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment