use of javax.xml.ws.RequestWrapper in project narayana by jbosstm.
the class ParticipantPortTypeImpl method participantCompleteClose.
/**
*/
@WebMethod(operationName = "ParticipantCompleteClose", action = "http://fabrikam123.com/wsba/ParticipantCompleteClose")
@Oneway
@Action(input = "http://fabrikam123.com/wsba/ParticipantCompleteClose")
@RequestWrapper(localName = "ParticipantCompleteClose", targetNamespace = "http://fabrikam123.com/wsba", className = "com.jboss.transaction.txinterop.webservices.bainterop.generated.TestMessageType")
public void participantCompleteClose() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
BAParticipantProcessor.getParticipant().participantCompleteClose(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 unsolicitedComplete.
/**
*/
@WebMethod(operationName = "UnsolicitedComplete", action = "http://fabrikam123.com/wsba/UnsolicitedComplete")
@Oneway
@Action(input = "http://fabrikam123.com/wsba/UnsolicitedComplete")
@RequestWrapper(localName = "UnsolicitedComplete", targetNamespace = "http://fabrikam123.com/wsba", className = "com.jboss.transaction.txinterop.webservices.bainterop.generated.TestMessageType")
public void unsolicitedComplete() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
BAParticipantProcessor.getParticipant().unsolicitedComplete(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 coordinatorCompleteClose.
/**
*/
@WebMethod(operationName = "CoordinatorCompleteClose", action = "http://fabrikam123.com/wsba/CoordinatorCompleteClose")
@Oneway
@Action(input = "http://fabrikam123.com/wsba/CoordinatorCompleteClose")
@RequestWrapper(localName = "CoordinatorCompleteClose", targetNamespace = "http://fabrikam123.com/wsba", className = "com.jboss.transaction.txinterop.webservices.bainterop.generated.TestMessageType")
public void coordinatorCompleteClose() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
BAParticipantProcessor.getParticipant().coordinatorCompleteClose(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 exit.
/**
*/
@WebMethod(operationName = "Exit", action = "http://fabrikam123.com/wsba/Exit")
@Oneway
@Action(input = "http://fabrikam123.com/wsba/Exit")
@RequestWrapper(localName = "Exit", targetNamespace = "http://fabrikam123.com/wsba", className = "com.jboss.transaction.txinterop.webservices.bainterop.generated.TestMessageType")
public void exit() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
BAParticipantProcessor.getParticipant().exit(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 cannotComplete.
/**
*/
@WebMethod(operationName = "CannotComplete", action = "http://fabrikam123.com/wsba/CannotComplete")
@Oneway
@Action(input = "http://fabrikam123.com/wsba/CannotComplete")
@RequestWrapper(localName = "CannotComplete", targetNamespace = "http://fabrikam123.com/wsba", className = "com.jboss.transaction.txinterop.webservices.bainterop.generated.TestMessageType")
public void cannotComplete() {
MessageContext ctx = webServiceCtx.getMessageContext();
MAP inboundMap = AddressingHelper.inboundMap(ctx);
CoordinationContextType coordinationContext = CoordinationContextManager.getContext(ctx);
try {
BAParticipantProcessor.getParticipant().cannotComplete(coordinationContext, inboundMap);
} catch (SoapFault11 sf) {
sendSoapFault(inboundMap, sf);
return;
}
sendResponse(inboundMap);
}
Aggregations