Thanks Jeff, your suggestion worked
--
View this message in context:
http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5105681.html
Sent from the cxf-user mailing list archive at Nabble.com.
mapper = new ObjectMapper();
return mapper.writeValueAsString(object);
}
}
Thanks for the help
Prakash
--
View this message in context:
http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-fo
cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5101566.html
Sent from the cxf-user mailing list archive at Nabble.com.
Customer customer = new Customer();
> customer.setName("customer1");
> return javaToJSON(customer);
> }
>
> private String javaToJSON(final Object object) throws IOException {
> ObjectMapper mapper = null;
> mapper = new ObjectMapper();
> return mapper.writeValueAsString(object);
> }
>
> }
>
>
>
>
> Thanks for the help
> Prakash
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5098573.html
> Sent from the cxf-user mailing list archive at Nabble.com.
ctMapper();
return mapper.writeValueAsString(object);
}
}
Thanks for the help
Prakash
--
View this message in context:
http://cxf.547215.n5.nabble.com/Newbie-Question-WARNING-No-root-resource-matching-request-path-has-been-found-tp5098573p5098573.html
Sent from the cxf-user mailing list archive at Nabble.com.