cancel
Showing results for 
Search instead for 
Did you mean: 

use of webservices

Former Member
0 Kudos

Hi,

what is the exact use of webservices.. and in which scenario we can go for webservices... and is there any types are there under web services ?

any PDF is there plz send it to my mail id : abapajay@gmail.com

plz clarrify this ..

thanks

babu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi BABU,

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

And whenever XI communicates with Webservice it uses SOAP adapter.

<b>is there any types are there under web services</b>

no specific types...but...yes..some times XI sends data to Webservice ...sometimes it recieves data from webservice.....

Check out this blog which gives a easy approach to consume a webservice.

/people/anilkumar.vippagunta2/blog/2005/07/20/developing-web-application-without-writing-single-line-of-code-my-first-web-log

/people/sap.user72/blog/2005/09/15/creating-a-web-service-and-consuming-it-in-web-dynpro

here they step by step process

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

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

reagrds

biplab

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Babu,

adding more...

<b>whenever Xi communicate with Webservice ..only SOAP adapter is use...</b>

check here why....

-> Some remote clients or Web services providers are only able to communicate by means of SOAP messages

->SOAP adapter enables you to exchange SOAP message between remote clients and Web Service Servers and the Integration Server.

-> The SOAP Adapter provides a runtime environment that includes various SOAP components for the processing of SOAP message.

-> You use the SOAP adapter to connect such systems to the Integration Server directly

-> The SOAP adapter uses a helper class to instantiate and control these SOAP components

->The SOAP adapter receives a msg from the remote client or Web service provider, converts the SOAP protocol into XI msg protocol and then sends the msg to the Integration Server to be processed further.

Hope now you might be knowing why we have to use SOAP adapter

A SOAP adapter is used in order to post messages to a webservice or provide a web service for receiving messages.

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

We have outbound as well as inbound interface. If you want to expose a websevice then we have to chose outbound interface and expose it as webservice to the outside world, so anyone can call your webservice. Please follow stefan's weblog

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

The next one someone has given you their webservice so that you can send your request and get response from them. You can visit www.x-methods.net to see lot of webservice that you can call using receiver adapter.

SOAP , we will use for Webservices.. for sender and receiver side..also

one example from Webbrowser to XI to receiver ...system

another example is we can send it to end point URL..

alos see the below examples

Webservice

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

/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

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

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

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

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

idoc to web services scenario

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

How to use webservices in XI

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

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.

see this blog from Robert Chu, but it might give you a good start to creating web services:

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

File to Webservices

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c...

Yes please look at following weblogs

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

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

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

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

Exposing BAPI as Web Services through SAP XI

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

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

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

Regards

biplab

Former Member
0 Kudos

A web service is a software application that can be accessed remotely using different XML-based languages. Normally, a Web Service is identified by a URL, just like any other web site. What makes Web services different from ordinary web sites is the type of interaction that can provide.

A web service is similar in that it is accessed via a URL. The difference lies in the content of what is sent in the request from the client to the service. Web service client send an XML message formatted in a special way in accordance with the rules of the Soap specification.

The Key COmponents

XML

HTTP

WSDL

UDDI

UDDI is like Yellow pages where every one will register their services. For Example the UK weather department might be giving a service for Weather Forecasting.

In the WSDL,they talk about the Function you have to call for the Weather forecasting, the Input Parameters you have to send, whats the response you are going to get will be mentioned in the WSDL

HTTP will be the Protocol thats been used to send the Request and receive the response from the Web Service

XML will be the language to construct your request and response

Use of Web Service:

-


If you need a currency conversion rates, there are multiple providers available in the market, so there is no need for you to write that routine in your application. You use the application written by some one.

Former Member
0 Kudos

Hi

A Web service is any interface that is described and can be called through the Web services standards. The standards stack is continuously growing, with some standards, such as SOAP and WSDL, being widely accepted and supported while others still are merely proposals and neither accepted nor supported by the industry as a whole.

Take an example

A SAP Web Dynpro client sends a Web service request to SAP XI. The request performs

a credit limit check and contains the amount as one of the input parameters. Based on a

routing rule in SAP XI, the Web service request is directed to an SAP R/3 system (for

small amounts) or to a .NET application (for larger amounts).

Will it be possible otherwise??

To only make these things possible we use XI and particularly Soap Adapter of XI.

Thanks

former_member335553
Active Contributor
0 Kudos

How to use webservices in XI

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

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

A web service is a collection of protocols and standards used for exchanging data between applications or systems

In SAP world, we can expose an application into the Webservice. For e.g We can expose ABAP programs into Webservice.

It is basically an XML code. If you want to use an application software (ex:a calculator/language translator) which is present on another server, say you want to calculate ab and show it on your browser for example. So, you write an XML code which will send the request to the application-> you send the parameters a, b and the operator ''. You will get back the response as the result of the operation(say 'c'). Hence, with the help of a webservice, you avoid writing the code to calculate a+b=c. More about webservices is here:-http://www.w3schools.com/webservices/default.asp</i>

How to use webservices in XI

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

Go thru this Blog Invoke Webservices using SAPXI By Siva Maranani

idoc to web services scenario

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

How to use webservices in XI

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

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.

see this blog from Robert Chu, but it might give you a good start to creating web services:

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

File to Webservices

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c...

Yes please look at following weblogs

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

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

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

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

Exposing BAPI as Web Services through SAP XI

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

Testing XI exposed Web-Services

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