CXF Component
The cxf: component provides integration with Apache CXF for connecting to JAX-WS services hosted in CXF.
URI format
cxf://address?options or cxf:bean:cxfEndpoint
Where address represents the CXF endpoint's address
Where cxfEndpoint repesents the spring bean's name which presents the CXF endpoint
Options
Name |
Description |
Example |
default value |
---|---|---|---|
wsdlURL |
The location of the WSDL. |
file://local/wsdl/hello.wsdl ![]() or wsdl/hello.wsdl |
|
serviceClass |
The class name of the SEI(Service Endpoint Interface) class which could have JSR181 annotation or not |
org.apache.camel.Hello |
|
serviceName |
The service name this service is implementing, it maps to the wsdl:service@name. |
Unknown macro: {http}
ServiceName |
|
portName |
The port name this service is implementing, it maps to the wsdl:port@name. |
Unknown macro: {http}
ServiceName |
|
dataFormat |
Which data type message that CXF endpoint support |
POJO, PAYLOAD, MESSAGE |
POJO |
The descriptions of the dataformats
DataFormat |
Description |
---|---|
POJO |
POJOs (Plain old Java objects) are the Java parameters to the method, it is invoking on the target server. |
PAYLOAD |
PAYLOAD is the message payload of the message after message configured in the CXF endpoint is applied. |
MESSAGE |
MESSAGE is the raw message that is received from the transport layer. |