if (content == null) {
log.warn("Missing request content in context, skipping ws-addressing");
} else {
ExtendedHttpMethod httpMethod = (ExtendedHttpMethod) context
.getProperty(BaseHttpRequestTransport.HTTP_METHOD);
WsdlOperation operation = ((WsdlRequest) wsdlRequest).getOperation();
// TODO check UsingAddressing for particular endpoint when running a
// request
// ((WsdlRequest)wsdlRequest).getEndpoint();
SoapVersion soapVersion = operation.getInterface().getSoapVersion();
String identifier = ((WsdlRequest) wsdlRequest).getWsrmConfig().getSequenceIdentifier();
long msgNumber = ((WsdlRequest) wsdlRequest).getWsrmConfig().getLastMessageId();
content = new WsrmUtils(content, soapVersion).createNewWSReliableMessagingRequest(
(WsdlRequest) wsdlRequest, identifier, msgNumber, wsdlRequest.getEndpoint());