Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WebService Reponse returning before the complete file is transferred.  RSS feed

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
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!