On Wed, Feb 3, 2010 at 7:40 PM, rahul yadav <rahulyada...@gmail.com> wrote:
> one more query on standards.... > > Can we have multipart messages in wsdl of doc/lit type? As per my > understanding for multipart messages wsdl should be of rpc/enc type. > > If answer for above query is "yes"...then i have seen some wsdls with > multipart messages following doc/lit style, these wsdls are > consumed(wsdl2java) well by .net and Axis1.4 but fails with Axis2. how Can > we justify this ? > see R2210 with the same link. There can be only one soap boady child. thanks, Amila. > > Thanks & Regards, > Rahul Yadav > > Can we have multipart messages in > > Following wsdl has multipart messages and is doc/lit type, Axis2 does not > support multipart messages in doc/lit wsdl, it has to be a rpc/enc wsdl. > > > > On Tue, Feb 2, 2010 at 10:39 AM, Amila Suriarachchi < > amilasuriarach...@gmail.com> wrote: > >> >> >> On Mon, Feb 1, 2010 at 11:05 PM, rahul yadav <rahulyada...@gmail.com>wrote: >> >>> Hi All, >>> >>> Will it be true to say ....If your WSDL is a document-literal style, then >>> wsdl:part should point to an element instead of type. >>> >> yes. >> see [1] R2204 and R2203. if it is rpc-literal the part should refer to a >> type. >> >> basic profile does not talk about rpc-enc >> >> thanks, >> Amila. >> >> >> [1] http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Bindings_and_Parts >> >>> And if WSDL is a rpc-enc style, then wsdl:part should point to type. >>> >>> >>> >>> >> >> >> -- >> Amila Suriarachchi >> WSO2 Inc. >> blog: http://amilachinthaka.blogspot.com/ >> > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/