cancel
Showing results for 
Search instead for 
Did you mean: 

Webservices in XI.

Former Member
0 Kudos

Can u help me with a webservices scenario in XI.

I want the details steps.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Webservices in XI scenario can be done in either in sender or receiver side.

Check this link http://www.saptechnical.com/Tutorials/XI/RFC2WebService/Page1.htm

Answers (2)

Answers (2)

former_member181985
Active Contributor
0 Kudos

Hi,

Since XI is a middleware it is predeliverd with Webservice infrastructure.

As interfaces are high level foundation for communicating with applications, using XI webservice infrastructure you can expose these interfaces as Webservices to the outside world.

Use any SOAP tool for communicating with these webservices.

Thanks

Gujjeti.

Former Member
0 Kudos

Hey,

These are the steps.

Deployement of Web Services:-

open your NDS

Step 1)

Goto Windows->Open Perspective->J2EE development.

Step 2)

Goto File->new->Ejb module(give project name).

Step 3)

Right Click on the <project name> eg. work_ejb select new->Ejb.

Step 4)

Give an appropriate EJB name and default package (eg. com.xxx.yyy).

Also select stateless Ejb.

Click next then next and then next.

Step 5)

Add method with an appropriate name.

Mention the return type and also assign the required parameters.

Logic is written in the EJB module bean.

Step 6)

Right click on the <project name> and build.

Creates .jar

Step 7)

Goto File->new->Enterprise Application project(to create EAR)

Step 😎

Give project name, assign EJB and build.

Creates EAR.

Step 9)

Right Click on the EJB.

Goto new->Web services.

Specify name of the web service.

Specify EAR in the WEB service.

Step 10)

Build EAR.

Build Ejb.

Step 11)

Goto Windows->Prefrences->SAP j2EE engine.

Give the message server host name.

Step 12)

Right Click on EAR and deploy.

Step 13)

Goto-> http://<host name>:<port no.>/index.

Step 14)

Choose the web service name,test it and download it(default WSDL).

Step 15)

Import port(WSDL) in External definition of SAP PI.

you can also refer to these blogs.

sap to webservice

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies

Web Service to RFC scenario

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78d...

Walkthrough - SOAP <-> XI <-> RFC/BAPI

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

reward points if useful.

regards,

Milan