The following is an example scenario for a PSP parts order transaction:
1. To initiate a parts order
-
Order Entry - dealer enters the order into their dealership management system (DMS)
-
Message Creation - DMS transforms the parts order to a standard Parts Order XML message and wraps it in a SOAP envelope
-
Security - DMS secures the message by
-
Authentication - Populates the SOAP header with the user ID and password assigned to the dealer by the supplier
-
Privacy - Establish a HTTPS connection to the suppliers Web service, which is a private connection
-
Transport - DMS routes the message by
2. Upon receiving a Parts Order BOD
-
Security - Supplier system receives the message through the HTTPS connection and authenticates the dealer
-
Business Processing - Supplier processes the request and formulates a response message
-
Message Creation - Supplier translates the response to a PSP compliant XML response and wraps it in a SOAP envelope
-
Transport - Supplier transmits the response to the dealer using HTTPS and the DMS processes the response at the dealer
The following are the periodic tasks a DMS would perform to enable efficient communications with supplier Web services:
-
Communicate with the UDDI to determine the current supplier Web service end point URL and cache for future communications
-
If reaching a supplier endpoint fails, query the UDDI to retrieve an updated endpoint reference
-
Communicate with the supplier Web service to retrieve and cache the
-
Business Object Document (BOD), verbs, and versions supported
-
Currently supported supplier specification business rules XML file versions
-
New supplier specification business rules XML files
-
Communicate with the supplier Web service to
The following are the typical tasks performed to communicate a business transaction with a supplier Web service:
-
Validate the transaction to the supplier specific business rules. This would be most applicable to the ProcessPartsOrder BOD in the initial set of Business Object Documents (BODs) implemented
-
Translate the message into a STAR BOD
-
Package the BOD into a SOAP envelope expressing the Web method to be called and the proper message headers
-
Route the message to the supplier endpoint using HTTPS
-
If a synchronous request (ProcessMessage Web method), wait for the supplier response
-
The supplier Web service will
-
Authenticate the SOAP envelope
-
Receive the message(s)
-
Validate schema compliance and business rules
-
Translate to internal data structure requirements
-
Process the message(s) and formulate the response
-
Translate the response(s) to STAR Business Object Documents (BODs)
-
If a synchronous request, respond back to the client
-
If an asynchronous request, queue the response for later pickup by the DMS
-
If a synchronous request, the DMS will receive the pass/fail response
-
If successful, the response could be the positive response to the request. For example:
-
If not successful, the response would be a Confirm BOD explaining the error
-
If an asynchronous request, the DMS receives responses at a later time using the PullMessage Web method. This will retrieve ALL outstanding messages from the supplier. This could include messages originating from the supplier to the DMS.
-
Both the DMS and the supplier will address exceptions in data and/or transaction transmission, receipt, etc. to notify the appropriate participants of errors in the transaction.