Foster, Appreciated your quick response. I am trying to set endpoint url to the proxy using java reflection, do you have any idea how to set enpoint url by using java reflection for given class.
See my code below - Reflection way, endpoint is not setting
Is there a particular reason you're trying to use reflection for this task, instead of just instantiating an object of a known class and calling its setEndpoint method?
We have more web service clients providers data from out back end systems, Front end applications will be consuming those web service by setting endpoints dynamically by calling common utility method by passing portproxy class & endpoint url which return portproxy object with endpoint. shown below
and
common utilty method is like below
Above common method is not giving right portproxy with endpoint.
If any one knows about java reflect for above case please guide me, much appreciated.
Thanks.
S Varre.
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards