So the sample code "SOAP 12.4. Going Further" from Java and XML, Second Edition (2001) doesn't work?
The problem may be on the server side given that the CD instance is serialized on the client side and de-serialized on the server side. Did you make the necessary alterations in the deployment descriptor on the server side?
[ December 10, 2008: Message edited by: Peer Reynders ]