use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method retryCommit.
/**
*/
@WebMethod(operationName = "RetryCommit", action = "http://fabrikam123.com/RetryCommit")
@Oneway
@Action(input = "http://fabrikam123.com/RetryCommit")
@RequestWrapper(localName = "RetryCommit", targetNamespace = "http://fabrikam123.com", className = "com.jboss.transaction.txinterop.webservices.atinterop.generated.TestMessageType")
public void retryCommit() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
ATParticipantProcessor.getParticipant().retryCommit(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method rollback.
/**
*/
@WebMethod(operationName = "Rollback", action = "http://fabrikam123.com/Rollback")
@Oneway
@Action(input = "http://fabrikam123.com/Rollback")
@RequestWrapper(localName = "Rollback", targetNamespace = "http://fabrikam123.com", className = "com.jboss.transaction.txinterop.webservices.atinterop.generated.TestMessageType")
public void rollback() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
ATParticipantProcessor.getParticipant().rollback(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method replayCommit.
/**
*/
@WebMethod(operationName = "ReplayCommit", action = "http://fabrikam123.com/ReplayCommit")
@Oneway
@Action(input = "http://fabrikam123.com/ReplayCommit")
@RequestWrapper(localName = "ReplayCommit", targetNamespace = "http://fabrikam123.com", className = "com.jboss.transaction.txinterop.webservices.atinterop.generated.TestMessageType")
public void replayCommit() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
ATParticipantProcessor.getParticipant().replayCommit(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method lostCommitted.
/**
*/
@WebMethod(operationName = "LostCommitted", action = "http://fabrikam123.com/LostCommitted")
@Oneway
@Action(input = "http://fabrikam123.com/LostCommitted")
@RequestWrapper(localName = "LostCommitted", targetNamespace = "http://fabrikam123.com", className = "com.jboss.transaction.txinterop.webservices.atinterop.generated.TestMessageType")
public void lostCommitted() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
ATParticipantProcessor.getParticipant().lostCommitted(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method earlyAborted.
/**
*/
@WebMethod(operationName = "EarlyAborted", action = "http://fabrikam123.com/EarlyAborted")
@Oneway
@Action(input = "http://fabrikam123.com/EarlyAborted")
@RequestWrapper(localName = "EarlyAborted", targetNamespace = "http://fabrikam123.com", className = "com.jboss.transaction.txinterop.webservices.atinterop.generated.TestMessageType")
public void earlyAborted() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
ATParticipantProcessor.getParticipant().earlyAborted(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
Aggregations