HomeDigital EditionSys-Con RadioSearch Web Services Cd
B2B Beginning WS Business Process Management Case Studies Content Management Distributing Computing e-Business Electronic Data Interchange Enterprise Industry Insight Integration Interviews Java & Web Services .NET Portal Product Reviews Scalability & Performance Security SOAP Source Code UDDI Wireless WS Standards WS Tips & Techniques WSDL WS Editorials XML

Business Transaction Protocol: Transactions for a New Age, by Mark Little
WSJ Vol 02 Issue 11 - pg.55

	


Listing 1

<?xml version="1.0" encoding="UTF-8" ?>
<SOAP:Envelope
  SOAP:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
  xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Body>
    <btp:begin transaction-type="atom"
      xmlns:btp="urn:oasis:names:tc:BTP:1.0:core" />
  </SOAP:Body>
</SOAP:Envelope>

Listing 2

<?xml version="1.0" encoding="UTF-8" ?>
<SOAP:Envelope
  SOAP:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
  xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Header>
    <btp:messages xmlns:btp="urn:oasis:names:tc:BTP:1.0:core">
      <btp:context>
        <btp:superior-address>
          <btp:binding-name>soap-http-1</btp:binding-name>
            <btp:binding-address>
              http://mybusiness.com/btpservice
            </btp:binding-address>
          </btp:superior-address>
          <btp:superior-identifier>
            12fa6de4ea3ec
          </btp:superior-identifier>
        <btp:superior-type>atom</btp:superior-type>
      </btp:context>
    </btp:messages>  
  </SOAP:Header>
  <SOAP:Body>
    <ns:myMethod xmlns:ns="http://tempuri.org/">
      <arg1 xsi:type="xsd:int">99</arg1>
      <arg2 xsi:type="xsd:int">101</arg2>
    </ns:myMethod>
  </SOAP:Body>
</SOAP:Envelope>