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 119954 - File binding properties fields should validate values
Summary: File binding properties fields should validate values
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: File BC (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Noel Ang
Depends on:
Reported: 2007-10-24 19:58 UTC by jlautz
Modified: 2008-10-28 00:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Properties dialog showing bizarre file binding property settings. (153.36 KB, application/octet-stream)
2007-10-24 20:00 UTC, jlautz
Deployment errors from JBI/GF (1.08 KB, application/octet-stream)
2007-10-24 20:03 UTC, jlautz

Note You need to log in before you can comment on or make changes to this bug.
Description jlautz 2007-10-24 19:58:52 UTC
Seen with 
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710160000)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\lautz\.netbeans\6.0beta2

Bizarre file binding property values aren't checked until the SA is deployed to the app server. The screenshot showing
the values used and the error messages caught in the runtime are attached.
Comment 1 jlautz 2007-10-24 20:00:46 UTC
Created attachment 51619 [details]
Properties dialog showing bizarre file binding property settings.
Comment 2 jlautz 2007-10-24 20:03:10 UTC
Created attachment 51620 [details]
Deployment errors from JBI/GF
Comment 3 Jun Qian 2007-10-24 22:49:43 UTC
For WSDL port that contains invalid SOAP address, WSDL validation gives the following error message:

C:/Documents and Settings/jqian/My
Error: The <soap:address> element can contain tokens in the following formats: 1)${URL}
2)http(s)://${host}:${Http(s)DefaultPort}/${context}. Either the whole URL is defined as a token or tokens can be
optionally defined for host, port(only ${HttpDefaultPort} or ${HttpsDefaultPort} is allowed), and service context.

For WSDL port that contains invalid FILE address, WSDL validation currently doesn't give any error message.

Two action items are needed for this one:
  1. Add proper WSDL validation to other WSDL extensions (like FILE).
  2. Add extra step in CompApp build process to validate all WSDL files defined in the CompApp Project. 
Comment 4 Jun Qian 2007-10-24 22:54:52 UTC
Reassigning to WSDL validation for item 1.
Comment 5 Nam Nguyen 2007-10-24 23:00:00 UTC
Item #1 belong to enterprise/wsdlextensions/file. Item #2 belongs to enterprise/compapp/...
Why this is an issue with xml ?
Comment 6 Jun Qian 2007-10-24 23:41:30 UTC
Sorry, I couldn't find the subcomponent for wsdlextensions under enterprise. Maybe it belongs to "binding components"?

Yes, I will fix item #2.
Comment 7 Sergey Lunegov 2007-10-25 10:46:59 UTC
Fred, please assign somebody to evaluate this bug.
Comment 8 Sherry Weng 2007-10-26 19:28:28 UTC
Noel, please add more validation in file:address. This will be fixed in the component pack release for File BC.