Send a securuty wsse header with Nusoap

Asked

Viewed 14 times

-1

Guys, I’m trying to consume a webservice that integrates with my company’s software, but I don’t know how to send these header parameters with php’s Nusoap library, I don’t know who else to turn to, if you can help me, follow the xml:

<soapenv:Header>
 <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-
wss-wssecurity-utility-1.0.xsd">
 <wsu:Timestamp wsu:Id="TS-32E6B34377D7E4A58614607283662392">
 <wsu:Created>xxxx</wsu:Created>
 <wsu:Expires>xxxxx</wsu:Expires>
 </wsu:Timestamp>
 <wsse:UsernameToken wsu:Id="UsernameToken32E6B34377D7E4A58614607283662221">
 <wsse:Username>xxxx</wsse:Username>
 <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-#PasswordDigest">xxxxx</wsse:Password>
 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-
wss-soap-message-security-1.0#Base64Binary">xxxxxxx</wsse:Nonce>
 <wsu:Created>xxxxxx</wsu:Created>
 </wsse:UsernameToken>
 </wsse:Security>
 </soapenv:Header>
  • Hello @Marcos, Welcome to [en.so]. Before you start look worth our [Tour]. To help the community better understand your problem try to put more information, things like "I tried to ...", "Occurred ..." may help in understanding your question.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.