@Test public void testResolvePatientRegistryDuplicates() throws Throwable { final String expectedResponse = fileReader .readFile("unitTestMCCI_IN000002UV01.xml"); final PRPAIN201304UV02 requestMock = mock(PRPAIN201304UV02.class); final MCCIIN000002UV01 responseMock = setMCCIIN000002UV01(); XdsbRegistryServiceImpl.returnedValueOfPatientRegistryDuplicatesResolved = responseMock; final XdsbRegistryWebServiceClient wsc = new XdsbRegistryWebServiceClient( address, new SimpleMarshallerImpl()); final String actualResponse = wsc .resolvePatientRegistryDuplicates(requestMock); assertXMLEqual("", expectedResponse, actualResponse); }
public String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input) throws XdsbRegistryClientException { try (XDSRegistryProxy port = createPort()) { final MCCIIN000002UV01 patientRegistryDuplicatesResolvedResponse = port .patientRegistryDuplicatesResolved(input); final String patientRegistryDuplicatesResolvedResponseString = marshaller .marshal(patientRegistryDuplicatesResolvedResponse); return patientRegistryDuplicatesResolvedResponseString; } catch (final SimpleMarshallerException e) { throw new XdsbRegistryClientException(e); } catch (final Exception e) { throw toXdsbRegistryClientException(e); } }
XdsbRegistryWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input) throws XdsbRegistryClientException { try (XDSRegistryProxy port = createPort()) { final MCCIIN000002UV01 patientRegistryDuplicatesResolvedResponse = port .patientRegistryDuplicatesResolved(input); final String patientRegistryDuplicatesResolvedResponseString = marshaller .marshal(patientRegistryDuplicatesResolvedResponse); return patientRegistryDuplicatesResolvedResponseString; } catch (final SimpleMarshallerException e) { throw new XdsbRegistryClientException(e); } catch (final Exception e) { throw toXdsbRegistryClientException(e); } } }
XdsbRegistryWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input) throws XdsbRegistryClientException { try (XDSRegistryProxy port = createPort()) { final MCCIIN000002UV01 patientRegistryDuplicatesResolvedResponse = port .patientRegistryDuplicatesResolved(input); final String patientRegistryDuplicatesResolvedResponseString = marshaller .marshal(patientRegistryDuplicatesResolvedResponse); return patientRegistryDuplicatesResolvedResponseString; } catch (final SimpleMarshallerException e) { throw new XdsbRegistryClientException(e); } catch (final Exception e) { throw toXdsbRegistryClientException(e); } } XdsbRegistryWebServiceClient(String endpointAddress,
			SimpleMarshaller marshaller); }
XdsbRegistryWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input) throws XdsbRegistryClientException { try (XDSRegistryProxy port = createPort()) { final MCCIIN000002UV01 patientRegistryDuplicatesResolvedResponse = port .patientRegistryDuplicatesResolved(input); final String patientRegistryDuplicatesResolvedResponseString = marshaller .marshal(patientRegistryDuplicatesResolvedResponse); return patientRegistryDuplicatesResolvedResponseString; } catch (final SimpleMarshallerException e) { throw new XdsbRegistryClientException(e); } 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); }
XdsbRegistryWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public String resolvePatientRegistryDuplicates(PRPAIN201304UV02 input) throws XdsbRegistryClientException { try (XDSRegistryProxy port = createPort()) { final MCCIIN000002UV01 patientRegistryDuplicatesResolvedResponse = port .patientRegistryDuplicatesResolved(input); final String patientRegistryDuplicatesResolvedResponseString = marshaller .marshal(patientRegistryDuplicatesResolvedResponse); return patientRegistryDuplicatesResolvedResponseString; } catch (final SimpleMarshallerException e) { throw new XdsbRegistryClientException(e); } 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);  }