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 160960 - correlation wizard generates wrong query for the attribute
Summary: correlation wizard generates wrong query for the attribute
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 22:40 UTC by Murali Pottlapelli
Modified: 2009-03-24 09:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wsdl document (1.81 KB, text/plain)
2009-03-23 22:41 UTC, Murali Pottlapelli
Details
schema document (1.57 KB, text/plain)
2009-03-23 22:42 UTC, Murali Pottlapelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2009-03-23 22:40:30 UTC
In the correlation wizard, when I have selected id attribute (refer to schema below) in the wizard, it generate the
artifacts. 

    <xsd:complexType name="poType">
        <xsd:sequence>
            ....
            ....
        </xsd:sequence>
        <xsd:attribute name="id" type="xsd:string"/>
    </xsd:complexType>

But xapth query it generated is invalid. 

    <vprop:propertyAlias propertyName="tns:wzrd_prop_id_id" messageType="ns:poMsg" part="part1">
        <vprop:query>/ns0:order/id</vprop:query>
    </vprop:propertyAlias>

xpath should be. @ is missing.
/ns0:order/@id
Comment 1 Murali Pottlapelli 2009-03-23 22:41:56 UTC
Created attachment 78703 [details]
wsdl document
Comment 2 Murali Pottlapelli 2009-03-23 22:42:23 UTC
Created attachment 78704 [details]
schema document
Comment 3 Murali Pottlapelli 2009-03-23 22:46:15 UTC
1. create a BP with two Receive activities.
2. Associate one with calcPOTotalValuePortType and second one with approveCalcPOTotalValue
3. Select 2nd activity and initiate correlation wizard from context menu.
4. Select id attribute on poType and map it in the wizard.
5. complete the wizard.

Validate, it errors on the xpath.