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 153422

Summary: Support xsd:anyType as a special case of Type Cast
Product: soa Reporter: Nikita Krjukov <supernikita>
Component: BPEL MapperAssignee: Sergey Lunegov <slunegov>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Nikita Krjukov 2008-11-18 20:26:16 UTC
According to XML Schema specification, the xsd:anyType "represents an abstraction called the ur-type which is the base
type from which all simple and complex types are derived". 
It's necessary to create the new special case of Type Cast, which will be used if the casted component has the anyType
type. 

In case of standard TypeCast the chooser dialog suggests only types derived from the casted. 
Unlike the standard TypeCast, the dialog for the new use-case should provide any accessible schema types because any
type can be considered as derived from xsd:anyType.
Comment 1 Nikita Krjukov 2008-12-12 13:41:45 UTC
Fixed in soa-dev http://hg.netbeans.org/soa-dev/rev/ec1546125a2d
Although the changeset is not big, it isn't atomic. It contains another improvements. 

Comment 2 ggenipudi 2009-01-06 19:52:26 UTC
Tested and verified using \\thumper\50builds\gfesb-sync\v2\nightly\20090105-0707 and was able to verify the dialog for
the anytype cast shows up all accessible schema types