Package com.arjuna.webservices.wscoor

Examples of com.arjuna.webservices.wscoor.RegisterResponseType


        else if (!callback.hasTriggered())
        {
            throw new SoapFault10(SoapFaultType.FAULT_RECEIVER, null, WSCLogger.log_mesg.getString("com.arjuna.wsc.RegistrationCoordinator_2")) ;
        }
       
        final RegisterResponseType response = callback.getRegisterResponse() ;
        if (response != null)
        {
            return response.getCoordinatorProtocolService() ;
        }
        final SoapFault soapFault = callback.getSoapFault() ;
        final QName subcode = soapFault.getSubcode() ;
        if (CoordinationConstants.WSCOOR_ERROR_CODE_ALREADY_REGISTERED_QNAME.equals(subcode))
        {
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 RegisterResponseType registerResponse = new RegisterResponseType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                RegistrationRequesterProcessor.getRequester().handleRegisterResponse(registerResponse, addressingContext) ;
            }
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendRegisterResponse(final AddressingContext addressingContext, final EndpointReferenceType coordinationProtocolService)
        throws SoapFault, IOException
    {
        final RegisterResponseType response = new RegisterResponseType() ;
        response.setCoordinatorProtocolService(coordinationProtocolService) ;
       
        sendOneWay(response, addressingContext, soapService, registrationCoordinator, null,
            CoordinationConstants.WSCOOR_ELEMENT_REGISTER_RESPONSE_QNAME, registerResponseAction) ;
    }
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 RegisterResponseType registerResponse = new RegisterResponseType(in) ;
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                RegistrationRequesterProcessor.getRequester().handleRegisterResponse(registerResponse, addressingContext) ;
            }
View Full Code Here

        else if (!callback.hasTriggered())
        {
            throw new SoapFault(SoapFaultType.FAULT_RECEIVER, null, WSCLogger.log_mesg.getString("com.arjuna.wsc.RegistrationCoordinator_2")) ;
        }
       
        final RegisterResponseType response = callback.getRegisterResponse() ;
        if (response != null)
        {
            return response.getCoordinatorProtocolService() ;
        }
        final SoapFault soapFault = callback.getSoapFault() ;
        final QName subcode = soapFault.getSubcode() ;
        if (CoordinationConstants.WSCOOR_ERROR_CODE_ALREADY_REGISTERED_QNAME.equals(subcode))
        {
View Full Code Here

     * @throws IOException for any transport errors.
     */
    public void sendRegisterResponse(final AddressingContext addressingContext, final EndpointReferenceType coordinationProtocolService)
        throws SoapFault, IOException
    {
        final RegisterResponseType response = new RegisterResponseType() ;
        response.setCoordinatorProtocolService(coordinationProtocolService) ;
       
        sendOneWay(response, addressingContext, soapService, registrationCoordinator, null,
            CoordinationConstants.WSCOOR_ELEMENT_REGISTER_RESPONSE_QNAME, registerResponseAction) ;
    }
View Full Code Here

TOP

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

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.