createSIBWSEndpointListener command
Use the createSIBWSEndpointListener command to create a new service integration bus-enabled web services endpoint listener configuration.
For every server or cluster that is to host an endpoint listener, you must install and configure a Service Data Objects (SDO) repository on the stand-alone server, or (for a server or cluster that is part of a managed cell) on the WebSphere® Application Server Network Deployment cell.
If you want to change the default HTTP endpoint listener security role, do so before you configure the SOAP over HTTP endpoint listener.
Before you configure a SOAP over JMS endpoint listener, you should configure the associated JMS resources.
You can configure any number of endpoint listeners with values of your own choosing, including the values given in Example values for endpoint listener configuration.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
- 如需可用且具有匯流排功能的 Web 服務指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBWebServices')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command creates an endpoint listener configuration.
Target object
ObjectName of the server or cluster on which the endpoint listener is created.
The SIBWSEndpointListener object that is created has no associated SIBWSBusConnectionProperty objects. Use the administrative console to connect one or more service integration buses to this endpoint listener, as described in 修改現有的端點接聽器配置.
Required parameters
- -name
- The name of the endpoint listener within the server. If you are installing your own endpoint listener application, rather than one that is supplied with WebSphere Application Server, then this name must match the name given in the endpoint listener application that you have installed (that is, the display name of the endpoint module within the endpoint application EAR file).
- -urlRoot
- The root of the web address that should be used to build the endpoint addresses within WSDL documents to direct requesters to this endpoint listener.
- -wsdlUrlRoot
- The root of the web address for the WSDL files of the inbound services that are provided by this endpoint listener.
Conditional parameters
- -earFile
- The location of the endpoint listener application. Specify this parameter if you are configuring an endpoint listener other than those supplied with WebSphere Application Server.
Optional parameters
None.
Example
- Using Jython:
epl = AdminTask.createSIBWSEndpointListener(server, ["-name", "soaphttp1", "-urlRoot", "http://myserver.com/wsgwsoaphttp1", "-wsdlUrlRoot", "http://myserver.com/wsgwsoaphttp1"] )
- Using Jacl:
set epl [$AdminTask createSIBWSEndpointListener $server {-name "soaphttp1" -urlRoot "http://myserver.com/wsgwsoaphttp1" -wsdlUrlRoot "http://myserver.com/wsgwsoaphttp1"}]