Community
Participate
Working Groups
When we add new operation (in default named NewOperation) in WSDL Design editor the default name for element related to part for NewOperationRequest message is NewOperation instead of NewOperationRequest. It is inconsistent cause this kind of suffix is added to the element for NewOperationResponse (name of this element is NewOperationResponse). There is: <wsdl:message name="NewOperationRequest"> <wsdl:part name="parameters" element="tns:NewOperation"></wsdl:part> </wsdl:message> but should be: <wsdl:message name="NewOperationRequest"> <wsdl:part name="parameters" element="tns:NewOperationRequest"></wsdl:part> </wsdl:message>
Hi Wojciech, there is a very good reason for this behaviour: the WSDL editor follows the document/literal wrapped authoring pattern. This pattern requires that the name of the element referenced from the input message part be identical to the operation name. See the following links for information on the document/literal wrapped WSDL pattern. http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/#N1021A http://pzf.fremantle.org/2007/05/handlign.html http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html