• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there anyway to dynamically capture the endpoint in WSDL?  RSS feed

 
asmita singh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have my webservices in 4 different environment and urls are stored in properties files picked up .

currently I am getting endpoint from properties file and putting into requestcontext in proxy class. requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,endPointURLprop);

Somehow I get Connectionrefused due to this. But when I hard code the endpoint in WSDL, it works.

Hence my question if I can get endpoint dynamically in WSDL or is there some other way to avoid this issue?


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!