NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/getprsexemptionrefdata/GetPrsExemptionRefDataAdapter.java
/**
     * converts NDS request to BEIS request
     */
converts NDS request to BEIS request
converts NDS request to BEIS request
@Override
    protected GetPRSExemptionReferenceDataRequest doRequestProcess(GetPrsExemptionRefDataNdsRequest request,
            NdsSoapRequestAdapterExchangeProxy ndsExchange) throws NdsApplicationException {
        ndsExchange.setOperationName("GetPRSExemptionReferenceDataWSDL");
        GetPRSExemptionReferenceDataRequest getPRSExemptionReferenceDataRequest = new GetPRSExemptionReferenceDataRequest();
        try {
            TypeConverter converter = ndsExchange.getTypeConverter();
            getPRSExemptionReferenceDataRequest = converter.convertTo(GetPRSExemptionReferenceDataRequest.class,
                    request);
        } catch (Exception e) {
            throw new NdsApplicationException("Error occured during request conversion process:  " + e.getMessage(), e);
        }
        logger.info("Successfully created the BEIS request");
        return getPRSExemptionReferenceDataRequest;
    }
@ Override protected GetPRSExemptionReferenceDataRequest doRequestProcess ( GetPrsExemptionRefDataNdsRequest request , NdsSoapRequestAdapterExchangeProxy ndsExchange ) throws NdsApplicationException { ndsExchange . setOperationName ( "GetPRSExemptionReferenceDataWSDL" ) ; GetPRSExemptionReferenceDataRequest getPRSExemptionReferenceDataRequest = new GetPRSExemptionReferenceDataRequest ( ) ; try { TypeConverter converter = ndsExchange . getTypeConverter ( ) ; getPRSExemptionReferenceDataRequest = converter . convertTo ( GetPRSExemptionReferenceDataRequest . class , request ) ; } catch ( Exception e ) { throw new NdsApplicationException ( "Error occured during request conversion process:  " + e . getMessage ( ) , e ) ; } logger . info ( "Successfully created the BEIS request" ) ; return getPRSExemptionReferenceDataRequest ; }
converts NDS request to BEIS request
converts NDS request to BEIS request