Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Response Contained No Data Exception

 
Prabhat Jha
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic