troubleshooting Question

I am trying to create a PHP soap client. Following is my soap request XML Schema

Avatar of Dhanish pk
Dhanish pk asked on
PHPSOAP ProtocolWeb Servers
10 Comments1 Solution881 ViewsLast Modified:
I am trying to create a PHP soap client. Following is my soap request XML Schema

<soapenv:Envelope xmlns:soapenv="" xmlns:req="">

following is my var_dump($client->__getFunctions()) output

array(1) { [0]=> string(95) "initiatePaymentDetailsRes executeRB_OLP_INITIATE_PAYMENT(initiatePaymentDetailsReq $parameters)" } 

can anyone help me to write PHP client for above soap request ? I am trying since 2 weeks.and I am failed. getting error

PHP code

include 'initiatePaymentDetailsReq.php';

$wsdl = dirname(__FILE__).'/librb/RB_OLP_INITIATE_PAYMENT.wsdl';

$endpoint       = '';
$local_cert = dirname(__FILE__)."/key1.pem";
$passphrase = "*****";
$options = array(
    'location'      => $endpoint,
    'keep_alive'    => true,
    'trace'         => true,
    'local_cert'    => $local_cert,
    'passphrase'    => $passphrase,
    'cache_wsdl'    => WSDL_CACHE_NONE,
    'exceptions' => 0



        $client = new SoapClient($wsdl,$options); 

    } catch (SoapFault $E) { 
        echo $E->getMessage();
    if ($client) {                                '
$in=new StdClass();


                    //$response = $client->__soapCall('executeRB_OLP_INITIATE_PAYMENT',array($req_params));
               $response = $client->executeRB_OLP_INITIATE_PAYMENT($req_params);

Fault occurred in processing, detail provided
Dhanish pk

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros