cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practices for SOAP scenarios (synchronous)

Former Member
0 Kudos

Hi Forum,

I have some critical scenarios in XI,

the scenarios are expected to receive messages via a web service call, i mean, i m going to expose the scenarios as web services,

the client (third party) will send SOAP messge to the XI scenarios, these are mostly synchronous calls,

for the above, i have used the SOAP sender channel,....

the scenarios are working, but i need to use them in production system, and need to evaluate the reliability of these type of scenarios,

Can u please provide me best practices/guidelines to-be-followed, for creating such SOAP scenarios,

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

the scenarios are working, but i need to use them in production system

If the scenarios are working then there should nt be any more problem for u. The only thing that needs to be done is to see if it gives u proper result or not. For that first, u have to perform testing urself. Once tested, the developement should be transferred to quality server (if present) and Business Users must be involved for the User Acceptance testing. After that u may move it to the production environment

Regards,

Prateek

Former Member
0 Kudos

Prateek, the question in my mind is- is it a better option to go for SOAP scenarios rather than file adapters, IDOC, etc for receiving message from the source system?

the difficulty is----if asked to draw a comparison between the various ways in which XI can receive message, how would i go about it,

which one do u think is prefferable in a time and data critical situation,

And also, do u thing a Synchronous scenario is OK, or should i break it into asynchronous ones, which one is reliable?

Former Member
0 Kudos

Hi Sudeep,

If the data is not much weighted and it is performance is a major criteria( you are measuring in milliseconds), don't go for SOAP Protocol. They as comparatively slower than RFC/IDOC.

IDOC is works with tRFC or qRFC which is a guaranteed delivery protocol.

In Web Services, WS-RM is a guaranteed delivery protocol which is included in PI 7.1. It is not available with PI 3.0/7.0.

But if you are looking out for ease of communication and you are not considering the extra factors( like system failover etc), go with SOAP Protocol.

SOAP is mainly used to connect with legacy applications and is more popular because of widely adopted by all platforms.

Definitely, asynchronous mechanism is better, but you will not get any acknowledgment/error in case something goes wrong with SAOP Adapter communication but if you have configured as synchronous, you will get the response as well as error in the form of SOAP Fault if it happens.

Hope this helps.

regards,

Piyush

Former Member
0 Kudos

Hi

First of all few facts about Webservice:

1. Webservice is a remote application which is available in the Web.

2. XI communicates with Webservice by using SOAP adapter.

3. XI can send data to Webservice and can receive data from it.

How to use webservices in XI

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

A good start to creating web services:

/people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component

How To Use the XI 3.0 SOAP Adapter

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

Exposing BAPI as Web Services through SAP XI

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

Refer this blog and use the SOAP adapter and the WS instead of the RFC part.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit -

RFC -> XI -> WebService - A Complete Walkthrough (Part 1)

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

RFC -> XI -> WebService - A Complete Walkthrough (Part 2)

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

Testing XI exposed Web-Services

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Configuring the Sender RFC Adapter - step by step

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Alos see the below examples

http://help.sap.com/saphelp_nw04s/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm

How to Set Up a Web Service-Related Scenario with SAP XI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

Testing XI exposed Web-Services

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Using RFC as WebService in WebDynpro

/people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro

Consuming XI Web Services using Web Dynpro – Part I

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

Consuming XI Web Services using Web Dynpro – Part II

/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii

Might help you..

Thanks,

vasanth.