webtier@glassfish.java.net

wsimport - can I generate non-unwrapped functions?

From: Jake Goulding <goulding_at_vivisimo.com>
Date: Wed, 10 Dec 2008 11:20:42 -0500

Hey all:

Running wsimport on my WSDL produces a function like:

Result search(java.lang.String query, java.lang.String condition,
java.lang.String source);

However, when I use AXIS2 or .NET, I can get functions that take and
return the wrapper objects like SearchRequest and SearchResponse.

I prefer this format, as some functions have lots of parameters, most of
which have defaults that I don't care to set.

Is there a magic switch to wsimport that will prevent this unwrapping
from taking place?

Thanks!

-Jake