+1 vote
asked in General by (200 points)

Thanks in advance.. I have Attached all images for  the process of doing with SOAP UI. I got results with SOAP but same i need to do it with php code.. I have written php code by adding the soap header security multiple ways.  

PHP  Code:

$wsdl = ''; 
$local_cert = 'client_load.pem'; 
$passphrase = 'password'; 
$client = new SoapClient($wsdl, array('trace'=>true, 'exceptions'=>true, 'local_cert' => $local_cert, 'passphrase' => $passphrase)); 
$request = array( 
"name" => 'welcome' 
$results = $client->authHelloWS($request); 

Fatal error: Uncaught SoapFault exception: [wsse:InvalidSecurity] Missing wsse:Security header in request in D:\wamp\www\soap\test\test_new_soap.php:98 Stack trace: #0 D:\wamp\www\soap\test\test_new_soap.php(98): SoapClient->__call('authHelloWS', Array) #1 D:\wamp\www\soap\test\test_new_soap.php(98): SoapClient->authHelloWS(Array) #2 {main} thrown in D:\wamp\www\soap\test\test_new_soap.php on line 98

1 Answer

0 votes
answered by
Looks like you need to do a lot of troubleshooting yourself with these. Problems can be anything. There are numerous things to figure out, many will be just related to server. Please go ahead and invest sometime digging this out. Sorry, at present I'm not able to help you with this much.

Good luck bud! and happy coding...

Related questions

0 votes
2 answers 707 views
asked Nov 24, 2016 in General by srinivasulu_yagnam (200 points)
0 votes
1 answer 1.6k views
0 votes
1 answer 597 views
0 votes
1 answer 5.7k views
0 votes
2 answers 8.4k views