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 79206 - Import external XML schema or WSDL definition works incorrect
Summary: Import external XML schema or WSDL definition works incorrect
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Mei Wu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 13:35 UTC by Andrey Yamkovoy
Modified: 2006-09-21 11:16 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 Andrey Yamkovoy 2006-06-27 13:35:49 UTC
Actually, it seems that attribute 'namespace' of 'import' element not used by 
bpel compiler and runtime as well.

Steps to reproduce:
- Create Synchronous sample project.
- Open bpel source editor.
- Change import namespace to some incorrect value, for example:

<import namespace="http://www.mycomp.org/ChangedSynchronousSample" 
location="SynchronousSample.wsdl" 
importType="http://schemas.xmlsoap.org/wsdl/"/>

- Save, build and deploy Synchronous project.
- Run test.

Result:
Project works fine after change namespace in import to incorrect, but should 
not be.
Comment 1 Michael Frisino 2006-07-17 01:57:12 UTC
venkat, maybe this is runtime issue?
Comment 2 Gabriel Badescu 2006-08-31 00:05:28 UTC
are we ignoring the namespace in the engine?
Comment 3 Ritesh Adval 2006-09-06 01:40:21 UTC
I verfied and we do show errors if namespace points to wrong namespace.
This looks like fixed in bpel validation not sure about runtime.

assigning to different subcomponent.
Comment 4 Gabriel Badescu 2006-09-06 22:59:57 UTC
Mei - could you verify whether the engine uses the namespace value correctly - 
does it fail with the incorrect namespace?
Comment 5 Mei Wu 2006-09-15 21:46:40 UTC
It should get fixed in Bpel validation because it is one of the static checks to
ensure a valid bpel is packaged. 
Runtime does not use that attribute, so it should not spend another cycle of
validation which is already done in Bpel validation, otherwise, it will be a
duplication of validation in bpel engine at runtime which is inefficient.
Comment 6 Andrey Yamkovoy 2006-09-21 11:16:47 UTC
fixed in static validator