Skip to Content
Author's profile photo Gov TOTAWAR

Consuming a Webservice – eSourcing

When we look at any customers landscape you will finds systems and applications that are built and supported by different vendors and programming languages.

These systems cannot leave in silos and require integration; web services is one of the open standard available to integrate with disparate systems.

In this blog I would like to provide step-by-step guide on how to consume a web service from e-sourcing application.

To consumer a web service you will need following from a provider system (Web service Provider).

  1. WSDL

          http://www.w3.org/TR/wsdl

   2.  Endpoint

          http://en.wikipedia.org/wiki/Endpoint_interface

   3.  Client Library, generated from WSDL

          WSDL2Java tools.

          Axis provides one such tool , but you can go for any WSDL2Java tool.

          http://axis.apache.org/axis2/java/core/tools/

      

Once client jar file is generated, you need add all custom jar file required (client jar file and axis jar files) to consume the web service using process described in

http://scn.sap.com/community/sourcing/blog/2013/08/10/adding-custom-jar-files-to-e-sourcing

You can find sample code how to consume a webservice using Axis API in below link

http://axis.apache.org/axis2/java/core/docs/quickstartguide.html

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.