Package com.arjuna.webservices

Examples of com.arjuna.webservices.SoapClient.invokeOneWay()


                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 ;
            }
        }
       
        final SoapMessage response = client.invoke(soapBodyMessage, toURI) ;
View Full Code Here


        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        client.invokeOneWay(soapBodyMessage, toURI) ;
    }
   
    /**
     * Send a fault.
     * @param soapFault The SOAP fault.
View Full Code Here

        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) ;
    }
   
    /**
     * Get the destination URI from the addressing context.
     * @param addressingContext The current addressing context.
View Full Code Here

        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) ;
    }
   
    /**
     * Send a fault.
     * @param soapFault The SOAP fault.
View Full Code Here

       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final SoapFaultMessage fault = new SoapFaultMessage(soapFault, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        client.invokeOneWay(fault, toURL) ;
    }
}
View Full Code Here

                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 ;
            }
        }
       
        final SoapMessage response = client.invoke(soapBodyMessage, toURI) ;
View Full Code Here

        final MessageContext messageContext = createMessageContext(addressingContext) ;
        final SoapClient client = getSoapClient(toURI) ;
       
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, soapDetails, soapService, messageContext) ;
       
        client.invokeOneWay(soapBodyMessage, toURI) ;
    }
   
    /**
     * Send a fault.
     * @param soapFault The SOAP fault.
View Full Code Here

        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) ;
    }
   
    /**
     * Get the destination URI from the addressing context.
     * @param addressingContext The current addressing context.
View Full Code Here

        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) ;
    }
   
    /**
     * Send a fault.
     * @param soapFault The SOAP fault.
View Full Code Here

       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final SoapFaultMessage fault = new SoapFaultMessage(soapFault, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        client.invokeOneWay(fault, toURL) ;
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.