XdsbRegistryWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public AdhocQueryResponse registryStoredQuery( AdhocQueryRequest registryStoredQuery) { try (XDSRegistryProxy port = createPort()) { final AdhocQueryResponse adhocQueryResponse = port .registryStoredQuery(registryStoredQuery); return adhocQueryResponse; } catch (final Exception e) { throw toXdsbRegistryClientException(e); } } XdsbRegistryWebServiceClient(String endpointAddress,
			SimpleMarshaller marshaller); String addPatientRegistryRecord(PRPAIN201301UV02 input); AdhocQueryResponse registryStoredQuery(
			AdhocQueryRequest registryStoredQuery); String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input); String revisePatientRegistryRecord(PRPAIN201302UV02 input);  }
@Test public void testWSClientSOAPCallWorks_retrieveDocumentSetRequest() { final AdhocQueryRequest adhocQueryRequest = new AdhocQueryRequest(); final XdsbRegistryWebServiceClient wsc = new XdsbRegistryWebServiceClient( address, new SimpleMarshallerImpl()); final Object resp = wsc.registryStoredQuery(adhocQueryRequest); validateResponseOfRetrieveDocumentSetRequest(resp); }
@Test(expected = XdsbRegistryClientException.class) public void testWSClientSOAPCallWorks_retrieveDocumentSetRequest_Throws_Exception() { initExceptionEndpoint(); final AdhocQueryRequest adhocQueryRequest = new AdhocQueryRequest(); final XdsbRegistryWebServiceClient wsc = new XdsbRegistryWebServiceClient( address, new SimpleMarshallerImpl()); final Object resp = wsc.registryStoredQuery(adhocQueryRequest); validateResponseOfRetrieveDocumentSetRequest(resp); }