Search in sources :

Example 16 with RequestType

use of xeu.bridge_connector.v1.RequestType in project UVMS-Docker by UnionVMS.

the class FluxMessageReceiverBeanIT method postRequestTypeEmptyRequestFailureTest.

/**
 * Post request type empty request failure test.
 */
@Test
public void postRequestTypeEmptyRequestFailureTest() {
    BridgeConnectorPortType bridgeConnectorPortType = createBridgeConnector();
    RequestType requestType = new RequestType();
    ResponseType responseType = bridgeConnectorPortType.post(requestType);
    assertNotNull(responseType);
    assertEquals("NOK", responseType.getStatus());
}
Also used : BridgeConnectorPortType(xeu.bridge_connector.wsdl.v1.BridgeConnectorPortType) RequestType(xeu.bridge_connector.v1.RequestType) ResponseType(xeu.bridge_connector.v1.ResponseType) Test(org.junit.Test) AbstractRestServiceTest(eu.europa.ec.fisheries.uvms.docker.validation.common.AbstractRestServiceTest)

Aggregations

RequestType (oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType)14 Test (org.junit.Test)14 KeyValueCollectionPermission (ddf.security.permission.KeyValueCollectionPermission)9 AttributesType (oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributesType)6 AttributeType (oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeType)5 AttributeValueType (oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeValueType)5 ArrayList (java.util.ArrayList)4 List (java.util.List)4 File (java.io.File)3 StringWriter (java.io.StringWriter)3 Writer (java.io.Writer)3 HashMap (java.util.HashMap)3 JAXBContext (javax.xml.bind.JAXBContext)3 Marshaller (javax.xml.bind.Marshaller)3 ObjectFactory (oasis.names.tc.xacml._3_0.core.schema.wd_17.ObjectFactory)3 ResponseType (oasis.names.tc.xacml._3_0.core.schema.wd_17.ResponseType)3 XmlParser (org.codice.ddf.parser.xml.XmlParser)3 KeyValuePermission (ddf.security.permission.KeyValuePermission)2 AbstractRestServiceTest (eu.europa.ec.fisheries.uvms.docker.validation.common.AbstractRestServiceTest)2 RequestType (xeu.bridge_connector.v1.RequestType)2