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.
When I add a new variable <variable name="callBackAddress" element="ns0:service-ref"> xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/serviceref" referencing "service-ref" definition in BPEL Global catalog it adds invalid import <import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" location="http://docs.oasis- open.org/wsbpel/2.0/serviceref" importType="http://www.w3.org/2001/XMLSchema"/> it should be <import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" location="http://docs.oasis- open.org/wsbpel/2.0/OS/serviceref/ws-bpel_serviceref.xsd" importType="http://www.w3.org/2001/XMLSchema"/> Please refer to "location" attribute, it needs to be corrected.
IMO it is mostly enhancement then issue because location is optional attribute which value isn't required to be a real location url but kind of tip for the external systems to find out the imported resource. At netbeans side we do have a catalog support which resolves service-ref schema from BPEL Global Catalog (netbeans level catalog).
Fixed: http://hg-soabi.stc.com/gfesbv22/rev/131a8d43d887
This issue is tested and verified with the GFESB Build of 10/19/09, including NetBeans IDE 6.7.1 (Build 200910181801). The test was to create a new variable using the following steps: a) Create New Variable b) Expand "Bpel Global Catalog" c) Expand "http://docs.oasis-open.org/wsbpel/2.0/serviceref d) Expand "Global Elements" e) Select "service-ref" and "Ok" Successfully verified that the namespace location="" entry included the desired "ws-bpel_serviceref.xsd" text.
At Murali's request, this issue is being reopened. "Please reject the ticket. I tried it, it is not usable. Hi Alex/Vladimir, Will you please review, document and make sure that <import> location for well know documents is consistent? Here is my thought * Well known documents like ws-bpel, and addressing - Add valid <import>, add a catalog entry. * Runtime extensions - no <import>."
Vladimir, I reassign it to you.
I've verified that other schemas from BPEL Global catalog can be imported as is: <import namespace="<url>" location="<url>" importType="http://www.w3.org/2001/XMLSchema"/> where <url> is the URL of schema show in the list of Global catalog, e.g. "http://docs.oasis-open.org/wsbpel/2.0/plnktype"