Partager via


How to Create a Web Service Connector for SAP in FIM/MIM(Part 1)

 

In this blog, I am going to work through the steps to create a web service connector which connects with sap ECC6.0

Before creating a web service management agent in the FIM synchronization, exposing a web service from SAP side which allows the connector to retrieve the data is required. Next, i will demo how to generate a web service based on the built-in interface. However, in real project you need cooperate with SAP engineer on designing the interface.

1. Login to the SAP system and type the transaction code "SE80" which brings up the object navigator.

2.  Browser to the and type the package name

image

3. Enter and select "yes" to choose the creation.

image

4. Fill in the information as below and click OK. It will prompt for a transport request. Save it a transport request.

image

5. After successful creation of the package, right click on the package name and choose Create—>enterprise service image

 

 

 

 

6. Choose “Service Provider” image

7. Choose “Existing ABAP Objects(Inside Out)” image

8. Name the service and choose “Function Group” image

9. Type “SU_USER” in the endpoint

image

10. Select Functions you want exposure (for demo purpose, only BAPI_USER_GETLIST is required here)

 

 

 

image

11. Choose the default SOAP Application as below.

image

12. Specify the package name and its transport request and click “continue”

image

13. Click complete.Once the web service is created successfully under the package. Select “configuration” tab and modify the profiler to “Stateful

 

 

 

image

14. Finally choose the web service and right click “Activate

image

Then we need add an endpoint binding for the web service.

1. Open the Transaction SOAMANAGER. Select “Single Service administration” under Application and Scenario Communication tab.

image

 

2. Provider the WebService created in above step and “apply selection”

image

3.  Make sure you have below configuration selected.

image

4. Click “Create Endpoint” under configuration tab, make sure “userID/Password” is selected as authentication method.

 

 

image

So far we’ve completed the configuration of sap web service which allows the web service connector to consume. The highlight URL is web service address which we need for the web service config.

image

Comments

  • Anonymous
    January 11, 2017
    Hi Tracy - I have been working with my SAP team in order to attempt to implement this and am running into errors on the SAP side, specifically HTTP 401 Unauthorized errors whenever we make the attempt to Exchange data (specifically do an import). We've followed these instructions and neither our SAP people (both Basis and ABAP developers) or the Microsoft Support people we are working with on a support case can determine the cause. I've been able to verify the error by connecting to the web service (created using your instructions as a model) using SoapUI. Did you run into any issues like this when you were building the document?
    • Anonymous
      January 11, 2017
      Brian,I once hit the HTTP 401 issue due to the policy config section of the published web service. So I would suggest open the WSDL via a browser and double check there's no policy config inside.