Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 Advanced Topics : SOAP Message with a TIBCO BusinessConnect-Specific Header

SOAP Message with a TIBCO BusinessConnect-Specific Header
This is a sample SOAP 1.1 XML message that has the TIBCO BusinessConnect specific header:

 
<?xml version='1.0' encoding='utf-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header>
<ep:endpoints xmlns:ep="http://user.org/header">
<ep:to>
<ep:address>
<name>Book Orders</name>
<street>1st Street</street>
<city>New York</city>
<zip>1111</zip>
</ep:address>
</ep:to>
<ep:from>
<ep:address>
<name>Book Lovers</name>
<street>1st Street</street>
<city>Los Angeles</city>
<zip>90210</zip>
</ep:address>
</ep:from>
</ep:endpoints>
    <prop:properties xmlns:prop="http://user.org/header">
      <identity>uuid:74b9f5d0-33fb-4a81-b02b-5b760641c1d6</identity>
      <sentAt>2000-05-14T03:00:00+08:00</sentAt>
      <expiresAt>2000-05-15T04:00:00+08:00</expiresAt>
      <topic>http://electrocommerce.org/purchase_order/</topic>
</prop:properties>
    <pi:PartyInfo xmlns:pi="http://www.tibco.com/namespaces/bc/2002/04/partyinfo.xsd">
      <from>
        <name>SOAPClient</name>
      </from>
      <to>
        <name>SOAPServer</name>
      </to>
      <operationID>POInterface/1.0/PONotify</operationID>
      <operationType>notify</operationType>
      <transactionID>ZrGSGRWSbWkd0UePKiQcfcJUbQo</transactionID>
    </pi:PartyInfo>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <cpo:CommonPO xmlns:cpo="http://po.org/body">
<cpo:POHeader xmlns:cpo="http://po.org/body" CreationDate="2000-06-23" Number="12345" Purpose="PO" Type="EZ" />
<cpo:BillTo />
<cpo:ShipTo ContactName="BonifazLuis" ContactNumber="12345" ContactType="CT" />
<cpo:Item>
<cpo:ItemHeader xmlns:cpo="http://po.org/body" ExtendedPrice="499.75" Price="99.95" Quantity="5" UnitOfMeasure="EA" />
<cpo:ItemDescription Description="Word Processing Application" Type="F" />
</cpo:Item>
<cpo:Total LineItemTotal="87" POTotal="544.15" QuantityTotal="34">12.34</cpo:Total>
    <cpo:Description>VGhpcyBpcyBhIHB1cmNoYXNlIG9yZGVyIGRlc2NyaXB0aW9uLg==</cpo:Description>
   </cpo:CommonPO>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved