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 81842 - WSDL editor can't resolve messages defined in other WSDL with same namespace
Summary: WSDL editor can't resolve messages defined in other WSDL with same namespace
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
: 81298 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-03 17:44 UTC by Mikhail Kondratyev
Modified: 2006-08-29 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test project (8.65 KB, application/octet-stream)
2006-08-03 17:45 UTC, Mikhail Kondratyev
Details
a minor problem fixed in sample (8.72 KB, application/octet-stream)
2006-08-03 17:53 UTC, Mikhail Kondratyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2006-08-03 17:44:27 UTC
Steps to reproduce:
 - open the project attached
 - open the GoogleFlow wsdl
 - try to validate it. The validator will say that tns1:doGoogleSearch can't be
found. This is not correct. 

If you change target namespace of the GoogleFlow.wsdl (and tns prefix value
accordingly) the WSDL will be validated successfully.
Comment 1 Mikhail Kondratyev 2006-08-03 17:45:05 UTC
Created attachment 32505 [details]
test project
Comment 2 Mikhail Kondratyev 2006-08-03 17:52:58 UTC
please use the second attachment with a bit corrected wsdl
Comment 3 Mikhail Kondratyev 2006-08-03 17:53:46 UTC
Created attachment 32506 [details]
a minor problem fixed in sample
Comment 4 Nam Nguyen 2006-08-08 19:44:13 UTC
Thanks for the data files.  I have incorporate the wsdl's to the module unit tests.

Fix checked in release55:

/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/impl/WSDLModelImpl.java,v
 <--  WSDLModelImpl.java
new revision: 1.2.2.18; previous revision: 1.2.2.17
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/impl/GlobalReferenceImpl.java,v
 <--  GlobalReferenceImpl.java
new revision: 1.2.2.6; previous revision: 1.2.2.5
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/WSDLModel.java,v  <--
 WSDLModel.java
new revision: 1.2.2.11; previous revision: 1.2.2.10
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/validator/visitor/Attic/WSDLSemanticsVisitor.java,v
 <--  WSDLSemanticsVisitor.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
/cvs/xml/wsdl/api/test/unit/src/org/netbeans/modules/xml/wsdl/model/resources/Attic/GoogleSearch.wsdl,v
 <--  GoogleSearch.wsdl
new revision: 1.1.2.1; previous revision: 1.1
/cvs/xml/wsdl/api/test/unit/src/org/netbeans/modules/xml/wsdl/model/resources/Attic/GoogleFlow.wsdl,v
 <--  GoogleFlow.wsdl
new revision: 1.1.2.1; previous revision: 1.1
/cvs/xml/wsdl/api/test/unit/src/org/netbeans/modules/xml/wsdl/model/ImportTest.java,v
 <--  ImportTest.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
Comment 5 Nam Nguyen 2006-08-16 17:13:45 UTC
*** Issue 81298 has been marked as a duplicate of this issue. ***
Comment 6 Mikhail Kondratyev 2006-08-29 10:34:21 UTC
Verified with build from 06.08.25