NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/registration/RetrieveRegisteredDetailsSoapAdapter.java
/**
     * Adapt the Nds Request and produce a GetPartyDetails request to send to the BEIS foundation layer.
     */
Adapt the Nds Request and produce a GetPartyDetails request to send to the BEIS foundation layer.
Adapt the Nds Request and produce a GetPartyDetails request to send to the BEIS foundation layer .
@Override
    protected GetPartyDetailsRequest doRequestProcess(RetrieveRegisteredDetailsNdsRequest request,
            NdsSoapRequestAdapterExchangeProxy ndsExchange) throws NdsApplicationException {
        GetPartyDetailsRequest backOfficeRequest = null;
        logger.info("Started SOAP request");
        try {
            ndsExchange.setOperationName("GetPartyDetailsWSDL");
            ndsExchange.setAnExchangeProperty("USERNAME", request.getUsername());
            TypeConverter converter = ndsExchange.getTypeConverter();
            backOfficeRequest = converter.convertTo(GetPartyDetailsRequest.class, request);
        } catch (Exception e) {
            throw new NdsApplicationException("Error occured during request conversion process:  " + e.getMessage(), e);
        }
        logger.info("Successfully created the SOAP request");
        return backOfficeRequest;
    }
@ Override protected GetPartyDetailsRequest doRequestProcess ( RetrieveRegisteredDetailsNdsRequest request , NdsSoapRequestAdapterExchangeProxy ndsExchange ) throws NdsApplicationException { GetPartyDetailsRequest backOfficeRequest = null ; logger . info ( "Started SOAP request" ) ; try { ndsExchange . setOperationName ( "GetPartyDetailsWSDL" ) ; ndsExchange . setAnExchangeProperty ( "USERNAME" , request . getUsername ( ) ) ; TypeConverter converter = ndsExchange . getTypeConverter ( ) ; backOfficeRequest = converter . convertTo ( GetPartyDetailsRequest . class , request ) ; } catch ( Exception e ) { throw new NdsApplicationException ( "Error occured during request conversion process:  " + e . getMessage ( ) , e ) ; } logger . info ( "Successfully created the SOAP request" ) ; return backOfficeRequest ; }
Adapt the Nds Request and produce a GetPartyDetails request to send to the BEIS foundation layer.
Adapt the Nds Request and produce a GetPartyDetails request to send to the BEIS foundation layer .
// Create the type converter