Skip to Content

soap sender message query

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 21, 2012 at 01:46 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 21, 2012 at 02:06 AM

    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....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.