Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The webservice object does not get proxied properly

R Naijat
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a web service call: javax.xml.rpc.Stub that needs to be proxied.

The actual proxy is created like below:

The stub object has:

But when it gets proxied and returned, the cachedEndPoint becomes null which throws NoEndPointException later in the code. Does anybody have any idea why this property becomes null? Is there any other way I can create the proxy instance in a way that this returned object saves all the properties of the original object?

Any help is greatly appreciated.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic