This content has been marked as final. Show 1 reply
btkstephen wrote:Why do you want to do that at compile time? Why aren't you using a configuration (and possibly an annotation that is used at runtime). Spring webservices does something like that.
I currently have source code that consumes web services and use the @WebServiceRef annotation to provide the wsdllocation. If I understand annotations correctly, there is a way at compile time to replace the wsdllocation path. This is done because the software is built for various custoemers using customized webservices for each customer. The structure of the web service doesnt change, but we need to dynamicly change the path the source code will find the wsdl when compiling the software for a customer.