WS Profile through WS Routing
The OSS/J Order Management WS-Profile is based on the Web Service Notification (WSN) standard for event notifications. The common pattern to use the OSS/J Order Management – WS Profile is:
- Publish a NotificationConsumer port.
-
Subscribe for a desired topic to a NotificationProducer port (server side). The response contains data required for later reference to the subscription (subscriptionID).
-
Send requests to a JVTOrderManagementSession port (server side). Events are potentially published on the application specific topic.
- Unsubscribe to a SubscriptionManager port (server side) using the subscription reference that it was given initially.
On its side the server receives requests, fulfilling them and sending events on the application topic, events that are dispatched to the concerned NotificationConsumers. The format of the SOAP message payloads is exactly the same as the JMS Profile except that events are embedded into a Notify operation.
WSN Specific Schema
A simple XML schema is provided at the following location:
$SW_HOME/distrib/kabira/kpsa/xsd/ossj/FP-WebServiceNotification-v1-0.xsd
This schema defines a subscriptionID element that is used by the WS Routing component as a WS-Addressing Reference Parameter, which is a standardized element specified by the WS-Addressing specification.