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 79946 - Get "Mising "targetNamespace" attribute" error when import an IDE created wsdl file
Summary: Get "Mising "targetNamespace" attribute" error when import an IDE created wsd...
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 01:45 UTC by _ hong_lin
Modified: 2006-07-13 00:15 UTC (History)
2 users (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 _ hong_lin 2006-07-11 01:45:51 UTC
Build: NB 5.5 dev 200607100200

Steps to reproduce it:

1. Create a new SOA BEPL Module project BpelModule1.
2. In Projects window, expand BpelModule1 -> Source Packages -> <Default
Package> (In this build, the name of node "<Default Package>" is missing).
3. Right-click the "<Default Package>" node, select "New -> WSDL..." item in the
context menu.
4. Enter "mywsdl" in the "File Name" field. Click Finish button. "mywsdl.wsdl"
file is created and is opened in the Editor window.
5. In the "mywsdl.wsdl" Editor window (WSDL view), right-click the "mywsdl"
node, select "Add -> Import ..." item in the context menu.
6. In the "Import xsd or wsdl" dialog, expand "BpelModule1 - Source Packages"
node. Select "BpelModule1_1.wsdl" node.
==> The following error message is displayed in the upper side of the "Import
xsd or wsdl" dialog: Mising "targetNamespace" attribute. (See attached snapshot
targetNamespace.PNG file)

Note: 
1. Tried the same steps with SychnorounsSample project, got the same error.
2. There is a typo in the error message: "Mising".
Comment 1 _ hong_lin 2006-07-11 08:47:57 UTC
This bug blocks BPEL tutorial development. Change the Priority to P1.
Comment 2 Shivanand Kini 2006-07-11 19:43:58 UTC
Corrected the typo.
Corrected the logic to find definitions tag in a wsdl to handle prefixes
(wsdl:definitions)
Comment 3 _ hong_lin 2006-07-13 00:15:10 UTC
Verified the bug is fixed in build NB 5.5 Dev 200607120500