*/
WSATXAResource createWSATXAResourceForXidFromReplyTo(Xid xid) {
MessageHeaders headerList = (MessageHeaders) context.getMessageContext().get(
com.sun.xml.ws.developer.JAXWSProperties.INBOUND_HEADER_LIST_PROPERTY);
WSEndpointReference wsReplyTo = AddressingUtils.getReplyTo(headerList, AddressingVersion.W3C, SOAPVersion.SOAP_12);
EndpointReference replyTo = wsReplyTo.toSpec();
return new WSATXAResource(version.getVersion(), replyTo, xid, true);
}
/**
* Get the Xid in the header from the WebServiceContext