Visa Developer Community

Highlighted
Regular Visitor

How can I get timeout response 202 in my Java app?

Hello,

 

How can I get timeout response 202  in my Java app?
I tried to send sample xml/json from the multipullfunds page as POST, but the server returns status code 500 and Internal Error:
<?xml version='1.0' ?>
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Body>
<env:Fault>
<faultcode>env:Client</faultcode>
<faultstring>Internal Error</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
 
Request files are attached.
2 REPLIES 2
Community Manager

Re: How can I get timeout response 202 in my Java app?

Hi Eart_Cs,

 

Have you tried using the code we provided? I am sending in the request and am seeing the correct response 202.

 

Give it a try and let me know if you are getting another response.

 

Thanks,

Ricardo




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Tags (2)
Highlighted
Regular Visitor

Re: How can I get timeout response 202 in my Java app?

 

I found the cause of the problem. Server sandbox.api.visa.com returns response code 500  if value of header "X-Client-Transaction-ID" is not unique.