Search in sources :

Example 1 with XMLHeaderService

use of org.apache.headers.XMLHeaderService in project cxf by apache.

the class ClientServerXMLTest method testXMLBindingOfSoapHeaderWSDL.

@Test
public void testXMLBindingOfSoapHeaderWSDL() throws Exception {
    XMLHeaderService service = new XMLHeaderService();
    HeaderTester port = service.getXMLPort9000();
    updateAddressPort(port, REG_PORT);
    try {
        verifyInHeader(port);
        verifyInOutHeader(port);
        verifyOutHeader(port);
    } catch (UndeclaredThrowableException ex) {
        throw (Exception) ex.getCause();
    }
}
Also used : XMLHeaderService(org.apache.headers.XMLHeaderService) HeaderTester(org.apache.headers.HeaderTester) UndeclaredThrowableException(java.lang.reflect.UndeclaredThrowableException) Test(org.junit.Test)

Aggregations

UndeclaredThrowableException (java.lang.reflect.UndeclaredThrowableException)1 HeaderTester (org.apache.headers.HeaderTester)1 XMLHeaderService (org.apache.headers.XMLHeaderService)1 Test (org.junit.Test)1