private Node sendRequest(SoapMessage message,URL serviceLocationURL) throws ParserException, TokenRequestRejectedException, ServerCommunicationException, SsoRequestException, RequestExpiredException, ServerSecurityException, CertificateValidationException {
  SoapMessage response=null;
  try {
    long currentTime=System.currentTimeMillis();
    response=binding.sendMessage(message,serviceLocationURL);
    log.debug("Message received in: " + (System.currentTimeMillis() - currentTime) + " milliseconds.");
  }
 catch (  SoapFaultException e) {
    handleFaultCondition(e.getFault());
  }
catch (  CertificateValidationException e) {
    throw new CertificateValidationException(e.getMessage(),Key.BAD_SERVER_SSL_CERTIFICATE,e.getCertificateChain(),e.getThumbprint());
  }
catch (  ServerCommunicationException e) {
    throw new ServerCommunicationException(e.getMessage(),Key.FAILED_TO_CONNECT_TO_SERVER,e.getCause());
  }
  log.debug("Message successfully transported to the STS server");
  return response.getBody();
}

private Node sendRequest ( SoapMessage message , URL serviceLocationURL ) throws ParserException , TokenRequestRejectedException , ServerCommunicationException , SsoRequestException , RequestExpiredException , ServerSecurityException , CertificateValidationException { SoapMessage response = null ; try { long currentTime = System . currentTimeMillis ( ) ; response = binding . sendMessage ( message , serviceLocationURL ) ; log . debug ( "Message received in: " + ( System . currentTimeMillis ( ) - currentTime ) + " milliseconds." ) ; } catch ( SoapFaultException e ) { handleFaultCondition ( e . getFault ( ) ) ; } catch ( CertificateValidationException e ) { throw new CertificateValidationException ( e . getMessage ( ) , Key . BAD_SERVER_SSL_CERTIFICATE , e . getCertificateChain ( ) , e . getThumbprint ( ) ) ; } catch ( ServerCommunicationException e ) { throw new ServerCommunicationException ( e . getMessage ( ) , Key . FAILED_TO_CONNECT_TO_SERVER , e . getCause ( ) ) ; } log . debug ( "Message successfully transported to the STS server" ) ; return response . getBody ( ) ; }
send the request through the transport
