Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312058 - [editor] Suffix "request" is not added to the generated request type in WSDL Design Editor
Summary: [editor] Suffix "request" is not added to the generated request type in WSDL ...
Status: RESOLVED INVALID
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.wsdl CLA
QA Contact: Valentin Baciu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 09:30 EDT by Wojciech Galanciak CLA
Modified: 2010-05-12 10:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Galanciak CLA 2010-05-07 09:30:40 EDT
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>
Comment 1 Valentin Baciu CLA 2010-05-12 10:15:22 EDT
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