on 08-21-2012 1:42 AM
Hello All, My scenario is SOAP to Proxy In soap sender the payload is being sent as a flat file data. How can i map this ? In moni I can see that soap sender message payload is something like : abc|123|20120102 .I am not sure how to capture this format into my structure. Please let me know how can / should i create target structure so that i can extract the values from the soap message. Thanks in advance. Regards, Hari
One possible approach is extract data using java mapping and map the values to the respective element in the target structure. First design target structure and accordingly map the corresponding values to target element. You can load the source structure in java mapping using xml parser and navigate to the required element that contains data and use stringtokenizer to split the individual values from the string and assign to the target structure. Please search SCN for the java mapping logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harsha,
As suggested by Baskar Gopalakrishnan, you can use a java map to handle the situation.
But i feel it is strange to send a pipe delimited values in a soap sender call, I feel it should be a XML message. I have not seen any scenario with this kind of data in soap sender. Perhaps, a file sender might better suited for your purpose. You should check with your sender system folks and see if format, adapter type can be changed....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.