When the server generates WSDL during deployment of web service?
posted 7 years ago
Hi! I have a (perhaps) big problem : I created a custom annotation that, applied to the code of a web method, generates, during the deployment of the web server, a java class. This java class is a client for the web service and creates a stub (or proxy, or skeleton) of the web service. The problem is that the generated java class needs java artifacts, generated from the WSDL file of the web service, but the WSDL file, during deployment, is not yet available!! In other words :
1) the deployment of the annotated web service starts and the java class is generated 2) the java class contains a stub of the web service but the wsdl file of the web service, at the time of generation of the java class, is not available.