You will need to take a top-down approach (e.g. contract first using wsconsume to generate
artifacts). This is described in the Tools documentation (e.g.
http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools#Top...).
One side note, this all works fine, but if you turn SchemaValidation on you will encounter
an exception being thrown. There looks to be a bug or an enhancement required in order to
get the schema validation logic to work when referencing an imported schema from the WSDL
(see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137791).
Note, I have created an example application which is attached to JIRA 2254
(
https://jira.jboss.org/jira/browse/JBWS-2254) which demonstrates this issue. This may
get you on your way just comment out the @SchemaValidation annotation and all should work.
One caveat, if you get SchemaValidation to work you have to share your solution :)
--Bob
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167337#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...