Hi,

I used below annotations in order to get a xml output.

@Produces({"application/xml, 'text/xml"})

But instead, it output was
"org.example.service.CustomerService$Customer@3289ca5". How do we get a xml
output rather than Json output.
-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to