cancel
Showing results for 
Search instead for 
Did you mean: 

web service scenario main payload MainAttachment ( application/zip )

Former Member
0 Kudos

Hi all,

I'm making a scenario that web service to web service.Taking zip file and send to erp(same zip file).

scenario a url download zip file and send to erp side.But ı didt send successfully.when I save response in soap zip file is corrupt error .How can handle ?I use PI 7.3 dual.

soap response

sender channel

receiver channel like.



Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

In SXMB_MONI did you try to download the response and then open the same using a zip application? Does it open successfully?

Former Member
0 Kudos

Yes,sxmb_moni says dou you want to download ,when I save zip format I can access successfully attached zip.

bhavesh_kantilal
Active Contributor
0 Kudos

Perfect, in that case, what it means is that your PI is return the zipped content to SOAP UI.

  • If you open a .zip file using a notepad, you will see the same content as you see in SOAP UI  in the response.
  • You can take this content, save it in a notepad as a .zip and you should be able to open the same as a Zip file.

What is the final output you expect? Do you want the .zip to be shown as a attachment in SOAP UI?

In that case, what should your SOAP Body contain?

Former Member
0 Kudos
  • When I save SOAP UI response ,give zip file corrupt error.

This is not attachment in SOAP UI.You can access a url and download a zip file.