Develop > Controller layer > Integrate with back-end systems and external applications > Inbound services


XML over HTTP

WebSphere Commerce can receive inbound XML messages over HTTP using the Program Adapter.

The following steps illustrate the overall flow of an XML over HTTP request:

  1. An external system sends an XML message to WebSphere Commerce over HTTP via a POST request. For example, http://host/webapp/wcs/stores/servlet/.

  2. The request is mapped to the Program Adapter.

  3. The Program Adapter passes the XML request to the appropriate message mapper.

  4. The message mapper converts the XML request into a CommandProperty object and passes it back to the Program Adapter.

  5. The Program Adapter prepares the command for execution and passes it to the WebController for execution.

  6. The Program Adapter generates the proper XML response and returns the XML response to the external system that made the request.

When the Program Adapter receives the XML request, it must verify the credentials of the external system that sent the request. Not all XML requests can be processed. Even if the XML request can be mapped to a WebSphere Commerce command, there must be some verification to ensure that the request should be processed.


Related concepts

Program adapter

Message mappers


+

Search Tips   |   Advanced Search