How to implement SOAP connectors when you have a binary encoded license
I have to consume a SOAP web service, which is hosted on a Data power system and I have the end point and Base64 encoded binary license. Can anyone share how can I add this license to the header of the Soap connector so that the DP system authenticates my request correctly.
Below is the sample of the header I need to generate.
Thanks for the reply, I have gone through it, my requirement is not encoding the data, the problem I am seeing is with consuming a SOAP service with a secured header where I need to send license information in the required format.
Upon reviewing the associated Support Request, the following was the resolution:
If the solution can not be implemented by the endpoint service team, you can customize Pega's invokeAxis2 activity to get the desired result. Add a new step between existing step 13 (Build the SOAP request envelope) and 14 (Invoke the remote web service).