Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Text cleanup

...

Code Block
cxf:bean:cxfEndpoint

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

...

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) implementation 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

}
ServiceName

 

portName

The port name this service is implementing, it maps to the wsdl:port@name.

{

http://org.apache.camel

}
PortName

 

dataFormat

Which data type message that CXF endpoint support

POJO, PAYLOAD, MESSAGE

POJO

...

DataFormat

Description

POJO

POJOs (Plain old Java objects) are the Java parameters to the method , it is invoking being invoked on the target server.

PAYLOAD

PAYLOAD is the message payload (the contents of the message soap:body) after message configured configuration in the CXF endpoint is applied.

MESSAGE

MESSAGE is the raw message that is received from the transport layer.

...

You can configure the CXF endpoint with the below spring configuration file, and you can also embedded embed the endpoint into the camelContext tags.

...

You can find more advanced example examples which shows show how to provide interceptors and properties here: http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html

...