This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96210 - WSDL view: can't edit soap:fault Name attribute through properties pane
Summary: WSDL view: can't edit soap:fault Name attribute through properties pane
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 19:30 UTC by jlautz
Modified: 2016-07-07 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlautz 2007-02-21 19:30:20 UTC
Also reported in issue 86514, separated out here (Windows XP, 0702220_4, JDK
1.5.0_09):

1. Start the WSDL wizard to create a new WSDL file, specifying all default values.
2. In the new WSDL file, add a fault to the generated operation newWSDLOperation
in newWSDLPortType. 
3. Change the name property of the fault to "realFault" and define the Message
Type property as newWSDLOperationReply.
4. In the newWSDLBinding, choose the newWSDLOperation node and click Add ->
Binding Fault.
5. Choose the Fault node, and choose Add -> Soap Fault.
6. Select the soap:fault node.

==> You can't change the name property for the soap:fault unless you go
into the source view and edit the attribute directly.
Comment 1 Shivanand Kini 2007-02-26 20:06:59 UTC
This is by design, the soap fault name should be same as the fault name.
Thats why the name field has been made read-only.
Comment 2 jlautz 2007-03-30 03:03:34 UTC
My concern with not letting user change the name property is that if there are
multiple faults, the user should know that any new binding faults will be added
with the name of the first corresponding port operation fault that is not
already represented in the binding operation.

For example, if the port operation has input,output, fault1, fault2, fault3, and
the binding operation has input, output, fault2, then if the user tries to add
new faults, they will automatically be named fault1 and fault3 if you add them
using Add->Fault from the binding operation's context menu.
Comment 3 jlautz 2007-04-05 01:31:03 UTC
I think this should be fixed for the reasons I propose. I'll bump this to a P4,
though.
Comment 4 Martin Balin 2016-07-07 09:57:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss