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

LVL 5
svelarsenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.