Bug 164991 - [WSDL Editor] Generated fault name is not consistent with other component names
Summary: [WSDL Editor] Generated fault name is not consistent with other component names
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P2 minor with 1 vote (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Valentin Baciu CLA
QA Contact: Valentin Baciu CLA
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2006-11-17 11:52 EST by Valentin Baciu CLA
Modified: 2009-03-16 17:58 EDT (History)
0 users

See Also:


Attachments
Patch (5.61 KB, patch)
2009-02-25 16:59 EST, Valentin Baciu CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Baciu CLA 2006-11-17 11:52:09 EST
M-1.5.3-200611161917 and S-2.0M3-200611170109

To reproduce:
1. Create a new WSDL file with the wizard using all defaults.
2. Add a fault to the operation.

Actual result:

The generated fault name looks like "NewOperation_fault". Notice the use of the underscore, unlike all other components which are named using camel case.

Expected result:

For consistency I suggest we use camel case for the fault names as well.
Comment 1 Valentin Baciu CLA 2009-02-25 16:59:38 EST
Created attachment 126790 [details]
Patch
Comment 2 Valentin Baciu CLA 2009-02-25 17:02:29 EST
Patch committed/released to WTP 3.1 builds > v200902252201 UTC
Comment 3 Valentin Baciu CLA 2009-03-16 17:58:10 EDT
Verified with S-3.1M6-20090315011944.
Comment 4 Valentin Baciu CLA 2009-03-16 17:58:19 EDT
Closing.