// Use CDR encapsulations with GIOP 1.0 encoding.
Encoding encoding = new Encoding(ENCODING_CDR_ENCAPS.value,
(byte) 1, /* GIOP version */
(byte) 0 /* GIOP revision*/);
Codec codec = info.codec_factory().create_codec(encoding);
// Create and register client interceptor.
obj = info.resolve_initial_references("SASCurrent");
SASCurrentImpl sasCurrentImpl = (SASCurrentImpl) obj;
SASClientInterceptor clientInterceptor = new SASClientInterceptor(codec);