Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

The webservice object does not get proxied properly  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!