Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Consuming a CXF/DOSGi based Service with ECF Client?

On 06/22/2011 02:35 PM, Marcus Engelhardt wrote:
> I think CXF/DOSGi does register an XML description of the service. In
> case of my test service this look like:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <endpoint-descriptions xmlns="http://www.osgi.org/xmlns/rsa/v1.0.0";>
> <endpoint-description>
> <property name="endpoint.framework.uuid"
> value="7464d128-cdc6-4817-bba8-c89ac18f2d54" />
> <property name="endpoint.id"
> value="http://localhost:9191/libraryservice"; />
> <property name="endpoint.package.version.de.bht.pfk.serviceinterface"
> value="0.0.0" />
> <property name="endpoint.service.id" value-type="Long" value="31" />
> <property name="objectClass">
> <array>
> <value>de.bht.pfk.serviceinterface.LibraryServiceREST</value>
> </array>
> </property>
> <property name="org.apache.cxf.rs.address"
> value="http://localhost:9191/libraryservice"; />
> <property name="org.apache.cxf.rs.databinding" value="jaxb" />
> <property name="service.imported" value="true" />
> <property name="service.imported.configs">
> <array>
> <value>org.apache.cxf.rs</value>
> </array>
> </property>
> <property name="service.intents">
> <array>
> <value>HTTP</value>
> </array>
> </property>
> </endpoint-description>
> </endpoint-descriptions>

This XML file look familiar. You should check and see if you can feed it
to ECF's endpoint description directly.

Markus


Back to the top