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

Summary: There is no way to add import onto the remote referenced resource
Product: soa Reporter: Vitaly Bychkov <lativ>
Component: BPEL ProjectAssignee: Sergey Lunegov <slunegov>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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)