An error was discovered processing the <wsse:Security> header #346
Unanswered
ChesterValentine
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an issue with the "withWsse" method.
I have this code :
Soap::baseWsdl($this->base_wsdl) ->withWsse([ 'userTokenName' => $this->login, 'userTokenPassword' => $this->password, 'hasUserToken' => true, 'userTokenDigest' => false, ]) ->call($endpoint, $params) ->throw();
Unfortunately, I have the error " An error was discovered processing the wsse:Security header "
I juste want tu produce this xml :
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>%s</wsse:Username> <wsse:Password>%s</wsse:Password> </wsse:UsernameToken> </wsse:Security>
with the Header "WSS-Password Type" to "PasswordText"
How could I do that?
Beta Was this translation helpful? Give feedback.
All reactions