I was wondering if anyone ever had this issue as it has me blocked. I have a
method that returns an array. The message comes back fine to my class and it
looks like this (edited parts as it is longish)
<soapenv:Body>
<muse-op:estimateResponse
xmlns:muse-op="http://autonomic.ibm.com/muse/estimator/execution"
xmlns:tns="http://axis2.platform.core.muse.apache.org">
<muse-op:estimateResponse>
<estim:name
xmlns:estim="http://autonomic.ibm.com/muse/filter/execution">CPUDemand</estim:name>
<estim:variable
xmlns:estim="http://autonomic.ibm.com/muse/filter/execution">
<estim:variableName>parameter value</estim:variableName>
<estim:variableValue>5.0</estim:variableValue>
<estim:variableType>Undefined</estim:variableType>
</estim:variable>
</muse-op:estimateResponse>
<muse-op:estimateResponse>
<estim:name
xmlns:estim="http://autonomic.ibm.com/muse/filter/execution">ThinkTime</estim:name>
<estim:variable
xmlns:estim="http://autonomic.ibm.com/muse/filter/execution">
<estim:variableName>parameter value</estim:variableName>
<estim:variableValue>5000.0</estim:variableValue>
<estim:variableType>Undefined</estim:variableType>
</estim:variable>
</muse-op:estimateResponse>
</muse-op:estimateResponse>
</soapenv:Body>
In my code I then try to cast this to an Element array, but I get a class
cast exception
java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl
incompatible with [Lorg.w3c.dom.Element;
--
View this message in context:
http://www.nabble.com/DeferredElementNSImpl-class-cast-exception-tf4307435.html#a12262022
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]