cancel
Showing results for 
Search instead for 
Did you mean: 

WebService Creation

Former Member
0 Kudos

Hi All,

I am having a scenario in which a webservice(already created for a webmethods<-->dotnet scenario) has to be recreated in XI.

So please advice me on how to recreate the WebService in XI referring to the Webmethods webservice.

If you say that we can create it through ID-->Define WebService then what Message Interface details are to be filled in the steps.

Thanks,

Abhishek.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

You need to use Sender Outbound Message interface in ID-->Define WebService

Refer

Invoke Webservices using SAPXI

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

Testing XI exposed Web-Services

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

Thanks

swarup

Answers (8)

Answers (8)

former_member200962
Active Contributor
0 Kudos

Hi All,

Thanks for your inputs.

Former Member
0 Kudos

Hi abhishek salvi ,

Web service

A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network using open standards and which is supported by SAP NetWeaver. Web services cover services provision for integration within an enterprise as well as cross enterprises on top of any communication technology stack, whether asynchronous or synchronous, in any format.

Web Services in the NetWeaver framework play an important role in facilitating the integration of disparate applications from various departments or trading partners and thus increasing business productivity. This benefit allows small and medium businesses also to integrate their business applications with larger trading partners. The benefit derived from this seamless integration introduces security concerns when all the business logic is now being exposed through a standard interface that is a catalyst for security vulnerabilities. SAP Security Managers must use automated diagnostics tools to ensure that the security vulnerabilities are caught in pre-production and in post-production phase.

The following websites give detail step-by-step solution for creation of webservice:

Web Services Testing: SAP Netweaver Platform

http://www.crosschecknet.com/web_services_testing_SAP.php

How Web services play a key role on the SAP NetWeaver

http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687...

How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

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

Enhancing Your Web Services with SAP Exchange Infrastructure

http://www.sappro.com/downloads/SAPXI.pdf

Web Services, Part XI: Consuming Multiple Web Services

http://www.webreference.com/js/column106/

Vulneribility assesment of SAP Web Services

http://www.crosschecknet.com/resources/white_papers/sap_va.pdf

cheers!

gyanaraj

****Pls reward points if u find this helpful

Former Member
0 Kudos

In XI/PI you can expose your outbound or inbound interface as a Webservice. As you said you need to create same service as it is available in Web methods.

Then from XI point of perspective you have to create Webservice to * scenarios and the outbound iterface will be expose as a webservice in XI that can be consume by the consumer.

Thanks

Farooq

Former Member
0 Kudos

Hi,

Look through these blogs

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services(Xi exposed webservices)

/people/sriram.vasudevan3/blog/2005/03/18/points-to-ponder-over-while-considering-webservices-implementations-vis-a-vis-eai(web service implmentation)

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies(commn between sap and web sevices using proxies)

and

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]

Thanks

Vikranth

Former Member
0 Kudos

Hey,

Deployement of Web Services:-

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.

regards,

Milan

aashish_sinha
Active Contributor
0 Kudos

Hi,

We can create the webservice in ID and we can generate the WSDL file by going to ID-Tools--Create Webservice and follow the steps to generate the WSDL File

Check this Disscussion, You will come to know wat is Webservice and why to use

Check this thread also.

Invoke Webservices using SAPXI

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

Testing XI exposed Web-Services

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

RFC as Web Service step by step approach in XI

/people/sebin.thomas/blog/2008/01/09/exposing-remote-function-module-as-web-service-in-xi--step-by-step

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

/people/sridhar.k2/blog/2006/09/12/creating-and-exposing-bapi-as-web-service-and-using-it-in-web-dynpro

/people/amol.joshi2/blog/2007/01/29/rfc-calls-from-adapter-modulesthe-web-service-way

How Web services play a key role on the SAP NetWeaver

http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687...

How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

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

Enhancing Your Web Services with SAP Exchange Infrastructure

http://www.sappro.com/downloads/SAPXI.pdf

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

Go through these links..

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/7f2fef88190ad3e10000000a11466f/frameset.htm

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

Steps to Create Web Service in SAP XI

Go to the Integration Directory and click the Tools option then Click on Define WEB SERVICE.

1) Specify the URL of the Web server that is to receive the Web service. You can use the value entered in the SLD for the Integration Server for this purpose.

2) Specify the interface

3) Specify the Sender

Look through these blogs too..

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services(Xi exposed webservices)

/people/sriram.vasudevan3/blog/2005/03/18/points-to-ponder-over-while-considering-webservices-implementations-vis-a-vis-eai(web service implmentation)

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies(commn between sap and web sevices using proxies)

and

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]

Thanks,

Vijaya.

former_member556603
Active Contributor
0 Kudos

Hi,

Go through these links..

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/7f2fef88190ad3e10000000a11466f/frameset.htm

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

Steps to Create Web Service in SAP XI

Go to the Integration Directory and click the Tools option then Click on Define WEB SERVICE.

1) Specify the URL of the Web server that is to receive the Web service. You can use the value entered in the SLD for the Integration Server for this purpose.

2) Specify the interface

3) Specify the Sender

Then a WEB SERVICE is created.

Thanks,

Satya

Former Member
0 Kudos

Hi,

If you have the Webservice at Sender , then only we have to generate the Wsdl file through ID--Define Webservice, then will use SOAP Adapter here as sender.

If you are using the Webservice at receiver side means, dont require to generate the Wsdl file

Regards

Seshagiri