SOAP WS-Security header with UsernameToken
I have followed the Apprey guide Creating an API for a SOAP Service, however it is not clear on how to handle SOAP WS-Security header with UsernameToken security. Firstly, I cannot obtain WSDL without being authenticated with the specific service I am attempting to connect to.
The scenario is that I need to connect to a 3rd party SOAP service to send data and retrieve data from that service. But before any of that can happen, I need to authenticate using SOAP WS-Security header with UsernameToken.
Is there anyone who had achieved this in the past successfully? Or can direct me to a guide that I can apply within Appery or a workaround?