cancel
Showing results for 
Search instead for 
Did you mean: 

Defining web service

Former Member
0 Kudos

Hi,

I am new to XI. i have defined a web service and assigned a

message interface to it.

i have also read the blog by Siva maranani.

when i submit the WSDL file to server through xml spy, it gives an error " HTTP error:could not POST file

/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>&amp;version=3.0&amp;Sender,Service=<service>&amp;Interface=....

Please help me in rectifing this.

Thanks and Regards

gaurav

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Just want to add one more point.

If your message not reaching XI, check the SOAP request, must be having the encoding type UTF (Unicode Transformation Formats) as UTF-16. Change it to UTF - 8.

The best way to test the XML(SOAP Request) is to open that in internet explorer. If that is working fine your reuqest will hit XI.

Cheers,

Ajay.

Former Member
0 Kudos

Hi,

Now i m not facing the problem tht a faced initially.

but when i send the request to server through xml spy, i get the following:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>System Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context/>

<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>

<text/>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

can anyone highlight where i am goin wrong!!!!

former_member187339
Active Contributor
0 Kudos

Check your configuration (Receiver determination).. Are you using any BPM?

Regards

Suraj

Former Member
0 Kudos

No, i am not using a BPM.

Do we need to create two Business systems.

1 for sender and 1 for receiver.

gaurav

former_member187339
Active Contributor
0 Kudos

Hi,

No its not necessary...

Can you tell what all you have created in the configuration part?

sr_suraj22@yahoo.com

Regards

Suraj

Message was edited by: S.R. Suraj

Former Member
0 Kudos

can u tell me ur email id , i'll email u document which gives step by step approach for implementing XI scenarios,

coz i dont have the link.

I have followed the similar steps as mentioned in it.

gaurav.

Former Member
0 Kudos

The problem is solved.

Thanks everyone for contributing.

regards

gaurav

Former Member
0 Kudos

Hi Gaurav

How did you solve your problem ???

Thanks

Go:khan

Former Member
0 Kudos

Hi Gokhan,

Did you find out how it is solved?

Thaks ahead,

Yoav

Former Member
0 Kudos

Hi Yoav

No I haven't found out how it is solved. Sorry.

I don't know where the error lies.

I have tried it with XML Spy and other tools, with HTTP==>SOAP but neither worked.

Go:khan

Former Member
0 Kudos

Hi anyone

Try to use the software "oxygen" instead of XML SPY.

Regards,

Go:khan

Former Member
0 Kudos

Hi

I encountered a similar problem. I checked the URL in browser seperately, It gives me a status OK. I am unable to post the file.

If I ask the system to propose the URL, I can go one step further and get the RCVR_DETERMINATION.MESSAGE_INCOMPLETE error.

My scenario is WebService <> XI <> SAP ECC(RFC)

Its a synchronous call. The SOAP Sender is coded BE.

Please help.

Srini Vaidyam

Former Member
0 Kudos

Hi Gaurav,

I can suggest you some other way to test a webservice:

To test you SOAP sender scenario, goto runtime workbench-> component monitoring-> adapter monitoring.

There you can your test message by providing party, Sevice, communication channel, URL to the message servelet and the payload.

One more option is use a SOAP request builder tool. Seach the internet and get an available tool for SOAP request builder. Then privide the WSDL file and the authorization details( uname and password). The tool creates a SOAP request for you. Enable the SOAP sender channel by activating it.

You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

Cheers,

Ajay

former_member185846
Active Participant
0 Kudos

Hi,

I think you've give the proper path. Please check the following link for more info

http://help.sap.com/saphelp_erp2004/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm

Rgds,

Jothivel.

Former Member
0 Kudos

Hi Gaurav,

please go thru the link below and see if u have followed the steps mentioned in it while defining the web service..if it still doesnt help you, pleease do give a little more detail about the scenario you are doing...

http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm

Regards,

abhy

PS: AWARD POINTS FOR HELPFUL ANSWERS.

former_member187339
Active Contributor
0 Kudos

Hi,

Check these:

1) Check the request message created, it should have MT.

Check these threads:

Regards

Suraj

Former Member
0 Kudos

Hi,

Below is the wsdl file after i open it in xml spy

<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>

<m:til_gw_mt_in xmlns:m="http://til_gw_test.com">

<name>String</name>

</m:til_gw_mt_in>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

it contains a message type "til_gw_mt_in" and namespace

"http://til_gw_test.com".

Thanks and Regards

gaurav