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 97900 - Artifacts are not resolved when the are refrenced across schema defintions in types
Summary: Artifacts are not resolved when the are refrenced across schema defintions in...
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 20:42 UTC by Murali Pottlapelli
Modified: 2007-04-11 00:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
BPEL project demostrating the issue (9.60 KB, application/octet-stream)
2007-03-14 20:42 UTC, Murali Pottlapelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2007-03-14 20:42:10 UTC
Message defintition points to second inline schema (refer to types copied 
below) element "sumaReturn" defintion refers to first inline schema(refer to 
types copied below)type defintion "Operacion" 

It is not able to resolve "Operacion" artifact.

Because of this BPEL mapper is not expanding the variable structure.


 <wsdl:types>
  <schema elementFormDefault="qualified" 
targetNamespace="http://serv.wsutils.batz.com" 
xmlns="http://www.w3.org/2001/XMLSchema">
   <complexType name="Operacion">
    <sequence>
     <element name="actor" nillable="true" type="xsd:string"/>
     <element name="numPri" type="xsd:int"/>
     <element name="numSec" type="xsd:int"/>
     <element name="result" type="xsd:int"/>
    </sequence>
   </complexType>
  </schema>
  <schema elementFormDefault="qualified" 
  targetNamespace="http://stiperez:7070/axis/services/Sumador" 
  xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:tns1="http://serv.wsutils.batz.com" >
      
   <import namespace="http://serv.wsutils.batz.com"/>
   
   <element name="od" type="impl:Operacion"/>
   <element name="sumaReturn" type="tns1:Operacion"/>
   
   <complexType name="Operacion">
    <sequence>
     <element name="actor" nillable="true" type="xsd:string"/>
     <element name="numPri" type="xsd:int"/>
     <element name="numSec" type="xsd:int"/>
     <element name="result" type="xsd:int"/>
    </sequence>
   </complexType>

  </schema>
 </wsdl:types>
Comment 1 Murali Pottlapelli 2007-03-14 20:42:59 UTC
Created attachment 39491 [details]
BPEL project demostrating the issue
Comment 2 Nam Nguyen 2007-03-15 10:13:37 UTC
Fix checked in:

/cvs/xml/xam/src/org/netbeans/modules/xml/xam/EmbeddableRoot.java,v  <-- 
EmbeddableRoot.java
new revision: 1.3; previous revision: 1.2
/cvs/xml/schema/api/src/org/netbeans/modules/xml/schema/model/impl/ImportImpl.java,v
 <--  ImportImpl.java
new revision: 1.6; previous revision: 1.5
Checking in impl/TypesImpl.java;
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/impl/TypesImpl.java,v
 <--  TypesImpl.java
new revision: 1.6; previous revision: 1.5
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/impl/ImportImpl.java,v
 <--  ImportImpl.java
new revision: 1.6; previous revision: 1.5
/cvs/xml/wsdl/api/src/org/netbeans/modules/xml/wsdl/model/Types.java,v  <-- 
Types.java
new revision: 1.6; previous revision: 1.5
/cvs/xml/wsdl/api/test/unit/src/org/netbeans/modules/xml/wsdl/model/ImportTest.java,v
 <--  ImportTest.java
new revision: 1.4; previous revision: 1.3
Comment 3 Nam Nguyen 2007-03-15 10:15:05 UTC
Fixed in trunk.  Targeted 6.0 unless requires otherwise.
Comment 4 tonybeckham 2007-04-11 00:32:46 UTC
fix VERIFIED in NetBeans IDE Dev (Build 200704091800)