I must have used PHP to consume WSDLs many times but I’ve never seen anything like this.
The message I am getting is
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: <message> ‘IService_CreateTransactionalRequest_InputMessage’ already defined in …
The code I am using is
ini_set("soap.wsdl_cache_enabled", "0");
$options = array(
//'soap_version'=>SOAP_1_2,
'exceptions'=>TRUE,
'trace'=>TRUE,
'uri'=>'SecurePublic_SOAP_v1.05',
//'cache_wsdl'=>WSDL_CACHE_NONE
);
$client = new SoapClient('http://services.staging.doneright.com/SecurePublic/service.svc?wsdl',$options);
$results = $client->CreateTransactionalRequest($data);
print "<pre>\
";
print "Request Headers:\
".htmlspecialchars($client->__getLastResponseHeaders()) ."\
";
print "Request: \
".htmlspecialchars($client->__getLastRequest()) ."\
";
print "Response: \
".htmlspecialchars($client->__getLastResponse())."\
";
print "</pre>";
Please assist.