on 01-06-2016 2:49 PM
Hi all,
I am using receiver soap axis adapter to consume the axis webservice. Webservice uses RPC style and the response includes multiref response.In monitoring i can see the payload like this:
main payload:
the rest of response content is in attachment :
document-4.xml :
How can i map the attachements file content and how can i merge all files to one file?
PS: we use PO 7.4
Thank you,
Nurhan
Hi Nurhan
There is no standard way to map the attachments and merge them. You will need to use a custom Java mapping to do so. The attachments can be accessed via InputAttachments interface.
You can search in SCN for sample coding on how to access input attachments. Here are just a few of such blogs.
I noticed that your attachments are XML files. Note that you cannot just merge XML files as is because the merged file would no longer be a well-formed XML file. You will need to think through how to extract the content from the four XML files to create the target XML file.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.