Reliable SOAP messaging is a framework whereby an application running on one WebLogic Server instance can reliably invoke a Web Service running on another WebLogic Server instance. Reliable is defined as the ability to guarantee message delivery between the two applications.
Reliable SOAP messaging occurs between two WebLogic Server instances. Both WebLogic Server instances must be configured, in particular with certain JMS resources, before an application on one server can reliably invoke a Web Service on the other server. The two WebLogic Server instances can exist within the same domain or different domains.
The following procedure describes the high-level main steps for configuring the source WebLogic Server instance (which hosts the application invoking the reliable Web Service) and the destination WebLogic Server instance (which hosts the reliable Web Service) for reliable SOAP messaging.
See Using Reliable SOAP Messaging for additional details about creating and invoking a reliable Web Service.
Caution: Be sure when you create the SAF agent that
you set the Agent Type field to Both
to
enable both sending and receiving agents.
Queue
, with the
following characteristics:
- Targetted to the JMS server, which itself has been targetted to the destination WebLogic Server instance.
- If your reliable Web Service uses the default Web Services
JMS queue, set the JNDI name to
weblogic.wsee.DefaultQueue
. If your Web Service
uses the @BufferQueue
JWS annotation to specify
a different JMS queue from the default, enter its JNDI name in
the JNDI name field.
Note: If you are using the reliable SOAP messaging feature in a cluster, you must still create a local queue rather than a distributed queue. In addition, you must explicitly target this queue to each server in the cluster.
Caution: Be sure when you create the SAF agent that
you set the Agent Type field to Both
to
enable both sending and receiving agents.
After you finish
Optionally associate a WS-Policy file that contains reliable SOAP messaging policy assertions with the Web Service. See Associate a WS-Policy file with a Web Service.