Sigh.  I changed our WSDL & Schema to use a naming convention that I
thought would work with Axis' current default behaviour on the server
side, and it caused its own issues.  Namely, apparently 4 of my 5
operation signatures now meet all Axis' criteria for "wrapped" style,
but one does not.  So Axis generated 1 interface method the way I
wanted, with request and response complexType beans, and 4 "wrapped"
style methods (which would have confused the heck out of me if we
hadn't had this whole discussion).

Eventually I got the ant <wsdl2java> task to not use "wrapped"
(seemingly undocumented syntax*), so things look like they might be
ok.  My test-generated server deploy.wsdd at least looks like the
qnames will match now.

I'm not sure if using a "wrapped-compatible" WSDL is better or worse
if you're not planning on actually using wrapped mappings.  It looks
like, at least with Axis, either way you have to customize the
generated artifacts, so you have to know about "wrapped" even if you
don't want to use it.

BTW, wrapped looks much harder to use portably than non-wrapped, from
a business code point-of-view.  The wrapped method signatures have
dependencies on axis packages, where the non-wrapped ones only have
dependencies on my Schema beans, which ideally, one day, will be
totally POJO allowing me to switch out engines easily.  But that's a
different subject.

* http://ws.apache.org/axis/java/ant/axis-wsdl2java.html doesn't
document any attribute to disable wrapped, but setting the attribute
noWrapped="true" in the main element of the task worked.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to