Transferring serialized Object using Web service

I want to write a web services program that would use rpc encoded to transfer serialized objects between systems but i am having a problem deploying on my websphere 5.1 server. Is there another method i can use to implement this