aspose file tools*
The moose likes Web Services and the fly likes WebService Reponse returning before the complete file is transferred. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WebService Reponse returning before the complete file is transferred." Watch "WebService Reponse returning before the complete file is transferred." New topic
Author

WebService Reponse returning before the complete file is transferred.

Manzoor Elahi
Greenhorn

Joined: May 11, 2010
Posts: 11
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebService Reponse returning before the complete file is transferred.