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 151525 - Catching a systemFault does not pass validation
Summary: Catching a systemFault does not pass validation
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 20:25 UTC by Kirill Sorokin
Modified: 2008-10-29 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project (25.71 KB, application/x-compressed)
2008-10-27 20:27 UTC, Kirill Sorokin
Details
modified project that passes build (33.32 KB, application/octet-stream)
2008-10-27 21:51 UTC, ggenipudi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Sorokin 2008-10-27 20:25:15 UTC
As reported on the users@open-esb alias:

> Hello,
> 
> I'm trying to catch a SystemFault in a BPEL process.
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <process
>     ...
>    ...
>     xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
>  
>    <sequence>
>    
> ...
>          <faultHandlers>
>             <catch faultName="sxeh:systemFault" faultVariable="faultVar" faultMessageType="sxeh:faultMessage">
>              ...
>             </catch>
>          </faultHandlers>
> ...
>    </sequence>
> </process>
> 
> 
> I'm getting the error while validating the BPEL:
> ERROR: Element "catch" has reference to another element (via "faultMessageType" attribute value) and this element
cannot be found. Please check namespace declarations, "import" elements, attribute value or name of referenced element.
> 
> Any help appreciated.

I've created a simple sample project and am able to reproduce on the self-made {soerelease} build.
Comment 1 Kirill Sorokin 2008-10-27 20:27:01 UTC
Created attachment 72713 [details]
Sample project
Comment 2 ggenipudi 2008-10-27 21:50:43 UTC
tested and verified using gfesb build 10/24 and was able to reproduce the issue. Changed the Synchronous WSDL to contain
a fault and when I assigned a fault variable to system fault the project built successfully. modified proejct that
passes Build is attached.
Comment 3 ggenipudi 2008-10-27 21:51:42 UTC
Created attachment 72720 [details]
modified project that passes build