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 100597 - Inconsistency in the default value of messageRepository element of ftp:message
Summary: Inconsistency in the default value of messageRepository element of ftp:message
Status: RESOLVED WONTFIX
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jim Fu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 12:09 UTC by vinayds
Modified: 2007-04-12 21:23 UTC (History)
0 users

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 vinayds 2007-04-11 12:09:17 UTC
Inconsistency in the default value of messageRepository element of  ftp:message
attribute.
--------------------------------------------------------------------------------
- create a sample ftp wsdl document through wizard.
- the default value of element messageRepository will be empty.
- delete ftp:message element.
- add ftp:message again by by right clicking on input .
- this time value of messageRepository will be "Provide value for this required
attribute".

Build detalis :-
----------------
NetBeans IDE Dev (Build 200704031800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 1 Jim Fu 2007-04-12 21:23:21 UTC
this is by design, and the behavior is the same across all the BC design time - 
WSDL editor

the wsdl created through the wizard is driven by template.xml which provides 
default values for the attribute, say messageRepository (default value = "") of 
ftp:message, or fileDirectory (default value = "c:\temp") of file.message.

however, if the extensibility element is added by righ-click on <wsdl:input> 
and choose "Add"->"FTP Address", the element added is derived from ftp_ext.xsd 
where the definition of the element is as follows:

<xs:attribute name="messageRepository" type="xs:string" use="required">

the generic behavior (of WSDL editor) is to generate an element with attrs 
required and put a place holder attr value "Provide value for this required
attribute".