14 Implementing WebSphere BI Express for Item Synchronization
GTIN Query
Retrieves the 35 elements defining the GTIN from the GLOBALregistry
Other Queries
Organizations
1.7 UCCnet message structure
Now we move on to the structure of the UCCnet messages. All UCCnet
messages are XML (either schema or DTD). For our solution in this redbook, we
have chosen to use schema (XSD)-based messages.
There are three layers in an XML document, as follows:
Transport:
How does the message get from A to B?
Command:
What function needs to be performed when the message arrives?
Document/Data:
What information does the command act upon?
1.7.1 Envelope: transport layer
messageHeader (See Example 1-1.)
elements to, from, messageIdentifier, userId, password, representingParty
Example 1-1 messageHeader
<?xml version="1.0" encoding="UTF-8" ?>
- <uccnet:envelope communicationVersion="2.2"
xmlns:uccnet="http://www.uccnet.org/schemas/2.2/uccnet"
xmlns:eanucc="http://www.uc-council.org/smp/schemas/1.3/eanucc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.uccnet.org/schemas/2.2/uccnet
../../schema/uccnet/2.2/Envelope.xsd">
- <messageHeader>
- <messageIdentifier>
<value>RCIR-MSGID-001</value>
</messageIdentifier>
<userId>RCIRUSER001</userId>
- <representingParty>
<gln>0101010101010</gln>