Package com.arjuna.webservices.wsaddr2005

Examples of com.arjuna.webservices.wsaddr2005.ProblemActionType


     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final AttributedURIType action = new AttributedURIType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedAction())
        {
            if (addressingContext.getAction() != null)
            {
View Full Code Here


     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final AttributedURIType messageID = new AttributedURIType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedMessageID())
        {
            if (addressingContext.getMessageID() != null)
            {
View Full Code Here

        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
        if (replyTo != null)
        {
            if (!replyTo.isValid())
            {
                throw new IOException(WSCLogger.log_mesg.getString("com.arjuna.webservices.wsaddr2005.client.WSAddr2005Client_4")) ;
            }
            final AttributedURIType address = replyTo.getAddress() ;
            if (!AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(address.getValue()))
            {
                client.invokeOneWay(soapBodyMessage, toURI) ;
                return null ;
            }
View Full Code Here

     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final EndpointReferenceType replyTo = new EndpointReferenceType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedReplyTo())
        {
            if (addressingContext.getReplyTo() != null)
            {
View Full Code Here

        final SoapDetails soapDetails, final MessageContext context, final MessageContext responseContext,
        final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
        if (replyTo != null)
        {
            if (!replyTo.isValid())
            {
                if (WSCLogger.arjLoggerI18N.isDebugEnabled())
                {
                    WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_1") ;
                }
            }
            else if (!AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(replyTo.getAddress().getValue()))
            {
                final EndpointReferenceType faultTo = addressingContext.getFaultTo() ;
                if (faultTo != null)
                {
                    if (!faultTo.isValid())
                    {
                        if (WSCLogger.arjLoggerI18N.isDebugEnabled())
                        {
                            WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_2") ;
                        }
                    }
                    else if (AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(faultTo.getAddress().getValue()))
                    {
                        return processInvocation(chain, soapService, soapDetails, context, responseContext, action, in) ;
                    }
                }
                TaskManager.getManager().queueTask(new Task() {
View Full Code Here

     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final EndpointReferenceType faultTo = new EndpointReferenceType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedFaultTo())
        {
            if (addressingContext.getFaultTo() != null)
            {
View Full Code Here

     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final EndpointReferenceType from = new EndpointReferenceType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedFrom())
        {
            if (addressingContext.getFrom() != null)
            {
View Full Code Here

     */
    public void invoke(final XMLStreamReader in, final MessageContext context)
        throws XMLStreamException, SoapFault
    {
        final QName headerName = in.getName() ;
        final EndpointReferenceType replyTo = new EndpointReferenceType(in) ;
        final HandlerAddressingContext addressingContext = HandlerAddressingContext.getHandlerContext(context) ;
        if (!addressingContext.isFaultedReplyTo())
        {
            if (addressingContext.getReplyTo() != null)
            {
View Full Code Here

        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
        if (replyTo != null)
        {
            if (!replyTo.isValid())
            {
                throw new IOException(WSCLogger.log_mesg.getString("com.arjuna.webservices.wsaddr2005.client.WSAddr2005Client_4")) ;
            }
            final AttributedURIType address = replyTo.getAddress() ;
            if (!AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(address.getValue()))
            {
                client.invokeOneWay(soapBodyMessage, toURI) ;
                return null ;
            }
View Full Code Here

        final SoapDetails soapDetails, final MessageContext context, final MessageContext responseContext,
        final String action, final XMLStreamReader in)
        throws XMLStreamException, SoapFault
    {
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
        if (replyTo != null)
        {
            if (!replyTo.isValid())
            {
                if (WSCLogger.arjLoggerI18N.isDebugEnabled())
                {
                    WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_1") ;
                }
            }
            else if (!AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(replyTo.getAddress().getValue()))
            {
                final EndpointReferenceType faultTo = addressingContext.getFaultTo() ;
                if (faultTo != null)
                {
                    if (!faultTo.isValid())
                    {
                        if (WSCLogger.arjLoggerI18N.isDebugEnabled())
                        {
                            WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_2") ;
                        }
                    }
                    else if (AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(faultTo.getAddress().getValue()))
                    {
                        return processInvocation(chain, soapService, soapDetails, context, responseContext, action, in) ;
                    }
                }
                TaskManager.getManager().queueTask(new Task() {
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.wsaddr2005.ProblemActionType

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.