Hello experts,
I am trying to run a simple CXF service using DOSGI single bundle . I am
able to start the equinox and I see my plugin being activated but when I
acess the wsdl , I get url not found. I am not sure what I am missing and
would appreciate any help .
I am launching equinox in the eclipse environment . I am using DOSGI single
bundle version 1.2
When I do ss on command prompt , I see
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.5.2.R35x_v20100126
1 ACTIVE cxf-dosgi-ri-singlebundle-distribution_1.2.0
2 ACTIVE DictionaryService_1.0.0.qualifier
3 ACTIVE org.osgi.compendium_4.1.0
osgi>
DictionaryService is my service .
In my activator class I have following code in start method
<code>
props.put("osgi.remote.interfaces", "*");
props.put("osgi.remote.configuration.type", "pojo");
props.put("osgi.remote.configuration.pojo.address",
"http://localhost:9002/DictionaryService");
String interfaceName = DictionaryService.class.getName();
System.out.println("Interface Name is : " + interfaceName);
Object serviceImpl = new DictionaryServiceImpl();
if(serviceImpl == null){
System.out.println("Service Obeject is null" );
}
registration = bc.registerService(interfaceName, serviceImpl,
props);
</code>
When I access http://localhost:9002/DictionaryService?wsdl , I get page not
found .
Am I missing any bundle ?
Is the order of bundles right ? How do I change this order . I tried to set
the order in the run configuration but that does not do anything.
I would appreciate any inputs to solve this problem
Thanks
Sunil
--
View this message in context:
http://cxf.547215.n5.nabble.com/Not-able-to-see-Webservice-in-DOSGI-tp4807984p4807984.html
Sent from the cxf-user mailing list archive at Nabble.com.