Class SoapServiceProvidersTest
- java.lang.Object
-
- org.ow2.petals.binding.soap.AbstractComponentTest
-
- org.ow2.petals.binding.soap.listener.outgoing.SoapServiceProvidersTest
-
public class SoapServiceProvidersTest extends AbstractComponentTest
Unit tests about SOAP service providers processing.- Author:
- Christophe DENEUX - Linagora
-
-
Field Summary
-
Fields inherited from class org.ow2.petals.binding.soap.AbstractComponentTest
ATTACHMENT_SU_CONSUME, ATTACHMENT_SU_PROVIDE, BC_SOAP_LISTENING_PORT, chain, COMPONENT, COMPONENT_UNDER_TEST, CONSUMED_OPERATION, CXFSERVER, HTTP_LISTENING_PORT, IN_MEMORY_LOG_HANDLER, INTEGRATION_SVC_CFG, MARSHALLER, SERVICE_NAMESPACE_ATTACHMENT, SERVICE_NAMESPACE_SIMPLE, SIMPLE_SU_CONSUME, SIMPLE_SU_PROVIDE, STANDARD_HTTP_PORT, SVC_ENDPOINT_ATTACHMENT, SVC_ENDPOINT_SIMPLE, SVC_ITF_NAME_ATTACHMENT, SVC_ITF_NAME_SIMPLE, SVC_LOCAL_NAME_ATTACHMENT, SVC_LOCAL_NAME_SIMPLE, SVC_NAME_ATTACHMENT, SVC_NAME_SIMPLE, TEST_OPERATION_ATTACHMENT_ECHO, TEST_OPERATION_SIMPLE_ECHO, TEST_OPERATION_SIMPLE_PRINT, UNMARSHALLER, VALID_SU_CONSUME_POP3, WSS_SIMPLE_SU_CONSUME
-
-
Constructor Summary
Constructors Constructor Description SoapServiceProvidersTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvokeWebService_InOnlyAck()Check the processing of the component when receiving an InOnly service consumer request to invoke an external web-service returning a acknowledgment.voidinvokeWebService_InOnlyError()Check the processing of the component when receiving an InOnly service consumer request to invoke an external web-service returning an error.voidinvokeWebService_InOutError()Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning an error.voidinvokeWebService_InOutFault()Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning a fault.voidinvokeWebService_InOutResponse()Check the processing of the component when receiving an InOut service consumer request to invoke an external web-service returning a nominal response.voidinvokeWebService_RobustInOnlyAck()Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning a acknowledgment.voidinvokeWebService_RobustInOnlyError()Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning an error.voidinvokeWebService_RobustInOnlyFault()Check the processing of the component when receiving an RobustInOnly service consumer request to invoke an external web-service returning a fault.-
Methods inherited from class org.ow2.petals.binding.soap.AbstractComponentTest
addresingMarFileName, avoidClassCastExceptionOnWSCltStub, clearLogTraces, createSimpleServiceConsumerConfiguration, createSimpleServiceProviderConfiguration, restoreHackAvoidingClassCastExceptionOnWSCltStub
-
-
-
-
Method Detail
-
invokeWebService_InOutResponse
public void invokeWebService_InOutResponse() throws ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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 ExceptionCheck 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
-
-