Element Summary

ElementDescriptionClass
basicAuthCredentialsThis class contains parameters needed to send basic authentication credentialsorg.apache.servicemix.http.BasicAuthCredentials
componentAn http componentorg.apache.servicemix.http.HttpComponent
configurationorg.apache.servicemix.http.HttpConfiguration
consumerPlain HTTP consumer endpoint. This endpoint can be used to handle plain HTTP request (without SOAP) or to be able to process the request in a non standard way. For HTTP requests, a WSDL2 HTTP binding can be used.org.apache.servicemix.http.endpoints.HttpConsumerEndpoint
endpointAn http endpointorg.apache.servicemix.http.HttpEndpoint
providerorg.apache.servicemix.http.endpoints.HttpProviderEndpoint
proxyParametersThis class contains all parameters needed to send http requests through a proxyorg.apache.servicemix.http.ProxyParameters
serializedMarshalerA marshaler that handles Java serialized content from the InputStream of the HttpServletRequest object and to the OutputStream of the HttpServletResponse object. This class is intended to handle requests initiated by the Spring httpinvoker package so the marshaled/unmarshaled XML invocation will be Spring RemoteInvocation/ RemoteInvocationResult objects respectively.

This class makes no assumptions about how XML should be marshaled/unmarshaled. I.e., there is currently no way to customize the marshaled XML invocation. So this marshaler will need to pass the XML to a component that can transform it into some custom XML. The servicemix-saxon component can handle this very easily via XLST.

org.apache.servicemix.http.endpoints.SerializedMarshaler
soap-consumerorg.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint
soap-providerorg.apache.servicemix.http.endpoints.HttpSoapProviderEndpoint
sslParametersThis class contains all parameters needed to create an SSL server or client socket.org.apache.servicemix.http.SslParameters

Element Detail

Element: basicAuthCredentials

AttributeTypeDescription
passwordxs:string
usernamexs:string

Element: component

AttributeTypeDescription
hostxs:string
pathxs:string
portxs:integer
protocolxs:string
ElementTypeDescription
authenticationService<spring:bean/>
client<spring:bean/>
configurationconfiguration
connectionPool<spring:bean/>
endpoints(consumer | endpoint | provider | soap-consumer | soap-provider)*
keystoreManager<spring:bean/>
server<spring:bean/>

Element: configuration

AttributeTypeDescription
authenticationServiceNamexs:string
connectorMaxIdleTimexs:integer
consumerProcessorSuspendTimexs:integer
jettyClientPerProviderxs:boolean
jettyClientThreadPoolSizexs:integer
jettyConnectorClassNamexs:string
jettyManagementxs:boolean
jettyThreadPoolSizexs:integer
keystoreManagerNamexs:string
managedxs:boolean
mappingxs:string
maxConnectionsPerHostxs:integer
maxTotalConnectionsxs:integer
proxyHostxs:string
proxyPortxs:integer
retryCountxs:integer
streamingEnabledxs:boolean
wantHeadersFromHttpIntoExchangexs:boolean
ElementTypeDescription
authenticationService<spring:bean/>
keystoreManager<spring:bean/>

Element: consumer

AttributeTypeDescription
authMethodxs:stringa string naming the scheme used for authenticating users
defaultMepxs:stringa URI representing the endpoint's default MEP. The default is
endpointxs:string
interfaceNamexs:QName
locationURIxs:stringthe URI at which the endpoint listens for requests
servicexs:QName
targetEndpointxs:string
targetInterfacexs:QName
targetOperationxs:QName
targetServicexs:QName
targetUrixs:string
timeoutxs:longthe timeout is specified in milliseconds. The default value is 0 which
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
marshalerserializedMarshalerthe bean used to marshal HTTP messages. The default is a
serviceUnit<spring:bean/>
sslsslParametersa bean containing the SSL configuration properties

Element: endpoint

AttributeTypeDescription
attachmentSupportxs:string
authMethodxs:string
defaultMepxs:string
defaultOperationxs:QName
endpointxs:string
expectGzippedResponsexs:boolean
gzipRequestxs:boolean
interfaceNamexs:QName
locationURIxs:string
overrideContentTypeHeaderxs:string
rolexs:string
roleAsStringxs:string
servicexs:QName
soapxs:boolean
soapActionxs:string
soapVersionxs:string
synchronousxs:boolean
targetEndpointxs:string
targetInterfaceNamexs:QName
targetServicexs:QName
timeoutxs:integer
wantContentTypeHeaderFromExchangeIntoHttpRequestxs:boolean
ElementTypeDescription
basicAuthenticationbasicAuthCredentialsAuthentication parameters used for provider endpoints using BASIC authentication.
binding<spring:bean/>
definition<spring:bean/>
description<spring:bean/>
policies(<spring:bean/>)*
proxyproxyParameters
serviceUnit<spring:bean/>
sslsslParameters
wsdlResource<spring:bean/>

Element: provider

AttributeTypeDescription
attachmentSupportxs:string
clientSoTimeoutxs:integer
endpointxs:string
expectGzippedResponsexs:boolean
gzipRequestxs:boolean
interfaceNamexs:QName
locationURIxs:string
servicexs:QName
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
marshaler<spring:bean/>
serviceUnit<spring:bean/>

Element: proxyParameters

AttributeTypeDescription
proxyHostxs:stringProxy Host through which every http call are emitted
proxyPortxs:integerProxy Port for the proxy host specified
ElementTypeDescription
proxyCredentialsbasicAuthCredentials

Element: serializedMarshaler

AttributeTypeDescription
defaultMepxs:string

Element: soap-consumer

AttributeTypeDescription
authMethodxs:stringa string naming the scheme used for authenticating users
defaultMepxs:stringa URI representing the endpoint's default MEP. The default is
endpointxs:string
interfaceNamexs:QName
locationURIxs:stringthe URI at which the endpoint listens for requests
servicexs:QName
targetEndpointxs:string
targetInterfacexs:QName
targetOperationxs:QName
targetServicexs:QName
targetUrixs:string
timeoutxs:longthe timeout is specified in milliseconds. The default value is 0 which
useJbiWrapperxs:boolean
validateWsdlxs:boolean
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
marshalerserializedMarshalerthe bean used to marshal HTTP messages. The default is a
policies(<spring:bean/>)*
serviceUnit<spring:bean/>
sslsslParametersa bean containing the SSL configuration properties
wsdl<spring:bean/>

Element: soap-provider

AttributeTypeDescription
attachmentSupportxs:string
clientSoTimeoutxs:integer
endpointxs:string
expectGzippedResponsexs:boolean
gzipRequestxs:boolean
interfaceNamexs:QName
locationURIxs:string
servicexs:QName
soapActionxs:string
useJbiWrapperxs:boolean
validateWsdlxs:boolean
ElementTypeDescription
componentcomponent
definition<spring:bean/>
description<spring:bean/>
marshaler<spring:bean/>
policies(<spring:bean/>)*
serviceUnit<spring:bean/>
wsdl<spring:bean/>

Element: sslParameters

AttributeTypeDescription
keyAliasxs:string
keyManagerFactoryAlgorithmxs:string
keyPasswordxs:string
keyStorexs:string
keyStorePasswordxs:string
keyStoreTypexs:string
managedxs:boolean
needClientAuthxs:boolean
protocolxs:string
providerxs:string
trustManagerFactoryAlgorithmxs:string
trustStorexs:string
trustStorePasswordxs:string
trustStoreTypexs:string
wantClientAuthxs:boolean