SimpleWsResource doesn't work with WSRF-ResourceProperties declared in
different type
-------------------------------------------------------------------------------------
Key: MUSE-127
URL: http://issues.apache.org/jira/browse/MUSE-127
Project: Muse
Issue Type: Bug
Components: Utilities - General, QName, and XML, WSRF WSRP
ResourcePropertyCollection and Capabilities
Affects Versions: 2.0.0, 2.0.0 M2, 2.0.0 M1
Reporter: Oliver Waeldrich
Assigned To: Dan Jemiolo
Initializing a SimpleWsResource with resource properties fails, when the
resource properties are declared as shown below.
<xs:element name="SampleProperties"
type="tns:SamplePropertiesType"/>
<xs:complexType name="SamplePropertiesType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0"
ref="xs:anyType"/>
</xs:sequence>
</xs:complexType>
Reason:
WsdlUtils.getTypeDeclaration() does not return the proper type declaration. It
returns only the element declaration; e.g. the WsrpDoc looks like follows:
<xs:element name="SampleProperties"
type="tns:SamplePropertiesType"/>
When initializing the SimpleResourcePropertiesSchema afterwards, a
NullPointerException is thrown since the type declaration can not be resolved.
A proper type resolution is needed before.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]