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 = 'http://192.168.5.234:3333/AuthWSSecurity/services/AuthHelloWS?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);
var_dump($results);
Result:
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