modifySCAExportHttpBinding コマンドを使用して、HTTP エクスポート・バインディングの属性を変更します。
modifySCAExportHttpBinding コマンドは、wsadmin スクリプト・クライアントの AdminTask オブジェクトを使用して実行されます。
wsadmin> $AdminTask help SCAAdminCommands
次のコマンドを使用して、特定のコマンドに関する詳細ヘルプを取得できます。wsadmin> $AdminTask help command_name
$AdminTask modifySCAExportHttpBinding { parameters }
パラメーターがバインディング・スコープで変更される場合、構文は以下のようにする必要があります。 <bindingName>realValue</bindingName>
パラメーターがメソッド・スコープで変更される場合は、構文を以下のようにする必要があります。<methodName>realValue</methodName>
modifySCAExportHttpBinding コマンドは、HTTP エクスポート・バインディングに関連した 1 つ以上のリソースの JNDI 名を変更します。
バインディング・スコープで、MyMod というモジュール内の Export1 という HTTP エクスポート・バインディングの転送エンコードを identity に変更します。 さらに、httpMethods を変更して、"GET"、ping 可能な "true"、および 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>}
メソッド・スコープで、MyMod というモジュール内の Export1 という HTTP エクスポート・バインディングの転送エンコードを identity に変更します。さらに、httpMethods を変更して、"GET"、ping 可能な "true"、および 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>}