-
1. Re: invoking component from quartz -- problem
davestanley Jun 8, 2009 11:46 AM (in response to chaitanya_chaitu6182)I think you might be missing a slash in the namespace definition of your quartz component.
Can you try this instead:
xmlns:scheduler="http://mdm.nexant.com/SchedularService/"
Regards
/Dave
-
2. Re: invoking component from quartz -- problem
chaitanya_chaitu6182 Jun 9, 2009 4:32 AM (in response to davestanley)Hi dave,
i cahnged the quartz.xml, but still i am facing the same problem.
i think i am doing some mistake in the creation of endpoint.Can you go through the following files.
xbean.xml:
Implementation class:
package com.nexant.mdm;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jbi.component.ComponentContext;
import javax.jbi.messaging.DeliveryChannel;
import javax.jbi.servicedesc.ServiceEndpoint;
import java.util.logging.Logger;
@WebService(name = "SchedularService",
serviceName = "SchedularServiceService",
portName = "SchedularServicePort",
targetNamespace = "http://mdm.nexant.com/SchedularService/")
public class SchedularServiceImpl implements SchedularService {
private ComponentContext context;
@WebMethod
public void startScheduler() {
Logger log=Logger.getLogger(this.getClass().getName());
log.info("started 1");
}
public void setContext(ComponentContext context) {
Logger log=Logger.getLogger(this.getClass().getName());
log.info("started 2");
this.context = context;
}
}