File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Response Contained No Data Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Response Contained No Data Exception" Watch "Response Contained No Data Exception" New topic

Response Contained No Data Exception

Prabhat Jha
Ranch Hand

Joined: Aug 13, 2007
Posts: 58

I am calling one webservice from another webservice.

To call another webservice i have a client generated from Weblogic webservice client util.

To explain it better.

First WebService is 'A'

Second WebService is 'B'

Have generated Client for 'B' using weblogic webserviceclient ant task.

In my code i get the wsdl of B from properties file, it is a load balancer URL which then sends the request to one of the servers.

The problem i am facing is that the on calling the method of B i get 'Response Contained No Data' SOAP exception.

This issue is intermittent.

Has anyone got any idea about this ?


Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Have you tried adding a handler on the server side of service B that logs all the requests?
I would log them to a file and then try to find request(s) for which error(s) occur, so see if there is a problem with the data reaching the web service or if the problem is in the service itself.
If there is no problem with the web service (which means that there are requests that are bad that reaches the web service) then I would continue trace backwards to see where the request(s) become corrupted.
Best wishes!
I agree. Here's the link:
subject: Response Contained No Data Exception
It's not a secret anymore!