Use the XML Poster to post a test XML document to Eclipse, before receiving live transactions from a customer or a vendor. Posting test XML sends a sample XML document to the application server and on to Eclipse to verify that it processes correctly. Posting test XML documents allows you to verify that the document flows through the system without encountering any errors, and also allows you to verify that the information you mapped in the transaction is correctly formatted within fields in Eclipse, such as price data or dates on an order.
Within the XML Poster, you can search the test request data and replace portions with real data. For example, your test XML document from a trading partner might contain artificial part numbers that will not correctly process through the system. Use the Find function to search for that element in the test XML document within the poster and replace the test data with real part numbers.
To post test XML transactions to Eclipse:
Copy data from a test XML document to the Windows clipboard.
Right-click a transaction in the Trading Partner Tree and select Edit Transaction Map to display the transaction map.
From the Options menu, select Post XML to display the XML Poster dialog box.
The Post To field, displays the path to your application server in the following format:
http://<Your Application Server Name>/ecom/EcommerceXML
In the XML Request field, paste the contents of the test XML document.
From the File menu, select Post XML to send the XML document through the system.
The results of the transaction processing display in the XML Response field. The results display a status that indicates the system received the document, if there is no sent document map defined for the transaction you are testing. If there is a sent document map defined, the XML Response field displays the response document it would send based on the map defined.
From the File menu, select Close to return to the mapping utility main window.
To search the XML request data:
In the XML Poster dialog box, select Options > Find to display the Input dialog box.
In the Search For field, enter the text you want to find.
Click OK to start the search.
To search for the next occurrence of the text, press F3 or select Find Next from the Options menu.
See Also: