Advertisement
smaction

Better Response

Jan 17th, 2014
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. array (size=2)
  2. 'KeyID' => string '1B3BFE04-78AF-4B84-967E-C32BA0B30FB0' (length=36)
  3. 'PlayerID' => int 2588
  4.  
  5. object(stdClass)[2]
  6. public 'GetCustomerInfoResult' =>
  7. object(stdClass)[3]
  8. public 'Status' => string 'Failure' (length=7)
  9. public 'ErrorCode' => string 'GETCUSTOMERINFO_KEYID_ERROR' (length=27)
  10. public 'ErrorMessage' => string 'Invalid KeyID' (length=13)
  11.  
  12.  
  13.  
  14. Request : <?xml version="1.0" encoding="UTF-8"?>
  15. <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="www.clublinq.com/CommonTypes" xmlns:ns2="www.clublinq.com/ClientAPI"><SOAP-ENV:Body><ns2:GetCustomerInfo><ns2:request><ns1:KeyID xsi:nil="true"/></ns2:request></ns2:GetCustomerInfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
  16.  
  17.  
  18. Response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><GetCustomerInfoResponse xmlns="www.clublinq.com/ClientAPI"><GetCustomerInfoResult xmlns:a="www.clublinq.com/CommonTypes" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:Status>Failure</a:Status><a:ErrorCode>GETCUSTOMERINFO_KEYID_ERROR</a:ErrorCode><a:ErrorMessage>Invalid KeyID</a:ErrorMessage></GetCustomerInfoResult></GetCustomerInfoResponse></s:Body></s:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement