My original response was rejected as a spam, possibly because the question was posted from Nabble...so I'm just forwarding it to the users list
Hi If you write a client code (DOSGI or simply JAX-WS) which consumes this service (i.e, it calls some of this service's methods) then you can see if it is working properly. On Fri, Jan 14, 2011 at 8:46 AM, [email protected] <[email protected] >wrote: > > Sorry for posting on this list, but I get no answer on use list. > > I have a remote service declared in an xml file: > > ___________________________________ > > <service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0"> > <service-description> > <provide interface="org.somewhere.services.ServiceImported" > /> > <property name="osgi.remote.interfaces">*</property> > <property > name="osgi.remote.configuration.type">org.apache.cxf.ws</property> > <property > name="osgi.remote.configuration.pojo.address"> > http://somewhere/service?wsdl</property> > </service-description> > > </service-descriptions> > ______________________________________________________ > > How can I verify/test that the resulting proxied service in the target OSGi > framework is correct ? > Are you asking how to test it ? > Is the log entry printed when the remote service is discovered a proof that > service has been imported correctly ? > How can I be sure ? Can I inject (iPOJO) the proxyfied service in my test ? > > I've no experience with iPOJO (though I've heard about it :-)) but you can check the DOSGi trunk (systests2) and see how the proxies are being tested with the help of pax-exam, David may have more comments about it cheers, Sergey Thanks
