Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
amarnath_singanamala2
Participant

Requirement was to use Microsoft SharePoint as a repository to store the documents and also to access the same. There could be multiple possibilities to achieve this integration, one of the ways is to Consume the Web Services provided by the Microsoft SharePoint System. For example we have made use of Copy.asmx to Upload the documents and Lists.asmx to Update the documents in a List and also Delete them.

Following are the three steps to achieve the integration;

  1. Create a Consumer Proxy.
  2. Configure Logical Port.
  3. Call the required method in your application.

Create a Consumer Proxy:

  • Logon to SAP, and then start the Repository Browser (transaction code SE80).
  • Open a package for which you want to generate the consumer proxy.
  • Select the package and right click to open the context menu for the package, choose Create  Enterprise Service.
  • When you are prompted, select Service Consumer.

  • Continue.
  • Select the generation source i.e., external WSDL.

  • Continue.
  • Select the WSDL source; this can be a URL or a local file. In this case, it is URL.

  • Continue.
  • Specify a URL for example http://<SharePointSiteName>/_vti_bin/Lists.asmx.

  • Continue.
  • Specify a package, a prefix (ZAS_), and a transport request.
  • Continue.
  • The consumer proxy is generated. During generation, proxies objects for all the related data types and message types are generated.
  • The Configuration tab displays the default properties, which are extracted from the WSDL document. These properties determine the settings of a runtime configuration, which will be generated when the proxy is used.
  • Save & Activate.
  • When the consumer proxy is activated, the proxy class and the related structures and methods are automatically created and activated.

Configure Logical Port using Manual mode:

  • Launch SOA Manager using transaction code SOAMANAGER.
  • From the main screen of the SOA Manager go to the Service Administration tab.
  • Select Web Service Configuration.
  • Specify or search for a consumer proxy.

  • Select the consumer proxy from the overview and choose Apply Selection to display design-time information about the consumer proxy.
  • Go to the Configurations tab.
  • To create a new logical port, choose Create Logical Port.
  • A dialog box is displayed.
  • Specify a name for the new logical port.
  • To make this logical port the default logical port, select Logical Port is Default. If a consumer application is not configured to call a specific logical port, it calls the default logical port.
  • Select the configuration type Manual Configuration. In this type the system uses a user-specified endpoint URL to create a logical port. You need to specify a unique name for the logical port.

  • Choose Apply Settings.  And provide User credentials of the SharePoint system along with the domain (if you have any). Note: SAP does not support NTLM authentication, however supports Basic Authentication or Secured Basic Authentication.

  • In the message tab select the Message ID Protocol as Suppress ID Transfer.
  • In the transport tab; provide the URL Access Path, Computer Name of the Access URL, Port & Transport Binding TYPE (SOAP 1.1 or SOAP 1.2).

  • Save the configuration. Now the consumer proxy is now generated and configured.

Call the required method in your application.

Call the Proxy Class method in your application by instantiating the same (also can pass the logical port as an importing parameter in case there is no default logical port) and passing the required parameters.

14 Comments
Labels in this area