axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WAJSBERG Julien RD-BIZZ <julien.wajsb...@francetelecom.com>
Subject Re: java2wsdl ant task for document/literal
Date Tue, 21 Dec 2004 09:01:00 GMT
Daniel Beland a écrit :

>In fact, to be more precise, it means that there is a schema element, with
>the same name as the operation, that contains (wraps) the actual document
>element representing all the parameters.
>
>ie:
>
>wrapped
><A>
>   <AElement/> (of type X)
></A>
>
>document
><AElement/> (of type X)
>
>I believe this is not part of WS-I and was defined by Microsoft only.
>
You're right. But WS-I says nothing against it either.

> I
>used to work this way but after some incompatibilities I switched to plain
>doc/lit instead.
>
>If you start with a wsdl, I find it easier than wrapped, and by having
>significant names for the elements you don't miss any clarity in the SOAP
>body.
>
>The java portion is nearly identical (Single java object with getX()
>methods instead of all unwrapped parameters directly).
>  
>
You have to do in the Java code what you don't do in the WSDL :) Both 
methods are correct of course.

-- 
Julien

Mime
View raw message