i used the tool java2ws from apache cxf to convert java to wsdl but it generates soap binding. How can i make it generate rest bindings ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WSDLs are associated with SOAP (think JAX-WS), while WADL is associated with REST. In my opinion, I would follow JAX-RS and implement the web service with something like Jersey, although CXF does implement JAX-RS.