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