Posts: 1
Joined: Fri Jan 28, 2022 2:56 pm

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?

Galyna Abramovych
Site Admin
Posts: 82
Joined: Tue Mar 22, 2016 6:03 pm

Re: SOAP WS-Security header with UsernameToken

Dear Leon,

Please check the response in the ticket # 47162.

Posts: 25
Joined: Mon Jan 03, 2022 1:45 am


I am trying to read a message with a RFH2 header using AMI. I am able to read the correct data length using amReceiveRequest but failed to read both the header and the message data. What do I need to do in order to read both the header data and the message data.

Many thanks in advance.

Return to “Issues”