Skip to Content
0

SOAP UI receiver attachment

Jan 06, 2017 at 01:28 PM

75

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Supriya Parab Jan 18, 2017 at 03:20 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Abhishek Gupta Jan 18, 2017 at 03:31 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Manoj K Jan 18, 2017 at 04:12 PM
0
Share
10 |10000 characters needed characters left characters exceeded
Abhishek Gupta Jan 18, 2017 at 04:16 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0