Probably just needs a new fastinfoset intent that maps onto the
FastInfosetFeature.
Try adding something like the following to the
dsw/cxf-dsw/src/main/resources/OSGI-INF/cxf/intents/intent-map.xml:
<bean id="intentMap" class="org.apache.cxf.dosgi.dsw.qos.IntentMap">
<property name="intents">
<map>
<entry key="addressing" value-ref="nonDecoupledAddressing"/>
<entry key="logging" value-ref="messageLogging"/>
<entry key="SOAP" value-ref="soap11Binding"/>
<entry key="SOAP.1_1" value-ref="soap11Binding"/>
<entry key="SOAP.1_2" value-ref="soap12Binding"/>
<entry key="HTTP" value="PROVIDED"/>
<entry key="fastinfoset" value="fastinfosetFeature"/>
</map>
</property>
</bean>
<bean id="fastinfosetFeature"
class="org.apache.cxf.feature.FastInfosetFeature"/>
Then add "fastinfoset" to the intents property on the client and server side.
Cheers,
Eoghan
2009/7/1 <[email protected]>:
> Hi Dave,
>
> I think Fast Infosets are currently not supported in CXF/DOSGi. I
> can't remember why, maybe Sergey or Eoghan remembers.
> If you manage to get them working, please contribute a patch :)
>
> Cheers,
>
> David
>
> 2009/6/30 daveOSGi <[email protected]>:
>>
>> Hello,
>> I'm trying to use the fast infoset feature with DOSGi and I am having no
>> luck.
>> I have tried with both the 1.0 and 1.1-Snapshot of DOSGi
>>
>> I guess the first question is: Does/should DOSGi support FI CXF feature?
>>
>> If it does/should, what do I need to do to get it to work?
>>
>> I noticed that the FastInfoset-xxxx.jar is not included in the multi
>> distribution of DOSGi and so I went ahead and download a FI bundle from the
>> SpringSource repository and tried to get things to work with that ... but to
>> no avail.
>>
>> I am trying to set up DOSGi to always use FI ... so I beleive i need to
>> configure the CXF bus with the FI feature using the cxf.xml file.
>> Unforunately, it is not clear from the documentation how I would do that in
>> a DOSGi configuration.
>>
>> Can you please provide some guidance on how I should proceed.
>>
>> Thanks in advance.
>>
>> -Dave
>> --
>> View this message in context:
>> http://www.nabble.com/DOSGi-and-Fast-InfoSets-tp24281158p24281158.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
>