Standards for Technology in Automotive Retail

 Home -  News Feed 

Chapter 1. ebMS Messaging

Table of Contents

1.1. ebMS Messaging
1.1.1. ebMS Message Packaging
1.1.2. Message Packaging
1.1.3. Payload Containers
1.1.4. STAR ebMS Guidelines Message Elements
1.1.5. ebMS MessageHeader Elements

1.1. ebMS Messaging

1.1.1. ebMS Message Packaging

An ebMS Message is a MIME/Multipart message envelope referred to as a Message Package. The Message Package is structured in compliance with [SOAP] version 1.1 and SOAP Messages with Attachments [SwA] specifications.

There are two or more logical MIME parts within a Message Package:

  1. The Header Container contains one SOAP version 1.1 compliant message that holds the ebMS Header elements. The large majority of ebMS Headers are placed in the SOAP Header, if any Manifest or SOAP Fault elements occur they are placed in the SOAP Body.

  2. Payload Containers, which contain application level payloads. For the STAR XML Infrastructure project, these will consist mostly of STAR BODs.

1.1.2. Message Packaging

Figure 1.1. ebMS Message Package

ebMS Message Package

Highlights of this packaging format:

  • Based on a widely accepted industry de-facto standard SOAP v1.1

  • Transport Metadata such as To/From Parties and MessageIDs can be placed in the SOAP Header

  • Messages can be simple SOAP messages or more complex messages with multiple payloads

1.1.3. Payload Containers

ebMS version 2.0 and the STAR Transport require that if any payloads are present they MUST be contained in a Payload Container and MUST be referenced by a Header Manifest element entry. Payloads may be composed of any type of data including and not limited to word processor files, graphics, sound, EDI, XML or any data that can be digitized. In the context of the STAR XML Infrastructure project, the payloads will primarily be STAR BODs.

1.1.4. STAR ebMS Guidelines Message Elements

The ebMS Element Summary table (shown below) identifies the critical ebMS message elements for STAR ebMS Guideline. These elements were identified for the original STAR Message Infrastructure Guidelines and have been updated to account for changes between ebMS version 1.0 and ebMS version 2.0.

Element / Attribute Name

Required     Required if  Present     (Optional)    [attribute]     default



























Logical identifier


DUNS, string


Agreed to by both parties, if CPA is used, value must match CPA




Logical identifier


DUNS, string


Agreed to by both parties, if CPA is used, value must match CPA


If no CPA exists,



Timestamp + unique host identifier

Service [type]

For BOD Payloads:   STARBOD


For BOD Payloads:  



For BOD Payloads:

   STAR BOD Verb




Service Name concatenated with a period (.) followed by the GUID, followed by an at sign (@) followed by the company name in domain name format. Must conform to [RFC2392]


UTC with no offsets. Represents the time the message was created.

RefToMessageID (Required for Error or Acknowledgement or Pong)

MessageId from earlier message










false or true



[SOAP:actor=”urn:oasis:names:tc:ebxml- msg:actor:ToPartytMSH”]






[SOAP:actor=”urn:oasis:names:tc:ebxml- msg:actor:nextMSH”]

If present, must match this value






UTC with no offsets, represents the time the Acknowledgment was created


MessageID of message being acknowledged

ErrorList Element




[highestSeverity=(Error  I Warning)]









(default=” ”)


errorCode=(ValueNotRecognized  I NotSupported  I Inconsistent  I OtherXml  I


      DeliveryFailure  I TimeToLiveExpired  I SecurityFailure  I MimeProblem I  

     Unknown )


severity=(Warning I Error)


location (Xpointer I CID)







Must confirm to the [XMLDSIG] specification.


Every direct child of SOAP-ENV:Body has an automatic attribute of SOAP-ENV:mustUnderstand=”1”. (see SOAP 1.1 sect 4.3.1)


Required if one or more payloads (i.e. ebXML wrapped BOD) are present








URI of the payload object referenced.






















MessageId from earlier message






MessageId of the original message  being reported on


The Timestamp of the original message being reported on

[messageStatus= (UnAuthorized | NotRecognized | Received | Processed | Forwarded]

MessageId of the original message  being reported on



1.1.5. ebMS MessageHeader Elements From/To PartyId Elements

Within the ebMS MessageHeader, the REQUIRED From and To elements include a PartyId element which identifies the sending or receiving party for the message. The PartyId element value is defined by the PartyId type attribute. Commonly used types are the Uniform Resource Identifier (URI) and the Uniform Resource Name (URN), however a generic string type is also allowed providing that it is understood by both parties. STAR recommends the use of the following PartyId types:

  • For OEMs and large institutions: The urn:duns type if a DUNS number is available

  • For Automotive Dealers: A string type containing the short manufacturer code followed by the dealer number

  • For Non-Automotive Dealers:  A string type containing unique identification information.


Example of a Volkswagen OEM:

<eb:PartyId type=”urn:duns”>006972475</eb:PartyId>


Example of a Volkswagen Automotive Dealer:

<eb:PartyId type=”string”>VW400110</eb:PartyId> CPAId Element

The CPAId element is a REQUIRED ebXML element. It is a string that identifies the parameters governing the exchange of messages between the parties. The recipient of a message MUST be able to resolve the CPAId to an individual set of parameters, taking into account the sender of the message. This does NOT mean that a formal CPA conforming to the ebXML CPA specification must be in place for ebXML messaging to be used. If no formal CPA exists, the CPAId is simply the location of party specific information such as IP addresses and dealer Ids. This is a temporary format until party id formats can be established in a future versions of this publication.

For STAR, the CPAId element shall have the following format:


The CPAId may also optionally contain a version number:




<eb:CPAId>VW400110-006942475-cpa-1.0</eb:CPAId> ConversationId Element

The REQUIRED ConversationId element is a string identifying the set of related messages that make up a conversation between two Parties. It MUST be unique within the From and To party pair. The Party initiating a conversation determines the value of the ConversationId element that SHALL be reflected in all messages pertaining to that conversation. The value for ConversationId in the STAR XML Infrastructure environment SHOULD be datestamp + timestamp + a unique host identifier; UTC format is used for datestamp. For example, if two salespeople at the same dealership submit an inquiry at the same time (obviously from separate terminals), then the algorithm to generate the ConversationId should be such that this situation would generate two separate ConversationIds.

The ConversationId enables the recipient of a message to identify the instance of an application or process that generated or handled earlier messages within a conversation. It remains constant for all messages within a conversation. Service and Action Elements

The REQUIRED Service and Action elements identify the service that acts on the message.

For STAR XML Infrastructure, the value of the type attribute of the Service element for messages that contain a STAR BOD payload MUST be “STARBOD” and the value of the Service element MUST be the STAR BOD Noun. The value of the Action element MUST be the STAR BOD Verb.

Exceptions to this include ebMS standalone error messages and asynchronous acknowledgments, whose Service Action values are defined by ebMS version 2.0.

An example of the Service and Action elements for an STAR BOD payload follows:

<eb:Service eb:type=”STARBOD”>PartsOrder</eb:Service>

<eb:Action>Process</eb:Action> MessageData Element

The REQUIRED MessageData element provides a means of uniquely identifying an ebMS message.

MessageId element

Message IDs MUST be Globally unique and conformant to ebMS specifications which require that the value is conformant to RFC2392.

STAR requires three (3) data elements within the Message ID:

  1. Company Name, in domain name format, for example

  2. Service Identifier, the name of the service being invoked

  3. A Globally Unique Identifier (GUID), as specified in RFC2822 section 3.6.4

The Service Name should be concatenated with a period (.) followed by the GUID, followed by an at sign (@) followed by the company name in domain name format.



Timestamp element

The REQUIRED Timestamp is a value representing the creation time of the message header and MUST be in UTC format (Universal Time Code as defined by ISO 8601). Digital Signature

A STAR ebMS Message can be digitally signed to provide security countermeasures. Application of Digital Signature is a Recommendation, in other words, conformant implementations should be capable of processing messages with Digital Signature, but individual implementations may choose not to use Digital Signature features. Manifest Element

The Manifest is a composite element that summarizes message payloads. A Manifest element MUST be present if one or more Payloads exist, and all Payloads MUST be referenced in the Manifest. The purpose of the Manifest is:

  • To make it easier to directly extract a particular payload

  • To allow an application to determine whether it can process a payload without having to parse it


The structure and content of the Manifest element MUST conform to the ebMS version 2.0 specifications. Acknowledgment Element

The Acknowledgment element is used by the To Party that received a message, to let the From Party that sent the message know the message was received. The RefToMessageId in a message containing an Acknowledgment element identifies the message for which the receipt is being generated. The RefToMessageId is the MessageId of the original message.