anoopadr_5344
Jun 16, 2008Nimbostratus
Unable to set values on a http profile
Hi,
I am trying to create a new http profile and enable the insert_xforwarded_for_header_mode for that profile.
Using the methods,
String[] newProfile = new String[]{profileName};
localLBProfileHttpBindingStub.create(newProfile);
localLBProfileHttpBindingStub.set_insert_xforwarded_for_header_mode(newProfile, modes);
the new profile is created, but the xff header is not set even though the modes has value LocalLBProfileMode.PROFILE_MODE_ENABLED.
The xff header is set to the same as its parent http profiles value by default.
How can I enable this from the java code.
thanks,
AJ