Is it possible that a jax-ws
soap-webservice
can output json
format instead of xml
?
@Component
@WebService
public class HRSService {
@WebMethod
public String test(String value) {
return value; //returned as XML. JSON possible?
}
}
See Question&Answers more detail:os