cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong SOAP port?

Former Member
0 Kudos

Hi everyone,

I'm trying to call a web service, which I've previously designed. As the location of the webservice I used the format:

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

I didn't know the port, so I left it out, hoping it would be ok. I used a configuration like this instead:

http://host/XISOAPAdapter/MessageServlet?channel=party:service:channel

When I now call the SOAP request with XML Spy using the generated WSDL, I get the following error message:

HTTP error: could not POST file

'location' on server 'host' (500)

So it's a 500 error I'm getting, and I wonder if this is because I haven't specified a port. If so, how can I find out, what port to use for a SOAP request? Is there a standard port?

Thank you,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

The port should be present. It should be in format 5xx00 where xx is the system number. U can check the same port in XI url on ur internet explorer.

Regards,

Prateek

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

thank you for your responses. The problem was not the port though. It was the fact, that the Web Service Wizzard of XI uses HTML Entities when specifying the location of the webservice. It encodes a

 "&" to an "&"

. Most SOAP Clients like XMLSpy (that I use) don't decode this url. Only logical, that we got error messages...

Edited by: Alexander Bachmann on Aug 14, 2008 9:14 PM

Edited by: Alexander Bachmann on Aug 14, 2008 9:16 PM

Former Member
0 Kudos

You didnot use & any where in the url.

So how is it decoding & .

Thanks

Kiran

Former Member
0 Kudos

Hi Kiran,

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

The Webservice Wizzard adds some parameters to this URL for Receiver Determination, like:


http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>&amp;version=3.0&amp;Sender.Service=<SenderService>&amp;Interface=<namespace>%5E<interface>

0 Kudos

You can as well take it from SOAMANAGER.

Cheers

Former Member
0 Kudos

Hi,

Login to PI. Use Tcode sxmb_ifr.

There you will find the host and port.

Need to use Integration server port number.

Regards,

Prakasu

Edited by: prakasu on Aug 13, 2008 9:08 AM

Former Member
0 Kudos

Hi,

You have to Use the XI'sServer Port which starts with 5xx00... where xx is the instance no

Check thsi for better clarity

http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm

Also Look at this Blog which deals with Direct posting to IS

REgards

Seshagiri

Edited by: N V Seshagiri on Aug 13, 2008 9:09 AM