wsimport task reusing existing classes

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

wsimport task reusing existing classes

by Christian-128 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi jax-ws users,

I have been wondering if there is a way to avoid code generation for method parameters using
wsimport. (something like axis noimport=true)

The goal would be to use our own existing classes to pass method parameters between the cliend and server.

I currently achieve the same result using jaxb namespaces to get the generated artefacts in
the exact same package as our classes and deleting them afterwards. But it seems like there might be
a better solution.

Cheers

Christian

Re: wsimport task reusing existing classes

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had answered a similar post here: http://forums.java.net/jive/thread.jspa?messageID=353826񖘢 

See if this helps in what you are wanting to do.  

We did not attempt to adjust the behavior of wsimport in our Ant scripting.  The scripting helped us "ignore" (or you can delete) the generated POJO classes.
[Message sent by forum member 'mcs130' (mcs130)]

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

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


Re: wsimport task reusing existing classes

by Christian-128 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you,

that's basically what I'm doing right now too.



2009/7/8 <metro@...>
I had answered a similar post here: http://forums.java.net/jive/thread.jspa?messageID=353826&#353826

See if this helps in what you are wanting to do.

We did not attempt to adjust the behavior of wsimport in our Ant scripting.  The scripting helped us "ignore" (or you can delete) the generated POJO classes.
[Message sent by forum member 'mcs130' (mcs130)]

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

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