Spring WebService

Spring WebService

Scheme: spring-ws
Name Kind Type Required Deprecated Default Value Enum Values Description
webServiceEndpointUri path java.lang.String false The default Web Service endpoint uri to use for the producer.
type path org.apache.camel.component.spring.ws.type.EndpointMappingType false ROOT_QNAME
ACTION
TO
SOAP_ACTION
XPATHRESULT
URI
URI_PATH
BEANNAME
Endpoint mapping type if endpoint mapping is used.
  • rootqname - Offers the option to map web service requests based on the qualified name of the root element contained in the message.
  • soapaction - Used to map web service requests based on the SOAP action specified in the header of the message.
  • uri - In order to map web service requests that target a specific URI.
  • xpathresult - Used to map web service requests based on the evaluation of an XPath expression against the incoming message. The result of the evaluation should match the XPath result specified in the endpoint URI.
  • beanname - Allows you to reference an org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher object in order to integrate with existing (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc
lookupKey path java.lang.String false Endpoint mapping key if endpoint mapping is used
messageFilter parameter org.apache.camel.component.spring.ws.filter.MessageFilter false Option to provide a custom MessageFilter. For example when you want to process your headers or attachments by your own.
webServiceTemplate parameter org.springframework.ws.client.core.WebServiceTemplate false Option to provide a custom WebServiceTemplate. This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory.
messageSender parameter org.springframework.ws.transport.WebServiceMessageSender false Option to provide a custom WebServiceMessageSender. For example to perform authentication or use alternative transports
messageFactory parameter org.springframework.ws.WebServiceMessageFactory false Option to provide a custom WebServiceMessageFactory. For example when you want Apache Axiom to handle web service messages instead of SAAJ.
soapAction parameter java.lang.String false SOAP action to include inside a SOAP request when accessing remote web services
wsAddressingAction parameter java.net.URI false WS-Addressing 1.0 action header to include when accessing web services. The To header is set to the address of the web service as specified in the endpoint URI (default Spring-WS behavior).
outputAction parameter java.net.URI false Signifies the value for the response WS-Addressing Action header that is provided by the method. @see {@link Action}
faultAction parameter java.net.URI false Signifies the value for the faultAction response WS-Addressing Fault Action header that is provided by the method. @see {@link Action}
faultTo parameter java.net.URI false Signifies the value for the faultAction response WS-Addressing FaultTo header that is provided by the method. @see {@link Action}
replyTo parameter java.net.URI false Signifies the value for the replyTo response WS-Addressing ReplyTo header that is provided by the method. @see {@link Action}
messageIdStrategy parameter org.springframework.ws.soap.addressing.messageid.MessageIdStrategy false Option to provide a custom MessageIdStrategy to control generation of unique message ids.
timeout parameter int false Sets the socket read timeout (in milliseconds) while invoking a webservice using the producer, see URLConnection.setReadTimeout() and CommonsHttpMessageSender.setReadTimeout(). This option works when using the built-in message sender implementations: CommonsHttpMessageSender and HttpUrlConnectionMessageSender. One of these implementations will be used by default for HTTP based services unless you customize the Spring WS configuration options supplied to the component. If you are using a non-standard sender, it is assumed that you will handle your own timeout configuration. The built-in message sender HttpComponentsMessageSender is considered instead of CommonsHttpMessageSender which has been deprecated, see HttpComponentsMessageSender.setReadTimeout().
endpointMapping parameter org.apache.camel.component.spring.ws.bean.CamelSpringWSEndpointMapping false Reference to an instance of org.apache.camel.component.spring.ws.bean.CamelEndpointMapping in the Registry/ApplicationContext. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints. This bean is auto-discovered by the MessageDispatcher and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)
endpointDispatcher parameter org.apache.camel.component.spring.ws.bean.CamelEndpointDispatcher false Spring {@link org.springframework.ws.server.endpoint.MessageEndpoint} for dispatching messages received by Spring-WS to a Camel endpoint, to integrate with existing (legacy) endpoint mappings like PayloadRootQNameEndpointMapping, SoapActionEndpointMapping, etc.
sslContextParameters parameter org.apache.camel.util.jsse.SSLContextParameters false To configure security using SSLContextParameters
expression parameter java.lang.String false The XPath expression to use when option type=xpathresult. Then this option is required to be configured.
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

spring-ws consumer