cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in testing webservice.

former_member207622
Contributor
0 Kudos

Hi Folks ,

I have a SOAP to RFC scenario. I created wsdl from my integration directory and trying to test it using Altova xml spy .. But I am getting error

http error : couldnot post file .

My soap request is like

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

<GetCustomerInformation Version="1.0">

<CustomerID>12</CustomerID>

<CustomerEmail></CustomerEmail>

</GetCustomerInformation>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

and my URl which i created is

http://ymq-msdevpi1:55000/XISOAPAdapter/MessageServlet?senderService=OLS&; interface=SI_Customerinfo_OB&receiverService=ECDCLNT230&interfaceNamespace=urn:sap-com:document:sap:rfc:functions

please help !!

thnx

Ninad

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

The URL which you are using is incorrect....the channel name is missing:

http://ymq-msdevpi1:55000/XISOAPAdapter/MessageServlet?senderService=OLS& interface=SI_Customerinfo_OB&receiverService=ECDCLNT230&interfaceNamespace=urn:sap-com:document:sap:rfc:functions

below is the required URL format

http://<hostname OR IP addr>:<portno>/XISOAPAdapter/MessageServlet?channel=:<SenderService>:<SenderSOAPCC>&version=3.0&Sender.Service=<senderService>&Interface=<senderNamespace>%5E<senderMI>

Regards,

Abhishek.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

did you put your credentials for XI in altova?

Regards,

Michal Krawczyk

former_member207622
Contributor
0 Kudos

Hi michael

could you plese specify what credentials are required ??

MichalKrawczyk
Active Contributor
0 Kudos

hi,

if you want to post to XI using SOAP adapter

you need to put XI user/pass in altova

Regards,

Michal Krawczyk

former_member207622
Contributor
0 Kudos

may I know where in Altova do we have the option of user name and password ???

Coz i searched for the same!

former_member200962
Active Contributor
0 Kudos

in the above given URL use &amp instead of &

former_member207622
Contributor
0 Kudos

abhishek ,altova gets hanged wen i use that url..

I also entered all the soap request parameters .. like host port

pls help

former_member200962
Active Contributor
0 Kudos
altova gets hanged wen i use that url..

strange....did you check the log of your sender CC?....because this is the URL format that i am using (and also suggesting)

former_member207622
Contributor
former_member200962
Active Contributor
0 Kudos

SAP note says the URL is valid for 7.1...what version are using.....even the below URL should work in your case:

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>

For more refernce:

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi