-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 2.0.1
-
Component/s: tooling
-
Git Pull Request:
<cxf:relayHeaders>false</cxf:relayHeaders> is placed to the CXF binding definition if you choose Data Format different from POJO. This property applies noly for POJO format http://camel.apache.org/cxf.html. If you deploy an aplication with such a binding you will get:
Caused by: org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed to create route V2CamelCxfBindingModel/OrderService@cxf1#-1580494901: Route(V2CamelCxfBindingModel/OrderService@cxf1#-1580494901)[... because of Failed to resolve endpoint: cxf://http://localhost:8082/camel-cxf/order/OrderService?dataFormat=PAYLOAD&relayHeaders=false&wsdlURL=OrderService.wsdl due to: Failed to resolve endpoint: cxf://http://localhost:8082/camel-cxf/order/OrderService?dataFormat=PAYLOAD&relayHeaders=false&wsdlURL=OrderService.wsdl due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{relayHeaders=false}]
|
The property relayHeaders cannot be removed in other way than by modification of switchyard.xml file directly.