Please see the Configuration section to learn how to supply a configuration to CXF. The following sections include just include the JAX-WS specific configuration informationitems.
Configuring an Endpoint
A JAX-WS Endpoint can be configured in XML in addition to using the JAX-WS APIs. Once you've created your server implementation, you simply need to provide the class name and an address. Here is a simple example:
...
Name | Value |
---|---|
jaxws:executor | A Java executor which will be used for the service. This can be supplied using the Spring <bean class="MyExecutor"/> syntax. |
jaxws:inInterceptors | The incoming interceptors for this endpoint. A list of <bean>s or <ref>s. |
jaxws:inFaultInterceptors | The incoming fault interceptors for this endpoint. A list of <bean>s or <ref>s. |
jaxws:outInterceptors | The outgoing interceptors for this endpoint. A list of <bean>s or <ref>s. |
jaxws:outFaultInterceptors | The outgoing fault interceptors for this endpoint. A list of <bean>s or <ref>s. |
jaxws:properties | A properties map which should be supplied to the JAX-WS endpoint. See below. |
jaxws:dataBinding | You can specify the which DataBinding will be use in the endpoint , This can be supplied using the Spring <bean class="MyDataBinding"/> syntax. |
jaxws:binding | You can specify the BindingFactory for this endpoint to use. This can be supplied using the Spring <bean class="MyBindingFactory"/> syntax. |
jaxws:features | The feautres features that hold the interceptors for this endpoint. A list of <bean>s or <ref>s |
jaxws:invoker | The invoker which will be supplied to this endpoint. This can be supplied using the Spring <bean class="MyInvoker"/> syntax. |
jaxws:schemaLocations | The schema locations for endpoint to use. A list of <schemaLocation>s |
jaxws:serviceFactory | The service factory for this endpoint to use. This can be supplied using the Spring <bean class="MyServiceFactory"/> syntax |
...