- public void registerSdnc(String thirdpartySdncId, EsrThirdpartySdncDetail esrSdncDetail)
- throws ExtsysException {
- if (!test.getIsTest()) {
- ClientConfig config = new ClientConfig(new ThirdpartySdncRegisterProvider());
- IExternalSystem registerSdncServiceproxy =
- ConsumerFactory.createConsumer(MsbConfig.getExternalSystemAddr(), config, IExternalSystem.class);
- try {
- registerSdncServiceproxy.registerThirdpartySdnc(transactionId, fromAppId, authorization,
- thirdpartySdncId, esrSdncDetail);
- } catch (Exception e) {
- throw new ExtsysException("PUT thirdparty SDNC to A&AI failed.", e);
- }
+ public void registerSdnc(String thirdpartySdncId, EsrThirdpartySdncDetail esrSdncDetail) throws ExtsysException {
+ ClientConfig config = new ClientConfig(new ThirdpartySdncRegisterProvider());
+ IExternalSystem registerSdncServiceproxy =
+ ConsumerFactory.createConsumer(MsbConfig.getExternalSystemAddr(), config, IExternalSystem.class);
+ try {
+ registerSdncServiceproxy.registerThirdpartySdnc(transactionId, fromAppId, authorization, thirdpartySdncId,
+ esrSdncDetail);
+ } catch (Exception e) {
+ throw new ExtsysException("PUT thirdparty SDNC to A&AI failed.", e);