NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/beisregistration/BeisRegistrationSoapAdapter.java
/**
     * Receive a response from the BEIS foundation layer for MaintainPartyDetails and look for a party ref
     * so we can pass as an exchange property for further processing in the route. 
     */
Receive a response from the BEIS foundation layer for MaintainPartyDetails and look for a party ref
so we can pass as an exchange property for further processing in the route.
Receive a response from the BEIS foundation layer for MaintainPartyDetails and look for a party ref so we can pass as an exchange property for further processing in the route .
@Override
    protected BeisRegistrationNdsResponse doResponseProcess(MaintainPartyDetailsResponse externalResponse,
            NdsSoapRequestAdapterExchangeProxy ndsExchange) throws NdsApplicationException {
        Boolean success = false;
        if(externalResponse.isSuccess())
        {
            success = true;
            ndsExchange.setAnExchangeProperty(BeisRegistrationUpdateAccountIdLdapComponent.EXCHANGE_PROPERTY_ACCOUNT_ID, externalResponse.getPartyRef());            
        }
        BeisRegistrationNdsResponse ndsResponse = new BeisRegistrationNdsResponse();
        ndsResponse.setSuccess(success);
        return ndsResponse;
    }
@ Override protected BeisRegistrationNdsResponse doResponseProcess ( MaintainPartyDetailsResponse externalResponse , NdsSoapRequestAdapterExchangeProxy ndsExchange ) throws NdsApplicationException { Boolean success = false ; if ( externalResponse . isSuccess ( ) ) { success = true ; ndsExchange . setAnExchangeProperty ( BeisRegistrationUpdateAccountIdLdapComponent . EXCHANGE_PROPERTY_ACCOUNT_ID , externalResponse . getPartyRef ( ) ) ; } BeisRegistrationNdsResponse ndsResponse = new BeisRegistrationNdsResponse ( ) ; ndsResponse . setSuccess ( success ) ; return ndsResponse ; }
Receive a response from the BEIS foundation layer for MaintainPartyDetails and look for a party ref
 so we can pass as an exchange property for further processing in the route.
Receive a response from the BEIS foundation layer for MaintainPartyDetails and look for a party ref so we can pass as an exchange property for further processing in the route .
//Set party reference on exchange property for an LDAP adapter to deal with