This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebService Reponse returning before the complete file is transferred.

 
Manzoor Elahi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We are using a client web service and in one of the methods the response is a byte array. but when the program is run, the response for this method is always null. That means the returned byte array is null.
following is the method.

But when i use SOAP UI and check , the byte array is returned but the response time is about 40 seconds . also ,when i put a debug point (I use Intelli J idea) then the time taken is more but i do get the byte array.
but whenever we run the compiled code, We are not able to get the byte array due to high response time.
How can i ensure that my web service call waits till it gets the complete response?
Also, I have set the
in the getService() method , i tried increasing that to 6000000 but still i am not able to get the complete response in the above method
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic