IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
modifySCAExportHttpBinding command
Use the modifySCAExportHttpBinding command to change the attributes of an HTTP export binding.
The modifySCAExportHttpBinding command changes the properties of an HTTP export binding at the binding scope or the method scope.
- If a parameter is changed at the binding scope, the syntax should be:
<bindingName>newValue</bindingName>- If a parameter is changed at the method scope, the syntax should be:
<methodName>newValue</methodName>
The following circumstances cause an SCACommandException to be thrown:
- A resource of an invalid type is specified.
- A resource is specified that does not exist.
After using the command, save your changes to the master configuration using one of the following commands:
Required parameters
- –moduleName moduleName
- The name of the module associated with the export.
- -export export
- The name of the export.
Optional parameters
- -applicationName applicationName
- The name of the application.
- -httpMethods methodName
- The name of the HTTP method.
- -transferEncoding transferEncoding
- An indication of how information is transferred between the endpoints. Valid values are chunked and identity.
- -contentEncoding contentEncoding
- An indication of how the content that traverses the binding is encoded. Valid values are gzip, x-gzip, deflate, and identity.
Examples
The following example uses modifySCAExportHttpBinding to change the transfer encoding of an HTTP export binding called Export1 in a module called MyMod to identity. In addition, the command changes httpMethod to type "GET", sets pingable to "true", and sets ReturnCode to 400.
The changes are made at the binding scope.
- Jython example:
AdminTask.modifySCAExportHttpBinding('[-moduleName MyMod -export Export1 -transferEncoding <Export1>identity</Export1> -httpMethods [<Export1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></Export1>]]')- Jacl example:
$AdminTask modifySCAExportHttpBinding {-moduleName MyMod -export Export1 -transferEncoding <Export1>identity</Export1> -httpMethods {<Export1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></Export1>}}
The following example uses modifySCAExportHttpBinding to change the transfer encoding of an HTTP export binding called Export1 in a module called MyMod to identity. In addition, the command changes httpMethod to type "GET", sets pingable to "true", and sets ReturnCode to 400.
The changes are made at the method scope.
- Jython example:
AdminTask.modifySCAExportHttpBinding('[-moduleName MyMod -export Export1 -transferEncoding <method1>identity</method1> -httpMethods [<method1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></method1>]]')- Jacl example:
$AdminTask modifySCAExportHttpBinding {-moduleName MyMod -export Export1 -transferEncoding <method1>identity</method1> -httpMethods {<method1><httpMethod type="GET" pingable="true"> <PingableSettings><ReturnCode>400</ReturnCode></PingableSettings> </httpMethod></method1>}}
Parent topic: Commands (wsadmin scripting)
Related information:
![]()
Obtaining online help using wsadmin scripting
![]()
Administrative command invocation syntax using wsadmin scripting
![]()
Use the wsadmin scripting tool
![]()
Jython script library