jsolderitsch wrote:
>
>
> jsolderitsch wrote:
>>
>> I am looking for some directions, or some example pom text, to show how
>> the jboss wsconsume operation can be integrated into a maven2 workflow.
>>
>> wsconsume will generate Java code based on a wsdl spec. For example, one
>> of our developers uses the following in a Windows bat file to execute
>> this step:
>>
>> set JBOSS_HOME=C:\jboss-4.2.2.GA
>> %JBOSS_HOME%\bin\wsconsume -v -k -p com.gestalt.sgs.sgsdif -w
>> WEB-INF/wsdl/uob.wsdl -s src/main/java -o target/classes
>> src/main/webapp/WEB-INF/wsdl/uob.wsdl
>>
>> I am looking for an example of how to wrap this (or the equivalent
>> ant-based method) into the pom as part of the ear generation workflow.
>>
>> I did some searching on this forum and didn't find anything directly
>> relevant.
>>
>> I hope this is easy and I am just ignorant of some maven basics.
>>
>>
>>
>
> Related to this -- what is the relationship of wsimport to wsconsume?
>
> There is a JAXWS maven plugin that has wsimport support:
>
> https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/usage.html
>
> Anyone have experience comparing say what JBoss' wsconsume tool does vs.
> wsimport?
>
>
OK, now things are getting weird.
I am trying to run the jaxws maven plugin that I found at the above site.
I get Bad version number in .class file errors as documented at:
http://forums.java.net/jive/thread.jspa?threadID=34567&tstart=0
I have a wsdl file that works with wsconsume that I moved into the right
directory structure (I thought) for wsimport.
Update....
a colleague informs me that setting a specific version for the plugin (1.8)
makes this error go away
But this might be useful info for some of us
--
View this message in context:
http://www.nabble.com/maven2-and-jboss-wsconsume----examples--tp14421784s177p14438454.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]