@Test(expected = DSSWebServiceClientException.class) public void testSegmentDocumentForDirect_Throws_DSSWebServiceClientException() { ep.stop(); ep = Endpoint.publish(address, new DSSPortTypeImplThrowingException()); final String actualResponse = sut.segmentDocumentForDirect( expectedValueOfDSSRequestForDirect).getSegmentedDocumentXml(); assertEquals(SEGMENTED_DOCUMENT_XML_MOCK, actualResponse); }
public DSSResponseForDirect segmentDocumentForDirect( DSSRequestForDirect request) { try (DSSPortTypeProxy port = createPort()) { return port.segmentDocumentForDirect(request); } catch (final Exception e) { throw toDSSWebServiceClient(e); } }
DSSWebServiceClient extends AbstractCXFLoggingConfigurerClient { public DSSResponseForDirect segmentDocumentForDirect( DSSRequestForDirect request) { try (DSSPortTypeProxy port = createPort()) { return port.segmentDocumentForDirect(request); } catch (final Exception e) { throw toDSSWebServiceClient(e); } } }
DSSWebServiceClient extends AbstractCXFLoggingConfigurerClient { public DSSResponseForDirect segmentDocumentForDirect( DSSRequestForDirect request) { try (DSSPortTypeProxy port = createPort()) { return port.segmentDocumentForDirect(request); } catch (final Exception e) { throw toDSSWebServiceClient(e); } } DSSWebServiceClient(String endpointAddress); }
DSSWebServiceClient extends AbstractCXFLoggingConfigurerClient { public DSSResponseForDirect segmentDocumentForDirect( DSSRequestForDirect request) { try (DSSPortTypeProxy port = createPort()) { return port.segmentDocumentForDirect(request); } catch (final Exception e) { throw toDSSWebServiceClient(e); } } DSSWebServiceClient(String endpointAddress); DSSResponse segmentDocument(DSSRequest request); DSSResponseForDirect segmentDocumentForDirect(
			DSSRequestForDirect request); }
DSSWebServiceClient extends AbstractCXFLoggingConfigurerClient { public DSSResponseForDirect segmentDocumentForDirect( DSSRequestForDirect request) { try (DSSPortTypeProxy port = createPort()) { return port.segmentDocumentForDirect(request); } catch (final Exception e) { throw toDSSWebServiceClient(e); } } DSSWebServiceClient(String endpointAddress); DSSResponse segmentDocument(DSSRequest request); DSSResponseForDirect segmentDocumentForDirect(
			DSSRequestForDirect request);  }