[NEW ISSUE] WS-Transfer PutResponse violates WS-I BP

WS-Transfer allows for multiple children in the SOAP Body of the 
PutResponse message.  The description of the PutResponse has the following 
(bolding is mine): 
/s:Envelope/s:Body/child::*[position()=1] 

By default, a service MUST return the current representation of the 
resource as the initial child of the s:Body element if the updated 
representation differs from the representation sent in the Put request 
message.  The presence of additional child elements which contain other 
information pertaining to the update is service-specific. 

The implication is that multiple children may appear.  The WSDL/XSD only 
allows for one child though. 

WS-I Basic Profile has the following requirement: 
R9981 An ENVELOPE MUST have exactly zero or one child elements of the 
soap:Body element. 

Proposal:
Align the text of the PutResponse message with the WSDL/XSD by removing 
the text that implies more than one child my appear.

thanks
-Doug
______________________________________________________
STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  dug@us.ibm.com

Received on Wednesday, 7 January 2009 04:23:58 UTC