you can produce object in form of XML of JSON using 'jackson-binding' jar file which helps u to make your POJO object into JSON format while returning automatically.
Most of RESTfull Web Service frameworks support JSON Post as a request for example JAX-RS
Try to serialize your object using Jackson or GSON to serialize you POJO to JSON and use POST to send them as request to RESTfull Web Service specific method URL