user:    
password:  
 

The purchase order demo shows the use of the <x:act> advanced web service for the conversion of business documents.

Scenario:

The company buyer.com purchases personal computers from the supplier pc-seller.com. Therefore, buyer.com generates xCBL based purchase orders. However, pc-seller.com uses the OAGIS business vocabulary. The example shows how buyer.com can use the <x:act> advanced web service in order to convert a purchase order from xCBL into OAGIS (in our sample document, 5 Athlon 800 MHz CPU´s are ordered).

To simplify the understanding of the demo, we use 'light' versions of xCBL and OAGIS.


Click to view the OAGIS order. Click to view the stylesheet. Click to view the xCBL order

Click on the document symbols in the above image or use the following links to view the XML documents:
View the xCBL purchase order | View the stylesheet | View the OAGIS purchase order

Communication with the web service is done via SOAP messages. The SOAP messages contain processing information and the respective XML documents as attachment.

View the SOAP request | View the SOAP response

Try it out

  • Download the file xcbl_po_sample.xml to a local drive of your choice. To do so, right-click on this link and select "Save Target As...".
  • Open the Advanced PHP client.
  • Select the downloaded file as source document.
  • Edit the other form fields, if needed.
  • Click on the button "save" to perform the conversion and save the converted file to your harddrive.
  • Take a look at both the SOAP request and response, which were exchanged with the web service.