• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Response Contained No Data Exception

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
If you want to look young and thin, hang around old, fat people. Or this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic