Use Webservice in PHP environement
Hello us !
I want to use webservice CLS in Netbeans and use PHP development tool.
I create this
try {
$wsdl_url = '[URL].ClassPatientServices.cls?WSDL=1&CacheUserName=[USER]&CachePassword=[PWD];
$client = new SOAPClient($wsdl_url);
$params = array(
'ClsINOUTContext' => array('AccesCode'=>'CWP','username'=>''),
'strINPatientIPP' => "91005573",
'ClsOUTInfosPatient' => "patient",
);
$return = $client->GetPatientInfo($params);
print_r($return);
} catch (Exception $e) {
echo "Exception occured: " . $e;
}
Can you help me to use this webservice ?
What I understand is that you have webservice in Caché and want to create a SOAP Client in PHP, correct? I am not expert on PHP (you should better contact PHP community) so I cannot comment on your PHP code.
Anyway - what problems have you experienced? Is there any error running given code?
Yes you understand very well what's i need.
To complete my questioni just want know parameter to call GetPatientInfo, i must define context in php source ?
Thanks for your helping