cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exposing a SOAP service in BTP, ABAP

felixw
Explorer
0 Kudos
1,331

Hello,

I am trying to expose as SOAP-based web service in a BTP, ABAP environment. Is there a more detailed descripton than [this](https://help.sap.com/docs/btp/sap-business-technology-platform/generate-provider-proxies-from-wsdl-f...

I can create the SOAP provider model and add my coding to a the respective (generated) class, but I fail to create the communication scenario (which actually exposes the service?)

Any help is highly appreciated

 

Felix

Accepted Solutions (0)

Answers (1)

Answers (1)

peterpersiel
Product and Topic Expert
Product and Topic Expert

Hello Felix,

Here is an overview of the steps to help you out:

Creating a Communication Scenario

  1. You need to create a communication scenario as described in Defining a Communication Scenario Including Authorization Values. This guide will help you define communication scenarios, which can be used to access business services using a technical communication user.

Generating Provider Proxies From WSDL Files

  1. Based on the WSDL file of the service you want to provide, create an SPRV as described in Creating SOAP Service Providers.
  2. Activate the SPRV.
  3. Add the generated inbound service to the relevant communication scenario.*
  4. Publish the communication scenario locally to make it available for the administrator in SAP Fiori launchpad.

*This seems to be the step you are missing.

Add implementation logic to generated class

  1. The SPRV generates an implementing class of the service you want to provide. To provide the functionality of your service, add the required application logic to the generated implementing class. Afterwards, activate the implementing class.

Configure communication arrangement based on communication scenario

  1. Based on the communication scenario, the administrator can create a communication system, inbound user, and communication arrangement, to make the service available for consumption. For more information, see Communication Management.

All of this should also be described in Generate Provider Proxies From WSDL Files.

Best regards,
Peter

felixw
Explorer
0 Kudos

Thank you - I was able to publish the service locally!

Is there documentation what the adminstrator has to do afterwards? The node "Supported Protocols and Authentication Methods" does not mention SOAP as an inbound connection