on 01-05-2010 5:53 AM
Hi All,
We have a scenario where we receive a single file with 4 different interface data. Each record in a file will have few identifiers to identify to which interface this record belongs to. We read the file using Sender File Adapter and by using multi-mapping, we segregate the records for each interface.
Now by using the SOAP Receiver Adapter, we want to convert the XML output generated from muli-mapping per each interface to plain text and call the SOAP sender adapter in the Target URL of SOAP Receiver Adapter.
Is it possible to use the MessageTransformBean module in the SOAP Receiver Adapter to covert the XML data to plain text?
Is it possible to use the MessageTransformBean module in the SOAP Sender Adapter to covert the plain text to XML?
Thank you.
Regards
Tappa
Thank you. Your advise is helpful to design the interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tappa,
>>Is it possible to use the MessageTransformBean module in the SOAP Receiver Adapter to covert the XML data to plain text?
Yes we can use modules with receiver adapter
>>Is it possible to use the MessageTransformBean module in the SOAP Sender Adapter to covert the plain text to XML?
No SOAP Sender (with communication mode as SOAP) doesn;t support modules
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Thank you.
Can we use 2 MessageTransformBean Module in the Same SOAP Receiver Adapter one after the other?
1. First MessageTransformBean module to convert the XML data to Plain text.
2. Second MessageTransformBean module to convert the Plain text(output of the previous MessageTransformBean) to Required XML.
Thank you.
Regards
Tappa
Hi Suraj,
Thank you.
Basically this scenario is File to IDOC. Where we will receive a single file per day which contain 4 interface data. Each record in a file will have few identifiers to identify to which interface this record belongs to. We read the file using Sender File Adapter and by using multi-mapping, we segregate the records for each interface.
Input Structure:
1.MessageTypeName 1:1
Record 0:unbounded
Data 1:1
We will read all the records in the file using the above structure. In message mapping, we verify the condition for a particular interface and map it to target message type. My target output structure will also be same as input. Here we just segregate the records based on interface specific. Now by using SOAP receiver adapter , using the first MessageTransformBean module we convert muli-mapping output XML to Plain(as we got input records) and by using the second MessageTransformBean module convert the plain records to required structure based on interface specific.
We will use 4 SOAP Receiver Adapter each per interface specific and each Receiver SOAP Adadpter will call the Sender SOAP adapter in the target URL of SOAP receiver adapter.
Thank you.
Regards
Tappa
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.