Thank you Lakshmi, I installed bundle for CXF (https://helpx.adobe.com/experience-manager/kb/jaxws-webservice-calls-not-working-aem-65.html) too but now it is giving null reference exception on lineServiceXML serviceXml = new ServiceXML(wsdlURL, SERVICE_NAME);