I have having a difficult time communicating with a supposedly
behaving soap server. I am using Zend_Soap_Client_DotNet and acording
to the wsdl the server is expecting the following to use the service.
Username,
Password,
Request.
I think my settings are correct from what I can tell but for some
reason the site is not responding. Are there any soap wizards who can
point me in the right direction. The soap server seems to want the
query formatted as such.
<proqueries>
<basicqry active="true">
<casenumber><![CDATA[09cv4]]></
casenumber>
<firstname><![CDATA[]]></firstname>
<lastname><![CDATA[]]></lastname>
<companyname><![CDATA[]]></companyname>
<casetype><![CDATA[]]></casetype>
<actiontype><![CDATA[]]></actiontype>
<begindate></begindate>
<enddate></enddate>
</basicqry>
<attorneyqry active="false">
<firstname><![CDATA[]]></firstname>
<lastname><![CDATA[]]></lastname>
</attorneyqry>
</proqueries>
I have tried several things to get this to work and trying the
suggestions on the docs pages. below is the current code I am using.
// First we will try to contact the library.
$client = new Zend_Soap_Client_DotNet("http://www.clerk.co.montgomery.oh.us/CRTVWebservice/CrtvExternalAgencies.svc?wsdl
",
array( 'compression' => SOAP_COMPRESSION_ACCEPT,
'encoding' => 'UTF-8'));
try {
$result = $client->GetCaseHitList ( array('username' =>
'testuser',
'password' => '********',
array('casenumber'=>'09cv4')
));
} catch (Zend_Soap_Client_Exception $e) {
fb ($e->message);
}
When I execute this I get the following error message '
Exception information
Message: looks like we got no XML document'
I am running Zend Framework 1.9.4 under PHP 5.3.0. Does anyone have
any pointers or suggestions on how I can get this working.
Thanks in advance.
Eric Naujock