cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO 7.4: SOAP to REST-XML Synchronous Scenario (WSDL URL/Short URL from SOAPUI not working)

arkesh_sharma
Active Participant
0 Kudos

Hi Experts,

I have a pass-through synchronous scenario from SOAP to REST-XML and when I generate WSDL from ICO and use the short URL from it that says "WSDL URL" and paste it into SOAPUI then I get the error of "HTTP 405 Method not allowed. Error: HTTP method POST is not supported by this URL".

If I use the long HTTP url from WSDL then from SOAPUI everything works fine. Please let me know what am I doing wrong here?


Regards,
Arkesh

Accepted Solutions (0)

Answers (5)

Answers (5)

manoj_khavatkopp
Active Contributor
0 Kudos

For short URL try this :

http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<Sender_party>:<Sender_Serv>:<Sender_comm_...;

The URL which you are using is dynamic its gets changed . Check the sender soap channel config as well.

arkesh_sharma
Active Participant
0 Kudos

Hi Manoj,

Thank you for sharing the short URL format. It works fine in SOAPUI.

But in BODS system, who is the actual sender to our SAP PO system, does not accept this format of the URL. It takes only the WSDL URL of the format :

http://<host>:<port>/dir/wsdl?p=ic/<ICO Object ID>

I tried sharing the long URL but that URL is too long for the BODS system and it gets trimmed automatically towards the end of the URL. So, its of no use to them.

Regards,
Arkesh

manoj_khavatkopp
Active Contributor
0 Kudos

Ideally the SOAP adapter needs query parameters which makes it hit adapter engine, the short URL which I provided or the one you took the long URL from WSDL has query parameters which push the message to adapter engine .

The URL which you are trying to use does not have nay such query parameters , so i am not sure if that really works for you.

manoj_khavatkopp
Active Contributor
0 Kudos

Arkesh ,

It should work with both the URL , URL from the WSDL or the short URL.

Can you paste the URL format you are using and make sure your are usig HTTP as protocol in sender cc.

Thanks,

Manoj

arkesh_sharma
Active Participant
0 Kudos

Hi Manoj,

In SOAPUI, I am using the short endpoint URL of the format:

http://<host>:<port>/dir/wsdl?p=ic/<ICO Object ID>

And the long URL is of the format:

http:// <host> : <port> /XISOAPAdapter/MessageServlet?senderParty=&senderService=<Sender_BS>&receiverParty=&receiverService=∬erface=<Sender_Interface>InterfaceNamespace=<Sender_Namespace>


Regards,
Arkesh

arrezende
Active Participant
0 Kudos

Do you have the WSDL url and and endpoint used in this test?

arkesh_sharma
Active Participant
0 Kudos

Hello Alexandre,


In SOAPUI, I am using the short endpoint URL of the format:

http://<host>:<port>/dir/wsdl?p=ic/<ICO Object ID>
(I have copied it when I generated the WSDL from the ICO and this appeared on the top as 'WSDL URL')

And the long endpoint URL is of the format:

http:// <host> : <port >/XISOAPAdapter/MessageServlet?senderParty=&senderService= &receiverParty=&receiverService=∬erface= InterfaceNamespace=<Interface_Namespace>

former_member607993
Contributor
0 Kudos

Hello Arkesh,

You can trigger a call to the sender SOAP adapter using below URL and specify the parameters in the URL even if some of them do not have values.

http:// <host name> : <port name> /XISOAPAdapter/MessageServlet?senderParty= <name of the sender party> &senderService= <name of the sender service> ∫erface= <name of the interface>&receiverParty= <name of the receiver party> &receiverService= <name of the receiver service>∫erfaceNamespace= <name of the interface namespace>

former_member607993
Contributor
0 Kudos

Hello Arkesh,

If this is resolved, please select the correct answer and close the thread.

Muniyappan
Active Contributor
0 Kudos

are you using wsdl url to call the service from soap ui? wsdl url shlould be used to load wsdl file into soap ui. in order to call service, you have to use the long url.

please check possible end points to call soap service in this.

https://help.sap.com/viewer/5cf7d2de571a45cc81f91261668b7361/7.5.9/en-US/483555240bea31c3e10000000a4...