beautypg.com

Sun Microsystems 5.1.1 User Manual

Page 25

background image

Chapter 3

Section 3.3

Understanding the HTTPS eWay OTD

HTTPS Server OTD

HTTPS eWay Adapter User’s Guide

25

Sun Microsystems, Inc.

Figure 5 Input Server Response Node

Working with the Server OTD

Use the OTDs Request and Response nodes to build the logic in your HTTPS
Collaborations. The HTTP response is not sent back to the HTTP client until
sendResponse()

method is called on the HTTP server input OTD.

Figure 6 sendResponse() Method

It is critical that you use this method to send the response back to the client. Otherwise,
the client will wait indefinitely for the response. HTTP requires that a response be sent
to the client whether the response is a valid application response or an application error
response.