Use the modifySCAExportHttpBinding command to change the attributes of an HTTP export binding.
The modifySCAExportHttpBinding command is run using the AdminTask object of the wsadmin scripting client.
wsadmin> $AdminTask help SCAAdminCommands
Use
the following command to get detailed help on a particular command.wsadmin> $AdminTask help command_name
$AdminTask modifySCAExportHttpBinding { parameters }
If a parameter is changed at the binding scope, the syntax should be: <bindingName>realValue</bindingName>
If a parameter is changed at the method scope, the syntax should be: <methodName>realValue</methodName>
The modifySCAExportHttpBinding command changes the JNDI name of one or more of the resources associated with an HTTP export binding.
At the binding scope, change the transfer encoding of an HTTP export binding called Export1 in a module called MyMod to identity . In addition, change httpMethods to type "GET", pingable "true" and ReturnCode 400.
wsadmin> $AdminTask modifySCAExportHttpBinding {-moduleName MyMod -export Export1 - transferEncoding <Export1>indentity</Export1> -httpMethods <Export1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></Export1>}
At the method scope, change the transfer encoding of an HTTP export binding called Export1 in a module called MyMod to identity . In addition, change httpMethods to type "GET", pingable "true" and ReturnCode 400.
wsadmin> $AdminTask modifySCAExportHttpBinding {-moduleName MyMod -export Export1 - transferEncoding <method1>indentity</method1> -httpMethods <method1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></method1>}