{
// 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
SASClientIdentityInterceptor clientInterceptor =
new SASClientIdentityInterceptor(codec);
info.add_client_request_interceptor(clientInterceptor);