cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP UI receiver attachment

itabhishek9
Participant
0 Kudos

Hi SDNites,

I have a scenario in which I have to send an attachment to webservice but I do not have access to the third party system. Can you please let me know if we can create a mock service in SOAP UI to do that. If yes, can you please share details. If not, what is the alternative way to do that.

Regards,

Abhi

Accepted Solutions (0)

Answers (4)

Answers (4)

itabhishek9
Participant
0 Kudos

Hi Manoj,

I have seen this blog earlier and carries good detailst but it does not cover details around attachment receiving in Asynchronous Mock service.

Regards,

Abhishek

manoj_khavatkopp
Active Contributor
0 Kudos

You just need to enable keep attachments in Receiver channel and in SOAP UI check Attachments tab under your sent Request tab.

Or Try TCP gateway , personally never tried this with Attachments.

Or Make a PI to PI interface then in receiver channel make URL to re-direct message to your PI system only(i.e second interafce)

Br,

Manoj

manoj_khavatkopp
Active Contributor
0 Kudos
itabhishek9
Participant
0 Kudos

Hi Supriya,

Thanks for the response.

I am fine with the sender side SOAP attachment. I wanted to understand how can I simulate attachment receiving at SOAP UI. I know how to build a mockup service. But form the attachment perspective at receiver side I am looking for your comments.

Abhi

Former Member
0 Kudos

Hi Abhishek,

Yes, you can do this using SOAP UI tool. You can design SOAP to SOAP scenario in PI, design a web service in SOAP UI. When you are sending data from SOAP UI to PI, that time select a required attachment (from you local system) and then send data to PI. In PI, please make sure to retain the attachment so that SOAP receiver channel will also transmit this attachment as it is to the web service.

Hope this helps!

Regards, Supriya.