This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes PHP and the fly likes SoapFault [wsse: InvalidSecurity] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "SoapFault [wsse: InvalidSecurity]" Watch "SoapFault [wsse: InvalidSecurity]" New topic

SoapFault [wsse: InvalidSecurity]

Ong Vua
Ranch Hand

Joined: Jan 24, 2008
Posts: 69
I'm trying to connect to a secure web service and I got the below error

SoapFault Exception [wsse: InvalidSecurity] error on verifying message against security policy Error Code 1000

Here's my code

I'm able to call the webservice using soapUI with that username and password fine.

Do you have any idea?

PHP 5.4
Windows 7
Run PHP via Command Line
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3713

Do you have your SOAP headers setup.
I agree. Here's the link:
subject: SoapFault [wsse: InvalidSecurity]
jQuery in Action, 3rd edition