![]() |
![]() |
Request:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <authenticate xmlns="http://developer.intuit.com/"> <strUserName xsi:type="xsd:string">username</strUserName> <strPassword xsi:type="xsd:string">password</strPassword> </authenticate> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response (for a valid login) with HTTP response headers:
HTTP/1.1 200 OK Date: Sat, 02 May 2009 17:45:48 GMT Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.9 X-Powered-By: PHP/5.2.9 Content-Length: 416 Connection: close Content-Type: text/xml <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://developer.intuit.com/"> <SOAP-ENV:Body> <ns1:authenticateResponse> <ns1:authenticateResult> <ns1:string>15c9ce293bd3f41b761c21635b14fa06</ns1:string> <ns1:string></ns1:string> </ns1:authenticateResult> </ns1:authenticateResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response (for an invalid login) with HTTP response headers:
HTTP/1.1 200 OK Date: Sat, 02 May 2009 17:43:09 GMT Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.9 X-Powered-By: PHP/5.2.9 Content-Length: 387 Connection: close Content-Type: text/xml <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://developer.intuit.com/"> <SOAP-ENV:Body> <ns1:authenticateResponse> <ns1:authenticateResult> <ns1:string></ns1:string> <ns1:string>nvu</ns1:string> </ns1:authenticateResult> </ns1:authenticateResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>