Start of Content Area

Procedure documentation Adding ResponseOnewayBean in the Module Processor  Locate the document in its SAP Library structure

Use

You use the ResponseOnewayBean module to convert an inbound message to an asynchronous message. You use the module in an async/sync bridge for sender and receiver channels.

If the thread that enters the module is part of a suspended transaction, the transaction is resumed.

If you are using the module in a sender adapter, it calls a receiver.

If you are using the module in a receiver adapter, it calls the messaging system.

The inbound data in the module is application response messages.

Prerequisites

You have configured a communication channel and are on the Module tab page in change mode.

Procedure

Add the Module in the Processing Sequence

...

       1.      Enter the module name AF_Modules/ResponseOnewayBean.

       2.      Under Module Type, enter Local Enterprise Bean.

The Module Key is displayed.

       3.      Enter parameter names and values in the module configuration.

Your entries depend on whether you are using the module in a sender or receiver adapter.

Add Parameters in the Module Configuration for the Sender Adapter

...

       1.      To determine the receiver channel, enter receiverParty under Parameter Name. Under Parameter Value, specify the receiver party.

If you do not set this parameter, the information is taken from the message header of the message.

       2.      To determine the receiver channel, enter receiverServiceunder Parameter Name.

       3.      Under Parameter Value, enter the receiver communication component.

If you do not set this parameter, the information is taken from the message header of the message.

       4.      To determine the receiver channel, enter receiverChannelunder Parameter Name.

       5.      Under Parameter Value, specify the receiver channel.

If you do not set this parameter, the system searches for the collaboration agreement corresponding to the information from the message header of the message.

       6.      To determine the receiver channel, enter the parameter adapterType.

Under Parameter Value, enter the adapter type.

       7.      To determine the receiver channel, enter the parameter adapterNamespace.

Under Parameter Value, enter the adapter namespace.

       8.      To define the receiver channel to be used to send application error messages, enter receiverChannelOnFault under Parameter Name.

Under Parameter Value, enter the name of the receiver channel.

       9.      If the message is an application error message and you want it to be specified under a different interface name, enter replaceInterfaceOnFault under Parameter Name.

The interface name of the message is replaced with your entry for interfaceOnFault and interfaceNamespaceOnFault, or the name of the application error in the application error message if you enter true under Parameter Value.

If you enter false, the original interface name is used.

   10.      If you want to specify an interface name for an application error message, enter interfaceOnFault under Parameter Name.

Under Parameter Value, enter the name of the interface.

   11.      For parameter name interfaceOnFault, enter the parameter name interfaceNamespaceOnFault.

Under Parameter Value, enter the namespace of the interface.

Add Parameters in the Module Configuration for the Receiver Adapter

...

       1.      If the message is an application error message and you want it to be specified under a different interface name, enter replaceInterfaceOnFault under Parameter Name.

The interface name of the message is replaced with your entry for interfaceOnFault and interfaceNamespaceOnFault, or the name of the application error in the application error message if you enter true under Parameter Value.

If you enter false, the original interface name is used.

       2.      If you want to specify an interface name for an application error message, enter interfaceOnFault under Parameter Name.

Under Parameter Value, enter the name of the interface.

       3.      For parameter name interfaceOnFault, enter the parameter name interfaceNamespaceOnFault.

 

 

End of Content Area