Bookshelf Home | Contents | Index | Search | PDF |
Transports and Interfaces: Siebel eBusiness Application Integration Volume III > Integrating with J2EE Application Server >
Setting Up Outbound Integrations
To communicate with an external application from Siebel applications and receive messages back, you implement a procedure that uses both an existing transport and Siebel JavaBeans within a workflow.
To send and receive data to and from an external application
- Start the Siebel client and create a new workflow process.
- Edit the workflow so that the Siebel application initiates a request to a J2EE application server by sending out an XML message.
- Select the transport adapter to use, either HTTP or MQSeries Server Transport (depending upon the target transport protocol)
- Select the Synchronous or Asynchronous method:
- Use the SendReceive method to require a response in XML format to your request from the external application.
- Use the Send method to send a simple request that requires no feedback from the external application.
The J2EE application server receives messages by extending a Siebel Servlet or Server, depending on the transport mechanism (HTTP or MQSeries). The Siebel Servlet or Server provides all the necessary code required to receive and pre-process a request. A processRequest method (that need to be implemented) is invoked to allow the service provider to process the request.
The processRequest method takes a single Input XML string and returns an Output XML string. The process method can only throw a process exception upon exception. The processRequest method is defined as:
public String processRequest(Object request, String inputXML) throws ProcessException
Bookshelf Home | Contents | Index | Search | PDF |
Transports and Interfaces: Siebel eBusiness Application Integration Volume III Published: 23 June 2003 |