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

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

By default, a service MUST return the current representation of the new 
resource as the second child of the s:Body element if the created 
representation logically differs from the representation sent in the 
Create request message.   
... 

Unlike the previous issues, the WSDL/XSD in this case matches the 
normative text. 

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:
Remove the second child element from the Body of the CreateResponse 
message.

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:24:21 UTC