[
https://issues.apache.org/jira/browse/CXF-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-2320.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.5
The issue has been fixed in CXF, workaround :
JAXRSClientFactoryBean sf = new JAXRSClientFactoryBean();
sf.setAddress(url);
JAXRSBindingFactory factory = new JAXRSBindingFactory();
factory.setBus(sf.getBus());
/*********** 1 - this code will become eventually hidden from the user
***********/
BindingFactoryManager manager =
sf.getBus().getExtension(BindingFactoryManager.class);
manager.registerBindingFactory(JAXRSBindingFactory.JAXRS_BINDING_ID, factory);
/*********** 2 - just a workaround, the client runtime has been fixed to do it
if no ConduitInitiator has been found ***********/
ConduitInitiatorManager cim =
sf.getBus().getExtension(ConduitInitiatorManager.class);
sim.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/http", new
ClientOnlyHTTPTransportFactory());
> Problems using restful client api in ServiceMix JBI component
> -------------------------------------------------------------
>
> Key: CXF-2320
> URL: https://issues.apache.org/jira/browse/CXF-2320
> Project: CXF
> Issue Type: Bug
> Components: Integration, REST
> Affects Versions: 2.2.2
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Fix For: 2.2.5, 2.3
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.