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 164166 - There is no way to add import onto the remote referenced resource
Summary: There is no way to add import onto the remote referenced resource
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 10:22 UTC by Vitaly Bychkov
Modified: 2009-05-23 02:14 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 Vitaly Bychkov 2009-04-30 10:22:33 UTC
There is no way to add import onto the external referenced resource.

Steps to reproduce: 
1. Create new Bpel Project 
2. Add remote referenced resource - e.g. http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
3. try to add import to the remote referenced resource
See IllegalArgumentException appears:

java.lang.IllegalArgumentException:
D:/Sandbox/refres/TestBpelExtRefREs/nbproject/private/cache/retriever/webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
is not in project source
	at
org.netbeans.modules.xml.catalogsupport.DefaultProjectCatalogSupport.getReferenceURI(DefaultProjectCatalogSupport.java:222)
	at org.netbeans.modules.xml.xam.ui.customizer.ExternalReferenceCreator.applyChanges(ExternalReferenceCreator.java:155)
	at org.netbeans.modules.bpel.properties.importchooser.BpelImportCreator.applyChanges(BpelImportCreator.java:62)
	at org.netbeans.modules.xml.xam.ui.customizer.AbstractComponentCustomizer.apply(AbstractComponentCustomizer.java:88)
	at org.netbeans.modules.xml.schema.ui.basic.UIUtilities$2.actionPerformed(UIUtilities.java:257)
	at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1139)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)