Skip to Content
0
Feb 25, 2016 at 09:36 AM

How to add SOAP Header data to an External Webservice call from ABSL

406 Views

Hi C4C community,

I'm facing the following problem. I'm trying to call an external Webservice from C4C (in ABSL) which is using SOAP header authentication. When I call the service from for example SOAP UI then I'm able to provide the necessary data and everything works fine (See below)

When I try to call the same service from ABSL code then I'm only able to pass the parameters in the SOAP body and will never be able to authenticate myself which results in errors. The problem is already visible when I try to test the Webservice from the SAP Cloud Applications Studio (See below). As can be seen there is no possibility to add SOAP Header parameters. Neither do I have the possibility to add them in ABSL (or I don't know how to do this)

Is this a limitation of C4C / ABSL or is there a way around this? We are able to make things work by using HCI or PI and let them handle the it, but that's not the preferred solution.

Please let me know if there is a way around this.

Kind regards,

Sandor van der Neut

Attachments

Picture1.png (33.4 kB)
Picture2.png (45.5 kB)