Ok good.  You know honestly I read those I thought the directives were a bit
confusing.

I read the first one as, only if the soapbind:body specified the parts
attribute.  In alot cases, you don't specify that parts attribute, so if you
specify the multiple parts in the message, then it is ok.  It doesn't really
make sense to be able to do this though...

But you are right.  In conjuction with the second one it makes sense.  The
attribute does not exist and therefor you must only define zero or one
parts.

Chris

> -----Original Message-----
> From: Hittesdorf,Michael [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2003 11:40 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: doc/lit question
>
>
> See WS-I Basic Profile rules below:
>
> R2201 A document-literal binding in a DESCRIPTION MUST, in each of its
> soapbind:body element(s), have at most one part listed in the parts
> attribute, if the parts attribute is specified.
>
> R2210 If a document-literal binding in a DESCRIPTION does not specify the
> parts attribute on a soapbind:body element, the corresponding abstract
> wsdl:message MUST define zero or one wsdl:parts.
>
> My understanding of these rules is that they limit the body of doc/lit
> messages to at most one part. The header is an optional additional allowed
> part.
>
> -----Original Message-----
> From: Chris Williamson [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2003 10:08 AM
> To: [EMAIL PROTECTED] Apache. Org
> Subject: doc/lit question
>
>
> Is it legal to have two parts in a doc/lit call?  It appears to
> be legal in
> the ws-i spec.  Am I right there?  Is this supported by Axis?  You could
> probably do this by building the SOAP messages from scratch right?  But is
> it supported in WSDL2Java or anything like that?
>
> Thanks,
>
> Chris

Reply via email to