Class SoapServiceProvidersTest


  • public class SoapServiceProvidersTest
    extends AbstractComponentTest
    Unit tests about SOAP service providers processing.
    Author:
    Christophe DENEUX - Linagora
    • Constructor Detail

      • SoapServiceProvidersTest

        public SoapServiceProvidersTest()
    • Method Detail

      • invokeWebService_InOutResponse

        public void invokeWebService_InOutResponse()
                                            throws Exception

        Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning a nominal response.

        Expected results:

        • no error occurs,
        • the expected reply is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_InOutFault

        public void invokeWebService_InOutFault()
                                         throws Exception

        Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning a fault.

        Expected results:

        • no error occurs,
        • the expected fault is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_InOutError

        public void invokeWebService_InOutError()
                                         throws Exception

        Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning an error.

        Expected results:

        • no error occurs,
        • the expected error is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_RobustInOnlyAck

        public void invokeWebService_RobustInOnlyAck()
                                              throws Exception

        Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning a acknowledgment.

        Expected results:

        • no error occurs,
        • the expected acknowledgment is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_RobustInOnlyFault

        public void invokeWebService_RobustInOnlyFault()
                                                throws Exception

        Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning a fault.

        Expected results:

        • no error occurs,
        • the expected fault is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_RobustInOnlyError

        public void invokeWebService_RobustInOnlyError()
                                                throws Exception

        Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning an error.

        Expected results:

        • no error occurs,
        • the expected error is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_InOnlyAck

        public void invokeWebService_InOnlyAck()
                                        throws Exception

        Check the processing of the component when receiving an InOnly service consumer request to invoke an external web-service returning a acknowledgment.

        Expected results:

        • no error occurs,
        • the expected acknowledgment is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception
      • invokeWebService_InOnlyError

        public void invokeWebService_InOnlyError()
                                          throws Exception

        Check the processing of the component when receiving an InOnly service consumer request to invoke an external web-service returning an error.

        Expected results:

        • no error occurs,
        • the expected error is received by the service consumer,
        • expected MONIT traces are logged
        Throws:
        Exception