WebSphere Enterprise Service Bus for z/OS, Version 6.2.0 Operating Systems: z/OS


modifySCAExportHttpBinding command

Use the modifySCAExportHttpBinding command to change the attributes of an HTTP export binding.

Before you begin

The modifySCAExportHttpBinding command is run using the AdminTask object of the wsadmin scripting client.

Use the following command to list all the SCA administrative commands.
wsadmin> $AdminTask help SCAAdminCommands
Use the following command to get detailed help on a particular command.
wsadmin> $AdminTask help command_name

Syntax

$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>

Purpose

The modifySCAExportHttpBinding command changes the JNDI name of one or more of the resources associated with an HTTP export binding.

Command name
modifySCAExportHttpBinding
Target
None.
Result
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.

Parameters

moduleName
A mandatory, unmodifiable parameter that specifies the name of the module to which the export binding belongs.
export
A mandatory, unmodifiable parameter that specifies the name of the export.
applicationName
An optional, unmodifiable parameter that specifies the name of the application.
httpMethods
An optional parameter that specifies the HTTP methods.
transferEncoding
An optional parameter that specifies the transfer encoding.
contentEncoding
An optional parameter that specifies the content encoding.

Examples

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>}

reference Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.zseries.doc/ref/rwesb_modifySCAExportHttpBinding.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).