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 168579 - import location for serviceref is invalid
Summary: import location for serviceref is invalid
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 19:29 UTC by Murali Pottlapelli
Modified: 2009-11-08 09:29 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2009-07-14 19:29:58 UTC
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.
Comment 1 Vitaly Bychkov 2009-07-15 05:58:02 UTC
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).
Comment 2 _ alexpetrov 2009-08-28 18:29:36 UTC
Fixed: http://hg-soabi.stc.com/gfesbv22/rev/131a8d43d887
Comment 3 terrybraun 2009-10-22 23:33:00 UTC
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.
Comment 4 terrybraun 2009-10-26 22:23:55 UTC
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>."
Comment 5 Sergey Lunegov 2009-10-27 09:58:00 UTC
Vladimir, I reassign it to you.
Comment 6 Vladimir Yaroslavskiy 2009-10-27 13:48:31 UTC
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"