Modular WSDL compilation

View: New views
1 Messages — Rating Filter:   Alert me  

Modular WSDL compilation

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a situation where several webservice projects use the same xsd files.

Is there a way to compile the xsd files separately (using xjc) and then bundle the resulting artefacts into a jar and use the jar as part of the wsimport process?

Currently we have the same xsd files checked into svn for each project and I would prefer to use a dependency manager (ivy or maven) to keep track of the core xsd dependencies rather than svn.

There seems to be two issues, the first is how to get wsimport to look for bindings in a jar (and not generate them itself).

The second issue is how to package this up in a web app so that we do not have to unpack the original xsd files into the WEB-INF/wsdl folder?

Does anyone know if this is possible?

Am I taking the wrong direction when trying to solve this issue of duplicated source xsd files?

Any help would be greatly appreciated.
[Message sent by forum member 'purdah' (mike@...)]

http://forums.java.net/jive/thread.jspa?messageID=370572

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...