NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/getprspenaltyrefdata/GetPrsPenaltyRefDataAdapter.java
/**
     * converts beis response to NDS response
     */
converts beis response to NDS response
converts beis response to NDS response
@Override
    protected GetPrsPenaltyRefDataNdsResponse doResponseProcess(GetPRSPenaltyReferenceDataResponse externalResponse,
            NdsSoapRequestAdapterExchangeProxy ndsExchange) throws NdsApplicationException {
        GetPrsPenaltyRefDataNdsResponse getPrsPenaltyRefDataNdsResponse = new GetPrsPenaltyRefDataNdsResponse();
        try {
            TypeConverter converter = ndsExchange.getTypeConverter();
            getPrsPenaltyRefDataNdsResponse = converter.convertTo(GetPrsPenaltyRefDataNdsResponse.class,
                    externalResponse);
        } catch (Exception e) {
            throw new NdsApplicationException("Error occured during response conversion process:  " + e.getMessage(),
                    e);
        }
        logger.info("Successfully created the NDS response");
        return getPrsPenaltyRefDataNdsResponse;
    }
@ Override protected GetPrsPenaltyRefDataNdsResponse doResponseProcess ( GetPRSPenaltyReferenceDataResponse externalResponse , NdsSoapRequestAdapterExchangeProxy ndsExchange ) throws NdsApplicationException { GetPrsPenaltyRefDataNdsResponse getPrsPenaltyRefDataNdsResponse = new GetPrsPenaltyRefDataNdsResponse ( ) ; try { TypeConverter converter = ndsExchange . getTypeConverter ( ) ; getPrsPenaltyRefDataNdsResponse = converter . convertTo ( GetPrsPenaltyRefDataNdsResponse . class , externalResponse ) ; } catch ( Exception e ) { throw new NdsApplicationException ( "Error occured during response conversion process:  " + e . getMessage ( ) , e ) ; } logger . info ( "Successfully created the NDS response" ) ; return getPrsPenaltyRefDataNdsResponse ; }
converts beis response to NDS response
converts beis response to NDS response