cancel
Showing results for 
Search instead for 
Did you mean: 

Testing SOAP to Proxy using SOAPUI

ashish_goel4
Active Participant
0 Kudos

Hello Experts,

I am testing soap to proxy scenario with attachments , but getting the error in soapui. Message is not going to SAP PI at all. Without attachment I am able to send message successfullly.


Pls help. 


Attached screenshot of SOAPUI.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Did you use the http or https endpoint? If no https is available you need to use http endpoint.

Furthermore something seems to be wrong with your MIME type. Did you import the WSDL from PI to SOAP UI or how did you connect to the SOAP service on PI?

Best Regards

Harald

ashish_goel4
Active Participant
0 Kudos

Hi Harald,

I have used http.

Yes, I imported wsdl from PI and use the same in SOAPUI.

I also feel something wrong with MIME type but no idea about how to resolve that.

Regards,

Ashish

Former Member
0 Kudos

These are the settings I use in SOAP UI. Username and Password is needed from PI as well. Also check if encoding is UTF-8

Did you test with an empty request as well? Or did you test with your own request message?

abhradeepbasu
Participant
0 Kudos


Hi Ashish,

Pls check Harald's comments and don't foret to put authentication type as preemitive.

/A.B

Former Member
0 Kudos

Hi Ashish,

While generating wsdl from ID ,instead of clicking on propose url give the below url so that request comes to adapter first rather than hitting the integration engine directly.

In sender SOAP channel check Keep Attachments option.

  • http:// <host name> : <port name> /XISOAPAdapter/MessageServlet?channel= <party name> : <service name> : <channel name> . If you have not created a party, enter channel=: <service name> : <channel name>

Configuring the Sender SOAP Adapter - Advanced Adapter Engine - SAP Library

Regards

Venkat

Answers (2)

Answers (2)

ashish_goel4
Active Participant
0 Kudos

Thanks Everyone it got resolved.

I was using IE URL instead of AE URL.

Regards,

Ashish

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Ashish,

Based on the screenshot, it looks like you are using dual stack PI 7.31 and have used the Propose URL option when generating the WSDL. If yes, then please use the  URL http(s)://host:port/XISOAPAdapter/MessageServlet?channel=p:s:c where p = party, s = service and c = channel .Using the propose URL will send the message to the integration engine but it will reject attachments, so you need to send it to the adapter engine. Also make sure that in your SOAP sender CC, the Keep Attachments option is checked.

Hope this helps,

Mark