Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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:
cachedEndPoint=
https://adcenterapi.microsoft.com/Api/Advertiser/v8/Administration/AdministrationService.svc?wsdl

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.
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!