[jboss-user] [JBossWS] - Re: How to generate the WSDL at build time for EJB3 based we

eminil do-not-reply at jboss.com
Fri Nov 14 06:38:35 EST 2008


Hmm, i have the same question.

But is it really necessary to use the wsprovide tool. From the wiki it says:
anonymous wrote : 
  | A JSE or EJB3 deployment can be built using this class, and it is the only Java code needed to deploy on JBossWS. The WSDL, and all other Java artifacts called "wrapper classes" will be generated for you at deploy time. This actually goes beyond the JAX-WS specification, which requires that wrapper classes be generated using an offline tool. The reason for this requirement is purely a vender implementation problem, and since we do not believe in burdening a developer with a bunch of additional steps, we generate these as well. However, if you want your deployment to be portable to other application servers, you will unfortunately need to use a tool and add the generated classes to your deployment.
  | 
  | This is the primary purpose of the wsprovide tool, to generate portable JAX-WS artifacts. Additionally, it can be used to "provide" the abstract contract (WSDL file) for your service. This can be obtained by invoking wsprovide using the "-w" option: 

>From which i get the impression i would not need to use any other tools...
Or is it so that the CLIENT will need the generated classes from wsprovide to be able to use the webservice?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189349#4189349

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189349



More information about the jboss-user mailing list