axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat Reddy <>
Subject Testcase test.RPCDispatch.TestSerializedRPC
Date Sun, 29 May 2005 16:37:54 GMT
The test method testArgAsDOM() expects the response to match the
request argument. However, the server sends the response with
parameters qualified with xsi types and namespaces, if the
serialization context is invoked. For example, setting dirty flag to
true inside NodeImpl.appendChild() causes the
SerializationContext.serilaze() to be invoked which forces xsi types
to be added to all RPCParams (actually RPCParam.serialize() forces it)
in the request message.  And the test case fails. However, if the
setDirty flag is not set, then event recorder is replayed, instead of
invoking serialization context, and no attributes are added, and the
testcase succeeds.

This makes me feel that the test case might be incorrect. Can someone
comment on this?

-- venkat

View raw message