+1 vote
2.2k views
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 = '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

by
Amoxil 500mg $0.29 Unit Price Flovent  <a href=http://aaost.com>viagra vs cialis</a> Buy Viagra O Line
by
Propecia Nioxin Thinning Hair Propecia Asexual  <a href=http://brandciali.com>cialis online</a> Cialis Generique En Ligne Bystolic Coupons
by
flatulence natural remedies  <a href= http://www.studiomerliniortodonzia.it/cgi-bin/bentelan.htm >studiomerliniortodonzia.it/cgi-bin/bentelan.htm</a>  effective herbal remedies
by
fungal nail remedies  <a href= http://www.studiomerliniortodonzia.it/cgi-bin/antibiotici.htm >studiomerliniortodonzia.it/cgi-bin/antibiotici.htm</a>  delayed ejaculation remedies

1 Answer

0 votes
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 845 views
asked Nov 24, 2016 in General by srinivasulu_yagnam (200 points)
0 votes
1 answer 1.6k views
0 votes
1 answer 666 views
0 votes
1 answer 6.8k views
0 votes
2 answers 9.2k views
...