Created
April 22, 2012 18:02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*service implementation class*/ | |
ProcessAndInstanceManagementImpl pm=new ProcessAndInstanceManagementImpl(server,_store); | |
ProcessAndInstanceManagement _processMgmt=pm; | |
Definition def; | |
try{ | |
WSDLReader wsdlReader=WSDLFactory.newInstance().newWSDLReader(); | |
wsdlReader.setFeature("javax.wsdl.verbose",false); | |
File wsdlFile=new File(rootpath+"/pmapi.wsdl"); /*specifing the wsdl location*/ | |
def=wsdlReader.readWSDL(wsdlFile.toURI().toString()); | |
AxisService processService=ODEAxisService.createService(axisConfig,PM_SERVICE_NAME,PM_PORT_NAME, | |
PM_AXIS2_NAME,def,new DynamicMessageReceiver(_processMgmt)); /*creating the axis2 service*/ | |
axisConfig.addService(processService); | |
}catch(WSDLException e){ | |
__log.error("Couldn't start-up management services!",e); | |
}catch(IOException e){ | |
__log.error("Couldn't start-up management services!",e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment