Hi,
I have implemented a request and response esb service and its java client. The service takes an id as an input and returns back EmployeeDetails Object as output. The client works absolutely fine when I run it as ant runtest.
At the same time when i execute the same client using eclipse it gives me following error:
Exception in thread "main" java.lang.NullPointerException at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:408) at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:266) at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:226) at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:428) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:136) at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:178) at client.GetDeatilsClient.main(GetDeatilsClient.java:18)
Hi,
can you make sure that you also have jbossesb-properties.xml available on you classpath.
Regards,
/Daniel