| java.lang.Object org.springframework.ws.soap.axiom.AxiomSoapMessageFactory
AxiomSoapMessageFactory | public class AxiomSoapMessageFactory implements SoapMessageFactory,InitializingBean(Code) | | Axiom-specific implementation of the
org.springframework.ws.WebServiceMessageFactory WebServiceMessageFactory interface. Creates
org.springframework.ws.soap.axiom.AxiomSoapMessage AxiomSoapMessages .
To increase reading performance on the the SOAP request created by this message context factory, you can set the
payloadCaching property to false (default is true ). This this will read the
contents of the body directly from the stream. However, when this setting is enabled, the payload can only be
read once. This means that any endpoint mappings or interceptors which are based on the message payload
(such as the PayloadRootQNameEndpointMapping , the PayloadValidatingInterceptor , or the
PayloadLoggingInterceptor ) cannot be used. Instead, use an endpoint mapping that does not consume the
payload (i.e. the SoapActionEndpointMapping ).
Mostly derived from org.apache.axis2.transport.http.HTTPTransportUtils and
org.apache.axis2.transport.TransportUtils , which we cannot use since they are not part of the Axiom
distribution.
author: Arjen Poutsma See Also: AxiomSoapMessage See Also: AxiomSoapMessageFactory.setPayloadCaching(boolean) since: 1.0.0 |
AxiomSoapMessageFactory | public AxiomSoapMessageFactory()(Code) | | Default constructor.
|
getCharSetEncoding | protected String getCharSetEncoding(String contentType)(Code) | | Returns the character set from the given content type. Mostly copied
the character set encoding |
setPayloadCaching | public void setPayloadCaching(boolean payloadCaching)(Code) | | Indicates whether the SOAP Body payload should be cached or not. Default is true . Setting this to
false will increase performance, but also result in the fact that the message payload can only be
read once.
|
|
|