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