http://www.perlmonks.org?node_id=1225446


in reply to Re^2: 500 timeout on paypal module
in thread paypal module

OK, so that request looks like this once it's been cleaned up ..

<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Header> <RequesterCredentials soap:mustUnderstand="1" xmlns="urn:ebay:api:PayPalAPI"> <Credentials xmlns="urn:ebay:apis:eBLBaseComponents"> <Username>username</Username> <Password>password</Password><Signature /> <Subject /> </Credentials> </RequesterCredentials> </soap:Header> <soap:Body> <TransactionSearchReq xmlns="urn:ebay:api:PayPalAPI"> <TransactionSearchRequest xsi:type="ns:TransactionSearchRequestType"> <Version xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="xs:string">61.0</Version> <StartDate xsi:nil="true" xsi:type="xs:dateTime" /> <TransactionID xsi:type="xs:string"> 88343499343434 </TransactionID> </TransactionSearchRequest> </TransactionSearchReq> </soap:Body> </soap:Envelope>
This looks like the request that you were sending out. Not having used SOAP in about ten years, I don't know if this is properly formed, but it looks OK -- you're searching for a specific transaction by ID. Is it failing to send this request? Are you getting a response that you're not telling us about? Does this transaction really exist? Are your credentials valid?

You need to show more work.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.