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 100888 - Code created from New WSDL Document wizard and from WSDL view are not in sync
Summary: Code created from New WSDL Document wizard and from WSDL view are not in sync
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 02:27 UTC by _ hong_lin
Modified: 2007-11-05 11:45 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 _ hong_lin 2007-04-13 02:27:31 UTC
Build: Hula build 200704101900

Steps to reproduce:

1. Create a new BPEL Module BpelModule1.
2. Right-click BpelModule1 node, select New -> WSDL Document.
3. Accept default setting, click next.
4. Click Finish.
5. In WSDL editor WSDL view, expand Messages -> newWSDLOperationRequest. 
6. Copy "part1 xsd:string" and paste it under newWSDLOperationRequest.
7. Go to Source view, will see the following codes:

    <message name="newWSDLOperationRequest">
        <part name="part1" type="xsd:string"/>
        <wsdl:part name="part11" type="xsd:string"/>
    </message>

8. They are not in sync: "part name" and "wsdl:part name"
Comment 1 Shivanand Kini 2007-04-16 21:20:15 UTC
not ui issue. Assigning to model.
Comment 2 Shivanand Kini 2007-07-26 19:04:41 UTC
In this case, there are two prefix definitions.
One is the default namespace xmlns="<wsdlnamespace>" and xmlns:wsdl="<wsdlnamespace>"

IMO, the child should have the same namespace as their parent, if the parent has <wsdl:message then child should be
<wsdl:part, if parent is just <message then child should be <part.
Comment 3 Shivanand Kini 2007-10-15 22:13:35 UTC
wsdl model issue
Comment 4 Nam Nguyen 2007-10-19 22:19:03 UTC
I could not reproduce this with current beta2 build.  Since this is reported quite 6 moths ago, I just mark this as fixed.
Could be some recent fix to namespace consolidation in some last milestone also covered this test case.
Please verify.
Comment 5 jlautz 2007-11-05 11:45:49 UTC
Verified fixed.

Product Version: NetBeans IDE Dev (Build 200710290000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\lautz\.netbeans\dev