Riva On-Premise Connection Issues For IAH 7.0.x Resolved

  • Updated

Issues

Issues affecting Riva servers connecting to Info@Hand 7.0.x servers hosted on Apache (WAMP or LAMP) environments:

  • On new Riva On-Premise installations, info@hand connections cannot be created to any IAH 7.0.x server hosted on Apache.
  • On existing Riva On-Premise installations, upgrading the IAH server to 7.0.x causes connection issues for pre-existing Riva connections.

Errors Reported

Riva will report a failure to create a connection with a "... request failed with an empty response" error in the log(date).txt file in Riva\Logs:

<System.InvalidOperationException : Client found response content type of 'text/html', but expected 'text/xml'.The request failed with an empty response.>

 

Examination of the info@hand server log file reveals errors similar to:

01/04/13 20:40:02,341 [2540] INFO [IAH] - Connected to database: localhost/iah7015
01/04/13 20:40:02,595 [2540] INFO [IAH] - Query:SELECT * FROM `fields_meta_data` WHERE NOT deleted ORDER BY name
01/04/13 20:40:02,597 [2540] INFO [IAH] - Query Execution Time:0.0011651515960693
01/04/13 20:40:02,687 [2540] DEBUG [IAH] - Init SOAP requesthttp://localhost/iah7015/soap.php (API 1)
01/04/13 20:40:02,698 [2540] DEBUG [IAH] - <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.sugarcrm.com/sugarcrm" xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:login><user_auth href="#id1" /><application_name xsi:type="xsd:string">OmniRiva</application_name></tns:login><tns:user_auth id="id1" xsi:type="tns:user_auth"><user_name xsi:type="xsd:string">admin</user_name><password xsi:type="xsd:string">8af4a5676eaf98eae7a7231f2dfdab69</password><version xsi:type="xsd:string">OmniRiva</version></tns:user_auth></soap:Body></soap:Envelope>
 

Examination of the Apache error log discovered:

[Fri Jan 04 13:51:58 2013] [error] [client 10.10.0.118] PHP Fatal error: Class 'SoapServer' not found in C:\\wamp\\www\\iah7015\\include\\IAHSoapServer.php on line 228
[Fri Jan 04 13:51:58 2013] [error] [client 10.10.0.118] PHP Stack trace:
[Fri Jan 04 13:51:58 2013] [error] [client 10.10.0.118] PHP   1. {main}() C:\\wamp\\www\\iah7015\\soap.php:0
[Fri Jan 04 13:51:58 2013] [error] [client 10.10.0.118] PHP   2. IAHSoapServer->service() C:\\wamp\\www\\iah7015\\soap.php:72
[Fri Jan 04 13:51:58 2013] [error] [client 10.10.0.118] PHP   3. IAHSoapServer->initServer() C:\\wamp\\www\\iah7015\\include\\IAHSoapServer.php:267

 

Resolution

Examination of the Apache server's "php.ini" file (\Apache<ver>\bin\php.ini) revealed that the php_soap.dll extension was commented out. After the file was modified and saved, the issue was resolved.

soap_issue_in_php_ini_file.png

Suspected Cause

Info@Hand 7.0.x system requirements specify a higher Apache and PHP requirement than 6.x servers. The newer versions of Apache server installations/upgrades sometimes do not have the php_soap.dll extension enabled. Customers who install a new IAH 7.0.x or upgrade an IAH 6.x server to IAH 7.0.x should verify that the php.ini file does not comment out the extension=php_soap.dll line.

Applies to

  • Riva On-Premise for Info@Hand.
  • Info@Hand servers 7.0.x+.

Was this article helpful?

/