Package com.arjuna.webservices

Examples of com.arjuna.webservices.SoapBody


        final MessageContext messageContext, final MessageContext messageResponseContext,
        final String action, final Reader reader, final SoapDetails soapDetails)
        throws SoapFault, XMLStreamException
    {
        final XMLStreamReader streamReader = SoapUtils.getXMLStreamReader(reader) ;
        final SoapBody response = soapService.parse(messageContext, messageResponseContext, action, streamReader, soapDetails) ;
        return new SoapBodyMessage(response, soapDetails, soapService, messageContext) ;
    }
View Full Code Here


            throws SoapFault
    {
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        try
        {
            final SoapBody response = invokeNext(chain, soapService, soapDetails, context, responseContext, action, in) ;
            if (response != null)
            {
                final AddressingContext responseAddressingContext = AddressingContext.createResponseContext(addressingContext, MessageId.getMessageId()) ;
                final String soapBodyAction = response.getAction() ;
                if (soapBodyAction != null)
                {
                    responseAddressingContext.setAction(new AttributedURIType(soapBodyAction)) ;
                }
                AddressingContext.setContext(responseContext, responseAddressingContext) ;
View Full Code Here

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final NamedElement contents = new NamedElement(bodyName, request) ;
        final SoapBody soapBody = new SoapBody(contents, actionValue) ;
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        return client.invoke(soapBodyMessage, toURL) ;
    }
View Full Code Here

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final NamedElement contents = new NamedElement(bodyName, request) ;
        final SoapBody soapBody = new SoapBody(contents, actionValue) ;
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        client.invokeOneWay(soapBodyMessage, toURL) ;
    }
View Full Code Here

    public SoapMessage process(final MessageContext messageContext, final MessageContext messageResponseContext, final String action, final Reader reader)
    {
        try
        {
            final XMLStreamReader streamReader = SoapUtils.getXMLStreamReader(reader) ;
            final SoapBody response = soapService.parse(messageContext, messageResponseContext, action, streamReader, soapDetails) ;
            if (response == null)
            {
                return null ;
            }
           
View Full Code Here

        final MessageContext messageContext, final MessageContext messageResponseContext,
        final String action, final Reader reader, final SoapDetails soapDetails)
        throws SoapFault, XMLStreamException
    {
        final XMLStreamReader streamReader = SoapUtils.getXMLStreamReader(reader) ;
        final SoapBody response = soapService.parse(messageContext, messageResponseContext, action, streamReader, soapDetails) ;
        return new SoapBodyMessage(response, soapDetails, soapService, messageContext) ;
    }
View Full Code Here

            throws SoapFault
    {
        final AddressingContext addressingContext = AddressingContext.getContext(context) ;
        try
        {
            final SoapBody response = invokeNext(chain, soapService, soapDetails, context, responseContext, action, in) ;
            if (response != null)
            {
                final AddressingContext responseAddressingContext = AddressingContext.createResponseContext(addressingContext, MessageId.getMessageId()) ;
                final String soapBodyAction = response.getAction() ;
                if (soapBodyAction != null)
                {
                    responseAddressingContext.setAction(new AttributedURIType(soapBodyAction)) ;
                }
                AddressingContext.setContext(responseContext, responseAddressingContext) ;
View Full Code Here

    public SoapMessage process(final MessageContext messageContext, final MessageContext messageResponseContext, final String action, final Reader reader)
    {
        try
        {
            final XMLStreamReader streamReader = SoapUtils.getXMLStreamReader(reader) ;
            final SoapBody response = soapService.parse(messageContext, messageResponseContext, action, streamReader, soapDetails) ;
            if (response == null)
            {
                return null ;
            }
           
View Full Code Here

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final NamedElement contents = new NamedElement(bodyName, request) ;
        final SoapBody soapBody = new SoapBody(contents, actionValue) ;
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        return client.invoke(soapBodyMessage, toURL) ;
    }
View Full Code Here

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final NamedElement contents = new NamedElement(bodyName, request) ;
        final SoapBody soapBody = new SoapBody(contents, actionValue) ;
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        client.invokeOneWay(soapBodyMessage, toURL) ;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.SoapBody

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.