• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

Problem with WSSE (WebServiceExtensions)

Hi,
i am trying to use WSSE from PHP and have found some examples. Problem is that the server give me the error that the "Secutiry header are not present in the incoming message".

As i can see in the attached complete request the security header really are present.

What am i missing here?

- Svein
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://mynsurl/">
  <SOAP-ENV:Header>
    <ns1:Security>
      <ns1:UsernameToken>
         <ns1:Username>myUserName</ns1:Username>
         <ns1:Password>myPassword</ns1:Password>
      </ns1:UsernameToken>
    </ns1:Security>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:HelloWorld/>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Open in new window

0
svelarsen
Asked:
svelarsen
1 Solution
 
DarkFishCommented:
Can you provide more information, such as operating system, PHP version, example source code etc. It's a bit difficult to help you with this issue as we do not have enough information to make an informed recommendation. :)
0
 
svelarsenAuthor Commented:
I found the solution.
Was just a typo error in the namespace uri.

Thanks anyway.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now