cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Response with attachment

Former Member
0 Kudos

Hi all,

I have a scenario where PI is calling a webservice, the webservice has a response attachment having a CSV file. I want to know how to handle this attachment. I want to keep this attachment ina folder on our FTP to start another process, Can you please suggest?

Thanks

-Kulwant

Accepted Solutions (1)

Accepted Solutions (1)

henrique_pinto
Active Contributor
0 Kudos

If your scenario is sync/sync, I think it'll be hard to achieve it.

If it's async/sync with a bridge, it may be possible. Can you see the attachment as a payload in SXMB_MONI, in the response message?

Best,

Henrique.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks

henrique_pinto
Active Contributor
0 Kudos

Just to complement: if you're on PI 7.0, only chance would be to handle it on a custom adapter module. You'd need to read the attachment and save it directly to the file system (not so good solution).

On PI 7.1, you could handle it in the mapping level, using the new PI 7.1 Mapping API.

Best,

Henrique.