cancel
Showing results for 
Search instead for 
Did you mean: 

Webservices

Former Member
0 Kudos

Hi Experts,

I have scenario like this :

Third party system -


> XI -


> RFC

RFC Resp -


> XI -


> Third party system

This 3d party system wants XI to expose webservice.

Can you please provide me the step by step document that how XI can do that?

Right now for Proof of concept i can use Altova XML spy in place of Third party system

<removed by moderator>

Thanks,

Akhil

Edited by: Mike Pokraka on Jul 25, 2008 8:52 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Akhil

Step-by-Step documents for invoking web Service using XI

Web Service(SOAP) to RFC Scenario

Link:[http://www.saptechnical.com/Tutorials/XI/WebService2RFC/page1.htm]

Scenario on HTTP Client to RFC

Link:[http://www.saptechnical.com/Tutorials/XI/HTTP/RFC.htm ]

Scenario on RFC to SOAP

Link:[http://www.saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm ]

hope this Documents helps you

Regards

Viswanadh Vadde

Former Member
0 Kudos

Hey Viswanadh,

Thanks for your reply.

It really helped, but now the problem i am still facing is when i am trying to send message from Altova XML Spy, at that time it is giving me below error, so i am not able to find that whatever settings i have done are correct or not.

Error :

  • HTTP Error : couldnot POST the file : ‘/XISOAPAdapter/MessageServlet?Channel=:XMLSPY_WEBSERVICE:XMLSPY_SOAP_SENDER&Version=3.0&Sender.Service=XMLSPY_WEBSERVICE&Interface=http%3A%2F%2Fwww.prosoftgroup.com%2Fws2rdc%5ERequest_MI’ on Server ‘xid02' (0).*

I tried to test the url generated in WSDL file :

"http://sapxid02.reinternal.com:50000/XISOAPAdapter/MessageServlet?channel=:XMLSPY_WEBSERVICE:XMLSPY_SOAP_SENDER&amp;version=3.0&amp;Sender.Service=XMLSPY_WEBSERVICE&amp;Interface=http%3A%2F%2Freliant.com%2Fxi%2FPOC%5Eos_POC_XMLSPY"

It is asking me for the security alert, and "Do you want to proceed?" if i am clickin on Yes button then it is asking me for usreid and password, but if i am clicking on No button then it is showing me "Page can not be displayed".

Is it some kind of security problem?

Can you please help me out in this?

Thanks,

Akhil

Edited by: Akhil Sharma on May 1, 2008 8:15 PM

Former Member
0 Kudos

Hello gurus,

When i tried the url generated into wsdl in internet explorer, it is asking me for the security certificate.

And when i am pressing "Yes" button, then it is changing the port into the url from normal j2ee port to secured port number.

Is this a problem that i am not get through into XI?

Please help me out. I am stuck into this very badly :(.

Thanks,

Akhil

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi akhil.....i have got the same error RCVR_DETERMINATION.MESSAGE_INCOMPLETE did u get the solution by any chance for this...what could be the problem....please help..its quite urgent.....

Former Member
0 Kudos

Hi Akhil,

I have also tried with this scenario but instead of the RFC calling. I did in file format.

1> This article explains how to create a brokered web service in SAP XI 3.0.

http://www.riyaz.net/blog/index.php/2007/12/10/xipi-consuming-xi-web-services-using-web-dynpro-part-...

2>How to consume this web service in a Web Dynpro Application.

http://www.riyaz.net/blog/index.php/2007/12/11/xipi-consuming-xi-web-services-using-web-dynpro-part-...

Just go through the provided link. It gives me the step by step process for my scenario.

If this link is not openeing then i will post the steps provided in that. It will solve your problem.

Regards,

Nutan

Former Member
0 Kudos

Thanks Nutan.

But as you have said, the link is not opening

can you provide me the steps please?

I am little bit confused in the receiver soap adapter. What target url i need to give into the Target URL of Receiver SOAP Adapter.

Even while creating the webservice from XI i have taken this url

where XMLSPY_WEBSERVICE is sender service name and XMLSPY_SOAP_SENDER is sender SOAP adapter name.

then it is giving me following error : * HTTP Error : couldnot POST the file : ‘/XISOAPAdapter/MessageServlet?Channel=:XMLSPY_WEBSERVICE:XMLSPY_SOAP_SENDER&Version=3.0&Sender.Service=XMLSPY_WEBSERVICE&Interface=http%3A%2F%2Fwww.prosoftgroup.com%2Fws2rdc%5ERequest_MI’ on Server ‘xid02' (0).*

and if i am taking XI proposed url then that webservice is giving me following error :

*<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>Message is incomplete. No Sender found</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>*

Please help me out in this.

Thanks,

Akhil

former_member192798
Active Contributor
0 Kudos

Hi Akhil,

Check this out:-

/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi

Regards.

Praveen

former_member192798
Active Contributor
0 Kudos

Hi Akhil,

Check this blog on invoking webService using XI:-

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

Also look at this HTTP to RFC (Synchronous) scenario :-

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

Hope this helps.

Regards.

Praveen

Shabarish_Nair
Active Contributor
0 Kudos

/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi -

that will let you know how you should approach the design.

Other methods to test SOAP is;

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ccd3e4e-0501-0010-95ae-afa58cb4...