We are building web services and in our approach multiple maven projects
would be consumers of the service WSDL in order to generate their server
/ client stubs.  I think it would be good to have a project of packaging
type wsdl and then have consumer projects depend on that artifact.  Has
anybody tried to do this or is there a better pattern for doing this?
 
I found one reference on the web about this :
 
http://myarch.com/using-maven-repository-as-web-services-registry
 
Possibly the hard part would be integrating with existing wsdl2java
plugins that expect a file path to the WSDL file.  I would guess that I
would have to customize one to automatically grab depencies of type wsdl
and then pass them to the code generator.  
 

Peter Hayes   <http://www.linkedin.com/in/petehayes> 
Architecture & Shared Technology Services | Fidelity Investments
Management Technology 

 

Reply via email to