Share via


Code Listing for the Calc.wsdl File (Windows CE 5.0)

Send Feedback

You can find the Calc.wsdl sample file in %_WINCEROOT%\Public\Servers\SDK\Samples\SOAP\Calc\Service\RPC\Isapicpp.

The following code shows the entire content of the file.

Note   You must change the value of the location attribute of the <soap:address> element. The URL specifies a test device. Change it to the server name as appropriate.

<?xml version='1.0' encoding='UTF-8' ?> 
<definitions  name ='Calc'   targetNamespace = 'http://tempuri.org/wsdl/'
        xmlns:wsdlns='http://tempuri.org/wsdl/' 
        xmlns:typens='http://tempuri.org/type' 
        xmlns:soap='https://schemas.xmlsoap.org/wsdl/soap/' 
        xmlns:xsd='http://www.w3.org/2000/10/XMLSchema' 
        xmlns:stk='https://schemas.microsoft.com/soap-toolkit/wsdl-extension'
        xmlns='https://schemas.xmlsoap.org/wsdl/'> 
  <types>
    <schema targetNamespace='http://tempuri.org/type'
      xmlns='http://www.w3.org/2000/10/XMLSchema'
      xmlns:SOAP-ENC='https://schemas.xmlsoap.org/soap/encoding/'
      xmlns:wsdl='https://schemas.xmlsoap.org/wsdl/'>
    </schema>
  </types>
  <message name='Calc.Multiply'>
    <part name='A' type='xsd:double'/>
    <part name='B' type='xsd:double'/>
  </message>
  <message name='Calc.MultiplyResponse'>
    <part name='Result' type='xsd:double'/>
  </message>
  <message name='Calc.Divide'>
    <part name='A' type='xsd:double'/>
    <part name='B' type='xsd:double'/>
  </message>
  <message name='Calc.DivideResponse'>
    <part name='Result' type='xsd:double'/>
  </message>
  <message name='Calc.Subtract'>
    <part name='A' type='xsd:double'/>
    <part name='B' type='xsd:double'/>
  </message>
  <message name='Calc.SubtractResponse'>
    <part name='Result' type='xsd:double'/>
  </message>
  <message name='Calc.Add'>
    <part name='A' type='xsd:double'/>
    <part name='B' type='xsd:double'/>
  </message>
  <message name='Calc.AddResponse'>
    <part name='Result' type='xsd:double'/>
  </message>
  <portType name='CalcSoapPort'>
    <operation name='Multiply' parameterOrder='A B'>
      <input message='wsdlns:Calc.Multiply' />
      <output message='wsdlns:Calc.MultiplyResponse' />
    </operation>
    <operation name='Divide' parameterOrder='A B'>
      <input message='wsdlns:Calc.Divide' />
      <output message='wsdlns:Calc.DivideResponse' />
    </operation>
    <operation name='Subtract' parameterOrder='A B'>
      <input message='wsdlns:Calc.Subtract' />
      <output message='wsdlns:Calc.SubtractResponse' />
    </operation>
    <operation name='Add' parameterOrder='A B'>
      <input message='wsdlns:Calc.Add' />
      <output message='wsdlns:Calc.AddResponse' />
    </operation>
  </portType>
  <binding name='CalcSoapBinding' type='wsdlns:CalcSoapPort' >
    <stk:binding preferredEncoding='UTF-8'/>
    <soap:binding style='rpc' transport='https://schemas.xmlsoap.org/soap/http' />
    <operation name='Multiply' >
      <soap:operation soapAction='http://tempuri.org/action/Calc.Multiply' />
      <input>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </input>
      <output>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </output>
    </operation>
    <operation name='Divide' >
      <soap:operation soapAction='http://tempuri.org/action/Calc.Divide' />
      <input>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </input>
      <output>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </output>
    </operation>
    <operation name='Subtract' >
      <soap:operation soapAction='http://tempuri.org/action/Calc.Subtract' />
      <input>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </input>
      <output>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </output>
    </operation>
    <operation name='Add' >
      <soap:operation soapAction='http://tempuri.org/action/Calc.Add' />
      <input>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </input>
      <output>
        <soap:body use='encoded' namespace='http://tempuri.org/message/'
         encodingStyle='https://schemas.xmlsoap.org/soap/encoding/' />
      </output>
    </operation>
  </binding>
  <service name='Calc' >
    <port name='CalcSoapPort' binding='wsdlns:CalcSoapBinding' >
      <soap:address location='http://MSSoapSampleServer/MSSoapSamples/Calc/Service/Rpc/IsapiCpp/Calc.wsdl' />
    </port>
  </service>
</definitions>

See Also

About the Calc.wsdl File

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.