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