cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice

Former Member
0 Kudos

How do we create a Webservice ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 -

Develop a Web Service that sends an Email

/people/renald.wittwer/blog/2005/01/05/develop-a-web-service-that-sends-an-email

Using the SOAP inbound channel of the Integration Engine

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

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_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm

Looking for replacing SAP.NET connectors with SAP XI?

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295a...

How to Develop a Webservice Using NWDS and SAP XI.30

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

Testing XI exposed Web-Services

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

How XML Encryption can be done using web services security in SAP NetWeaver XI

/people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi

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

Answers (11)

Answers (11)

Former Member
0 Kudos
Former Member
0 Kudos

see this

Hi,

Here for SOAP to File you could use adapter modules in File adapter to bridge Sync-Async scenario.

you need to use below modules

Refer below links

/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii

To configure File as receiver consider the below blogs

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

Take a look at this thread.

I have listed the steps for the same.

Let me know if you need further info,

AND

For SOAP see below links

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

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

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

Some more blogs...:-)

for file adapter refer below links

File Receiver with Content Conversion

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Configuring the Receiver File/FTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm

Please see the below links for file content conversion..

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC

File Content Conversion for Unequal Number of Columns

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC

Content Conversion (Pattern/Random content in input file)

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC

/people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM

XI in the role of a FTP

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC

and

for SOAP adapter

An Overview of SOAP

/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap

U need to do the following steps:

1) Create an WSDl in ID for SOAP scenarios if u have WSDL provided with u then no need to generate the WSDL.

2) Check the generated WSDL using XML-SPY.

3) import the WSDl in IR in external definition.

4) Configure the SOAP adapters.

How to use SOAP adapter:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

For the file

1) U need to first see in which format u need to generate the file in CSC,fixed length or any other format accordingly u need to write the FCC in file adapters.

Refer following:

FCC

Ref:

Sender -

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

Key value:

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -

TAB delimited

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

NAB the TAB (File Adapter)

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

Receiver FCC no need of Endseparator

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Receiver-

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

FOR TEST YOUR SCENARIO SEE THIS THREAD

Former Member
0 Kudos

Check these threads which are there for the same kindly refer

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

Former Member
0 Kudos

we can create the WEBSERVICE from integration directory

first of all activate the change list and choose the menu path from I.D tools->create webservice

a window is displayed with default URL overwrite the URL with

http://<host>:<port>/XI SOAP ADAPTER/Message Servelet?:

channel (or) service = <sender cc> or<sender service>

then provide the following details:

sender interface:

sender service:

.....................................

then a wsdl program is generated,save it

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

see this

Hi,

Here for SOAP to File you could use adapter modules in File adapter to bridge Sync-Async scenario.

you need to use below modules

Refer below links

/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii

To configure File as receiver consider the below blogs

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

Take a look at this thread.

I have listed the steps for the same.

Let me know if you need further info,

AND

For SOAP see below links

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

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

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

Some more blogs...:-)

for file adapter refer below links

File Receiver with Content Conversion

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Configuring the Receiver File/FTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm

Please see the below links for file content conversion..

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC

File Content Conversion for Unequal Number of Columns

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC

Content Conversion (Pattern/Random content in input file)

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC

/people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM

XI in the role of a FTP

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC

and

for SOAP adapter

An Overview of SOAP

/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap

U need to do the following steps:

1) Create an WSDl in ID for SOAP scenarios if u have WSDL provided with u then no need to generate the WSDL.

2) Check the generated WSDL using XML-SPY.

3) import the WSDl in IR in external definition.

4) Configure the SOAP adapters.

How to use SOAP adapter:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

For the file

1) U need to first see in which format u need to generate the file in CSC,fixed length or any other format accordingly u need to write the FCC in file adapters.

Refer following:

FCC

Ref:

Sender -

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

Key value:

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -

TAB delimited

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

NAB the TAB (File Adapter)

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

Receiver FCC no need of Endseparator

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Receiver-

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

FOR TEST YOUR SCENARIO SEE THIS THREAD

Thanks

Rodrigo

Former Member
0 Kudos

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 -

Develop a Web Service that sends an Email

/people/renald.wittwer/blog/2005/01/05/develop-a-web-service-that-sends-an-email

Using the SOAP inbound channel of the Integration Engine

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

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_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm

Looking for replacing SAP.NET connectors with SAP XI?

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295a...

How to Develop a Webservice Using NWDS and SAP XI.30

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

Testing XI exposed Web-Services

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

How XML Encryption can be done using web services security in SAP NetWeaver XI

/people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi

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

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

please see this answer thread

hope helps

rodrigo

Former Member
0 Kudos

Web Service is an application on the Web/Internet. Whenever Service is requested by the user, it provides the service (i.e. Request/Response)

we can create webservice in ID

Edited by: Ashok Reddy Thatigutla on Mar 7, 2008 12:51 PM

Former Member
0 Kudos

HI Akshay,

go to configuration ->in that go to tools-> select define webservie.

give the system name (sender system only ) and from here u can take up.

sender system only becasue we wont create webservice for receiver system ,logically it is incorrect.

Thanks & Regards,

Rama Krishna

Edited by: rama krishna talluri on Mar 7, 2008 12:33 PM

former_member335553
Active Contributor
0 Kudos

More threads are there for the same kindly refer

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

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

See this Completely

Regards

Seshagiri

Edited by: N V Seshagiri on Mar 7, 2008 12:26 PM