A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Languages
»
PHP
Author
SoapFault [wsse: InvalidSecurity]
Ong Vua
Ranch Hand
Joined: Jan 24, 2008
Posts: 57
posted
Feb 22, 2013 22:16:35
0
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
<?php $client = new SoapClient("https://servername:8002/EmployeeService?WSDL", array('login' => "testuser", 'password' => "testpassword")); $result = $client->getTransactions(array('dateCreated' => '2012-11-21T00:00:00')); print_r($result); ?>
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
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: SoapFault [wsse: InvalidSecurity]
Similar Threads
Current user
help needed
problem calling static method using OGNL
jqGrid with jsp server side
How to call this simple web service in JSP?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter