Package com.arjuna.webservices.wscoor

Examples of com.arjuna.webservices.wscoor.CreateCoordinationContextResponseType


        else if (!callback.hasTriggered())
        {
            throw new SoapFault10(SoapFaultType.FAULT_RECEIVER, null, WSCLogger.log_mesg.getString("com.arjuna.wsc.ActivationCoordinator_2")) ;
        }
       
        final CreateCoordinationContextResponseType response = callback.getCreateCoordinationContextResponse() ;
        if (response != null)
        {
            return response.getCoordinationContext() ;
        }
        final SoapFault soapFault = callback.getSoapFault() ;
        if (CoordinationConstants.WSCOOR_ERROR_CODE_INVALID_PARAMETERS_QNAME.equals(soapFault.getSubcode()))
        {
            throw new InvalidCreateParametersException(soapFault.getReason()) ;
View Full Code Here


     */
    public SoapBody invoke(final SoapDetails soapDetails, final MessageContext context,
        final MessageContext responseContext, final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final CreateCoordinationContextResponseType createCoordinationContextResponse = new CreateCoordinationContextResponseType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                ActivationRequesterProcessor.getRequester().handleCreateCoordinationContextResponse(createCoordinationContextResponse, addressingContext) ;
            }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendCreateCoordinationResponse(final AddressingContext addressingContext, final CoordinationContextType coordinationContext)
        throws SoapFault, IOException
    {
        final CreateCoordinationContextResponseType response = new CreateCoordinationContextResponseType() ;
        response.setCoordinationContext(coordinationContext) ;
       
        sendOneWay(response, addressingContext, soapService, activationCoordinator, null,
            CoordinationConstants.WSCOOR_ELEMENT_CREATE_COORDINATION_CONTEXT_RESPONSE_QNAME,
            createCoordinationContextResponseAction) ;
    }
View Full Code Here

     */
    public SoapBody invoke(final SoapDetails soapDetails, final MessageContext context,
        final MessageContext responseContext, final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final CreateCoordinationContextResponseType createCoordinationContextResponse = new CreateCoordinationContextResponseType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                ActivationRequesterProcessor.getRequester().handleCreateCoordinationContextResponse(createCoordinationContextResponse, addressingContext) ;
            }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendCreateCoordinationResponse(final AddressingContext addressingContext, final CoordinationContextType coordinationContext)
        throws SoapFault, IOException
    {
        final CreateCoordinationContextResponseType response = new CreateCoordinationContextResponseType() ;
        response.setCoordinationContext(coordinationContext) ;
       
        sendOneWay(response, addressingContext, soapService, activationCoordinator, null,
            CoordinationConstants.WSCOOR_ELEMENT_CREATE_COORDINATION_CONTEXT_RESPONSE_QNAME,
            createCoordinationContextResponseAction) ;
    }
View Full Code Here

        else if (!callback.hasTriggered())
        {
            throw new SoapFault(SoapFaultType.FAULT_RECEIVER, null, WSCLogger.log_mesg.getString("com.arjuna.wsc.ActivationCoordinator_2")) ;
        }
       
        final CreateCoordinationContextResponseType response = callback.getCreateCoordinationContextResponse() ;
        if (response != null)
        {
            return response.getCoordinationContext() ;
        }
        final SoapFault soapFault = callback.getSoapFault() ;
        if (CoordinationConstants.WSCOOR_ERROR_CODE_INVALID_PARAMETERS_QNAME.equals(soapFault.getSubcode()))
        {
            throw new InvalidCreateParametersException(soapFault.getReason()) ;
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.wscoor.CreateCoordinationContextResponseType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.