@Test public void testGetNomenclatures() { List<String> nomenclatureAcronyms = Arrays.asList("RecCl"); Nomenclatures result = client.getNomenclatures(operator, producerCode, nomenclatureAcronyms); assertNotNull(result); }
public Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms) { try { Source src = getNomenclaturesSource(operator, producerCode, nomenclatureAcronyms); return getNomenUnmarshaller().unmarshal(src, Nomenclatures.class).getValue(); } catch (JAXBException ex) { String msg = String.format("producer: %s, acronyms: %s", producerCode, nomenclatureAcronyms); throw new IllegalStateException(msg, ex); } }
DesaClient { public Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms) { try { Source src = getNomenclaturesSource(operator, producerCode, nomenclatureAcronyms); return getNomenUnmarshaller().unmarshal(src, Nomenclatures.class).getValue(); } catch (JAXBException ex) { String msg = String.format("producer: %s, acronyms: %s", producerCode, nomenclatureAcronyms); throw new IllegalStateException(msg, ex); } } }
DesaClient { public Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms) { try { Source src = getNomenclaturesSource(operator, producerCode, nomenclatureAcronyms); return getNomenUnmarshaller().unmarshal(src, Nomenclatures.class).getValue(); } catch (JAXBException ex) { String msg = String.format("producer: %s, acronyms: %s", producerCode, nomenclatureAcronyms); throw new IllegalStateException(msg, ex); } } DesaClient(String soapUrl, String restUrl, String user, String passwd); }
DesaClient { public Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms) { try { Source src = getNomenclaturesSource(operator, producerCode, nomenclatureAcronyms); return getNomenUnmarshaller().unmarshal(src, Nomenclatures.class).getValue(); } catch (JAXBException ex) { String msg = String.format("producer: %s, acronyms: %s", producerCode, nomenclatureAcronyms); throw new IllegalStateException(msg, ex); } } DesaClient(String soapUrl, String restUrl, String user, String passwd); SIP2DESATransporter getSipTransporter(String operator, String producerCode); Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms); Source getNomenclaturesSource(String operator, String producerCode, List<String> nomenclatureAcronyms); String submitPackage(File file, String operator, String producerCode,
            String producerSipId, FileHashAlg fileHashAlg, String fileHash, String lang); AuthenticateUserResponse authenticateUser(
            String operator, String passwd, String producerCode); boolean isDebug(); void setDebug(boolean debug); }
DesaClient { public Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms) { try { Source src = getNomenclaturesSource(operator, producerCode, nomenclatureAcronyms); return getNomenUnmarshaller().unmarshal(src, Nomenclatures.class).getValue(); } catch (JAXBException ex) { String msg = String.format("producer: %s, acronyms: %s", producerCode, nomenclatureAcronyms); throw new IllegalStateException(msg, ex); } } DesaClient(String soapUrl, String restUrl, String user, String passwd); SIP2DESATransporter getSipTransporter(String operator, String producerCode); Nomenclatures getNomenclatures(String operator, String producerCode, List<String> nomenclatureAcronyms); Source getNomenclaturesSource(String operator, String producerCode, List<String> nomenclatureAcronyms); String submitPackage(File file, String operator, String producerCode,
            String producerSipId, FileHashAlg fileHashAlg, String fileHash, String lang); AuthenticateUserResponse authenticateUser(
            String operator, String passwd, String producerCode); boolean isDebug(); void setDebug(boolean debug);  }