We're building a module that sends orders back to quickbooks through the Quickbooks web connector utility, using a modified version of the soap server module that works in D7 and solves some function namespace issues. However I am having trouble getting QB to understand the response that my server is sending. The QB requests run the right functions, and I have verified that the web server is responding in what looks like proper SOAP. Quickbooks though cannot understand anything I send back. I used the output buffer to record what my server is sending:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:xmethods-delayed-quotes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:authenticateResponse>
<response_object SOAP-ENC:arrayType="xsd:string[2]" xsi:type="SOAP-ENC:Array">
<item xsi:type="xsd:string">Q3cLrAxKHqrkojy9_IYTRMK_3JTyyEO4RJ7bjF0_Xzs</item>
<item xsi:type="xsd:string">Test Company</item>
</response_object>
</ns1:authenticateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>This is what my server is sending back to the QB authenticate call. It immediately triggers the infamous "Object reference not set to an instance of an object" error. QB also claims that it is receiving an empty string from clientVersion even though my function returns an okay (O:message) response.
If any one can take a look at my SOAP response and give me some advice on why QB isn't understanding it, I would be grateful.


