/** * Creates a {@link MessageAddressingProperties} that can be used for creating a reply to the given {@link * EndpointReference}. The {@link #getTo() destination} property will be populated with the {@link * EndpointReference#getAddress() address} of the given EPR, and the {@link #getRelatesTo() relationship} property * will be set to the {@link #getMessageId() message id} property of this instance. the action is specified, the * * @param epr the endpoint reference to create a reply to * @param action the action */ public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId) { return new MessageAddressingProperties(epr, action, messageId, this.messageId); } }
/** * Creates a {@link MessageAddressingProperties} that can be used for creating a reply to the given {@link * EndpointReference}. The {@link #getTo() destination} property will be populated with the {@link * EndpointReference#getAddress() address} of the given EPR, and the {@link #getRelatesTo() relationship} property * will be set to the {@link #getMessageId() message id} property of this instance. the action is specified, the * * @param epr the endpoint reference to create a reply to * @param action the action */ public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId) { return new MessageAddressingProperties(epr, action, messageId, this.messageId); } }
/** * Creates a {@link MessageAddressingProperties} that can be used for creating a reply to the given {@link * EndpointReference}. The {@link #getTo() destination} property will be populated with the {@link * EndpointReference#getAddress() address} of the given EPR, and the {@link #getRelatesTo() relationship} property * will be set to the {@link #getMessageId() message id} property of this instance. the action is specified, the * * @param epr the endpoint reference to create a reply to * @param action the action */ public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId) { return new MessageAddressingProperties(epr, action, messageId, this.messageId); } }
/** * Creates a {@link MessageAddressingProperties} that can be used for creating a reply to the given {@link * EndpointReference}. The {@link #getTo() destination} property will be populated with the {@link * EndpointReference#getAddress() address} of the given EPR, and the {@link #getRelatesTo() relationship} property * will be set to the {@link #getMessageId() message id} property of this instance. the action is specified, the * * @param epr the endpoint reference to create a reply to * @param action the action */ public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId) { return new MessageAddressingProperties(epr, action, messageId, this.messageId); } }
@Override public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException { Assert.isInstanceOf(SoapMessage.class, message); SoapMessage soapMessage = (SoapMessage) message; URI messageId = getMessageIdStrategy().newMessageId(soapMessage); MessageAddressingProperties map = new MessageAddressingProperties(getTo(), getFrom(), getReplyTo(), getFaultTo(), getAction(), messageId); version.addAddressingHeaders(soapMessage, map); }
@Override public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException { Assert.isInstanceOf(SoapMessage.class, message); SoapMessage soapMessage = (SoapMessage) message; URI messageId = getMessageIdStrategy().newMessageId(soapMessage); MessageAddressingProperties map = new MessageAddressingProperties(getTo(), getFrom(), getReplyTo(), getFaultTo(), getAction(), messageId); version.addAddressingHeaders(soapMessage, map); }
public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException { Assert.isInstanceOf(SoapMessage.class, message); SoapMessage soapMessage = (SoapMessage) message; URI messageId = getMessageIdStrategy().newMessageId(soapMessage); MessageAddressingProperties map = new MessageAddressingProperties(getTo(), getFrom(), getReplyTo(), getFaultTo(), getAction(), messageId); version.addAddressingHeaders(soapMessage, map); }
@Override public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException { Assert.isInstanceOf(SoapMessage.class, message); SoapMessage soapMessage = (SoapMessage) message; URI messageId = getMessageIdStrategy().newMessageId(soapMessage); MessageAddressingProperties map = new MessageAddressingProperties(getTo(), getFrom(), getReplyTo(), getFaultTo(), getAction(), messageId); version.addAddressingHeaders(soapMessage, map); }
new MessageAddressingProperties(to, from, replyTo,
@Override public MessageAddressingProperties getMessageAddressingProperties(SoapMessage message) { Element headerElement = getSoapHeaderElement(message); URI to = getUri(headerElement, toExpression); if (to == null) { to = getDefaultTo(); } EndpointReference from = getEndpointReference(fromExpression.evaluateAsNode(headerElement)); EndpointReference replyTo = getEndpointReference(replyToExpression.evaluateAsNode(headerElement)); if (replyTo == null) { replyTo = getDefaultReplyTo(from); } EndpointReference faultTo = getEndpointReference(faultToExpression.evaluateAsNode(headerElement)); if (faultTo == null) { faultTo = replyTo; } URI action = getUri(headerElement, actionExpression); URI messageId = getUri(headerElement, messageIdExpression); return new MessageAddressingProperties(to, from, replyTo, faultTo, action, messageId); }
public MessageAddressingProperties getMessageAddressingProperties(SoapMessage message) { Element headerElement = getSoapHeaderElement(message); URI to = getUri(headerElement, toExpression); if (to == null) { to = getDefaultTo(); } EndpointReference from = getEndpointReference(fromExpression.evaluateAsNode(headerElement)); EndpointReference replyTo = getEndpointReference(replyToExpression.evaluateAsNode(headerElement)); if (replyTo == null) { replyTo = getDefaultReplyTo(from); } EndpointReference faultTo = getEndpointReference(faultToExpression.evaluateAsNode(headerElement)); if (faultTo == null) { faultTo = replyTo; } URI action = getUri(headerElement, actionExpression); URI messageId = getUri(headerElement, messageIdExpression); return new MessageAddressingProperties(to, from, replyTo, faultTo, action, messageId); }
@Override public MessageAddressingProperties getMessageAddressingProperties(SoapMessage message) { Element headerElement = getSoapHeaderElement(message); URI to = getUri(headerElement, toExpression); if (to == null) { to = getDefaultTo(); } EndpointReference from = getEndpointReference(fromExpression.evaluateAsNode(headerElement)); EndpointReference replyTo = getEndpointReference(replyToExpression.evaluateAsNode(headerElement)); if (replyTo == null) { replyTo = getDefaultReplyTo(from); } EndpointReference faultTo = getEndpointReference(faultToExpression.evaluateAsNode(headerElement)); if (faultTo == null) { faultTo = replyTo; } URI action = getUri(headerElement, actionExpression); URI messageId = getUri(headerElement, messageIdExpression); return new MessageAddressingProperties(to, from, replyTo, faultTo, action, messageId); }
@Override public MessageAddressingProperties getMessageAddressingProperties(SoapMessage message) { Element headerElement = getSoapHeaderElement(message); URI to = getUri(headerElement, toExpression); if (to == null) { to = getDefaultTo(); } EndpointReference from = getEndpointReference(fromExpression.evaluateAsNode(headerElement)); EndpointReference replyTo = getEndpointReference(replyToExpression.evaluateAsNode(headerElement)); if (replyTo == null) { replyTo = getDefaultReplyTo(from); } EndpointReference faultTo = getEndpointReference(faultToExpression.evaluateAsNode(headerElement)); if (faultTo == null) { faultTo = replyTo; } URI action = getUri(headerElement, actionExpression); URI messageId = getUri(headerElement, messageIdExpression); return new MessageAddressingProperties(to, from, replyTo, faultTo, action, messageId); }