Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. CXF Component

...



The *cxf:* component provides integration with [Apache CXF|http://incubator.apache.org/cxf/] for connecting to JAX-WS services hosted in CXF.

...



h3. URI format

...



{code
}
cxf://address

...

?options or cxf:bean:cxfEndpoint
{code}

Where *address* represents the CXF endpoint's address

Where *cxfEndpoint* repesents the spring bean's name which presents the CXF endpoint

h3. 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.  | {http://org.apache.camel/test}ServiceName | |
|portName | The port name this service is implementing, it maps to the wsdl:port@name. | {http://org.apache.camel/test}ServiceName | |
|dataFormat | Which data type message that CXF endpoint support | POJO, PAYLOAD, MESSAGE | POJO |

h4. 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. |

h3. Configure the CXF endpoints with spring



{include:Endpoint See Also}