Receiving a message using the WSIF interface

Once you have created and deployed the WSIF interface for the SNA JCA LU62 Connector and the Connector has been installed on the WebSphere(R) Application Server machine, you can receive a message from the connector using the WSIF interface.

Messages can be Strings or in more complex forms depending on whether they have been defined in a WSDL file or not. The type of message that the WSIF interface handles affects the code that an application uses to receive the message.

To receive a simple String message, the application uses code like the following:

OutgoingSampleProxy aProxy = new Lu62TestClientProxy();
String outPutString = aProxy.IncomingOp("");

To receive a complex message, the application uses code like the following:

OutgoingSampleProxy aProxy = new Lu62TestClientProxy();
INPUTMSG in=new INPUTMSG();
OUTPUTMSG out = aProxy.IncomingOp(in);
Related tasks
Deploying the WSIF interface on WebSphere Application Server
Installing the SNA JCA LU62 Connector on WebSphere Application Server