Skip to main content

Apache and Microsoft -- playing nice together

SOAP Interoperability is coming around

Return to article

<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl" 
                  targetNamespace="urn:NasdaqQuotes_WSDL" 
                  xmlns:tns="urn:NasdaqQuotes_WSDL" 
                  xmlns:se="http://schemas.xmlsoap.org/soap/encoding/" 
                  xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" 
                  xmlns:so="http://schemas.xmlsoap.org/wsdl/soap/">
       <!-- Messages -->
        <message name="getQuoteIn">
                <part name="symbol" type="xsd:string"/>
        </message>
        <message name="getQuoteOut">
                <part name="return" type="xsd:string"/>
        </message>
       <!-- Port Types -->
        <portType name="NasdaqQuotes_PortType">
                <operation name="getQuote">
                        <input message="tns:getQuoteIn"/>
                        <output message="tns:getQuoteOut"/>
                </operation>
        </portType>
       <!-- Bindings -->
        <binding name="NasdaqQuotes_Binding" type="tns:NasdaqQuotes_PortType">
                <so:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                <operation name="getQuote">
                        <so:operation soapAction=""/>
                        <input>
                                <so:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:NasdaqQuotes"/>
                        </input>
                        <output>
                                <so:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:NasdaqQuotes"/>
                        </output>
                </operation>
        </binding>
       <!-- Service -->
        <service name="NasdaqQuotes">
                <port name="NasdaqQuotes_Port" binding="tns:NasdaqQuotes_Binding">
                                    <!-- Change the address below to wherever your SOAP server is deployed -->
                        <so:address location="http://localhost:8080/soap/servlet/rpcrouter"/>
                </port>
        </service>
</definitions>

Return to article