I have followed this link for building CXF Restful webservices url link.
If suppose my url is as mentioned below :
http://localhost:8080/CxfRestService/rest/employeeservices/getemployeedetail?employeeId=1&empProfession=software
Here,"empProfession" parameter is optional for me.
So,eventhough if I omit that parameter and hit the below url, I should get the required response. http://localhost:8080/CxfRestService/rest/employeeservices/getemployeedetail?employeeId=1
Can anyone please help me out how to use optional parameters in the CXF Restful webservices.