Ich habe folgendes PHP Script
Bekomme diese Fehler:
Pattern stimmt doch oder nicht? was mach ich da falsch?
PHP:
<?php
$soapURL = "http://....?wsdl" ;
$soapParameters = Array('login' => "LOGINNAME", 'password' => "PASSWORD") ;
$soapFunction = "GetByID" ;
$soapFunctionParameters = Array('chid' => 'CH12345678901') ;
$soapClient = new SoapClient($soapURL, $soapParameters);
$soapResult = $soapClient->__soapCall($soapFunction, $soapFunctionParameters) ;
if(is_array($soapResult) && isset($soapResult['getByCHidDetailledResponse'])) {
echo $soapResult;
echo "blub";
} else {
echo "Unexpected soapResult for {$soapFunction}: ".print_r($soapResult, TRUE);
}
?>
Bekomme diese Fehler:
Code:
stdClass Object ( [errors] => stdClass Object ( [error] => stdClass Object ( [ code ] => 202 [message] => The chid is invalid, it must follow either the CH-###.#.###.###-# or CH########### pattern ) ) )
Pattern stimmt doch oder nicht? was mach ich da falsch?