wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Response Contained No Data Exception" Watch "Response Contained No Data Exception" New topic
Author

Response Contained No Data Exception

Prabhat Jha
Ranch Hand

Joined: Aug 13, 2007
Posts: 58
Hi,

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 ?

Thanks,

Prabhat
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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!
 
wood burning stoves
 
subject: Response Contained No Data Exception
 
Similar Threads
Problem while calling external web-service in WAS 6.1
Using a .net web service in a JSP developed from weblogic workshop
getting null response while calling glue webservice
Returning Custom data type from a web service
Adding new element to exising xsd and not generate client stub throwing exception in Apache Axis1.