Not a good idea to try to return a Java object in a web service, it greatly restricts your possible clients.

The whole idea behind web services is to separate the utility of the service from the language of implementation - thats why universal formats like XML and JSON are so widely used.

Bill

Doyle Reece
Greenhorn

Joined: Jan 03, 2014
Posts: 3

posted Jan 03, 2014 08:27:43

0

Hey Bill,
Thanks for your response, it is greatly appreciated.

My goal is to return the contents of the 'Person' Object, I'm not sure how to do this exactly. I was assuming the object would somehow be converted into the soap response format, but not exactly sure how to achieve this.