Package com.arjuna.webservices

Examples of com.arjuna.webservices.MessageContext


        final AddressingContext addressingContext, final SoapDetails soapDetails,
        final SoapService soapService)
        throws SoapFault, IOException
    {
        final String toURI = getDestinationURI(addressingContext) ;
        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
View Full Code Here


        final AddressingContext addressingContext, final SoapDetails soapDetails,
        final SoapService soapService)
        throws SoapFault, IOException
    {
        final String toURI = getDestinationURI(addressingContext) ;
        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        client.invokeOneWay(soapBodyMessage, toURI) ;
View Full Code Here

        final AddressingContext addressingContext, final SoapDetails soapDetails,
        final SoapService soapService)
        throws SoapFault, IOException
    {
        final String toURI = getDestinationURI(addressingContext) ;
        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapFaultMessage fault = new SoapFaultMessage(soapFault, soapDetails, soapService, messageContext) ;
        client.invokeOneWay(fault, toURI) ;
    }
View Full Code Here

     * @param addressingContext The current addressing context.
     * @return The message context.
     */
    private static MessageContext createMessageContext(final AddressingContext addressingContext)
    {
        final MessageContext messageContext = new MessageContext() ;
        AddressingContext.setContext(messageContext, addressingContext) ;
        return messageContext ;
    }
View Full Code Here

        addressingContext.setAction(action) ;
        final String actionValue = (action == null ? null : action.getValue()) ;
       
        final String toURL = addressingContext.getTo().getValue() ;
       
        final MessageContext messageContext = new MessageContext() ;
        AddressingContext.setContext(messageContext, addressingContext) ;

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
View Full Code Here

        addressingContext.setAction(action) ;
        final String actionValue = (action == null ? null : action.getValue()) ;
       
        final String toURL = addressingContext.getTo().getValue() ;
       
        final MessageContext messageContext = new MessageContext() ;
        AddressingContext.setContext(messageContext, addressingContext) ;

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
View Full Code Here

        addressingContext.setFrom(from) ;
        addressingContext.setAction(action) ;
       
        final String toURL = addressingContext.getTo().getValue() ;
       
        final MessageContext messageContext = new MessageContext() ;
        if (action != null)
        {
            soapFault.setAction(action.getValue()) ;
        }
        AddressingContext.setContext(messageContext, addressingContext) ;
View Full Code Here

            {
                reader = isr ;
            }
            // KEV - fix action handling for different SOAP versions
            final String action = httpURLConnection.getHeaderField(HttpUtils.SOAP_ACTION_HEADER) ;
            final MessageContext responseMessageContext = new MessageContext() ;
            final MessageContext dummyMessageContext = new MessageContext() ;
            try
            {
                return parseResponse(soapService, responseMessageContext, dummyMessageContext, action, reader, soapDetails) ;
            }
            catch (final XMLStreamException xmlse)
View Full Code Here

            }
            else
            {
                final String action = getHeader(request, HttpUtils.SOAP_ACTION_HEADER) ;
               
                final MessageContext messageContext = new MessageContext() ;
                initialiseContext(messageContext, request) ;
                final MessageContext messageResponseContext = new MessageContext() ;
                final Reader input = request.getReader() ;
                final String contents = HttpUtils.readAll(input) ;
                final Reader reader = new StringReader(contents) ;
                if (logPackets)
                {
View Full Code Here

        final AddressingContext addressingContext, final SoapDetails soapDetails,
        final SoapService soapService)
        throws SoapFault, IOException
    {
        final String toURI = getDestinationURI(addressingContext) ;
        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.MessageContext

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.