Sharing Data Between Two Companies

At this point, it is helpful to implement, to a certain extent, our example of the collaboration between the Alpha and Beta Companies. The scope of this discussion is to create the XML document that will contain a simple transaction between the two companies. For this example, we will create a simple document that contains the information contained in Table 12.1. This table defines the data that will be transferred from one company to the other.

Table 12.1. Specification for Data to be Transferred
ObjectCategoryField
supplier  
name 
 <companyname>
address 
 <street>
 <city>
 <state>
 <zip>
product 
 <type>
 <price>
 <count>

Get Object-Oriented Thought Process, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.