Use the updateEndpointBindingsOnPortal command to create endpoint references on the WebSphere® Portal application server so that your team can use the widgets in Business Space on WebSphere Portal.
This command creates references to the Representational State Transfer (REST) endpoints on the WebSphere Portal application server. Business Space and product-specific endpoint reference entries must be created so that Business Space works properly in the WebSphere Portal environment. Business Space widgets are registered as iWidgets with WebSphere Portal by a bulk import using the WebSphere Portal-specific widget catalog file with your product. The catalog XML file is available at the root of the product web archive (WAR) file. Each product has a different context root. This command works only for the resource environment provider named WP Mashup Endpoints.
Before you run this command, you must install WebSphere Portal V7.0.0.1 or later, configure Business Space and REST services for your product, and configure SSL and SSO. For more information, see Configuring Business Space on WebSphere Portal.
AdminConfig.save()
$AdminConfig save
The following example creates endpoint references on the WebSphere Portal application server for a stand-alone environment.
AdminTask.updateEndpointBindingsOnPortal('[-nodeName Portal_node_name -serverName WebSphere_Portal -endpointBindingDirectoryName directory_containing_endpoints_files -host Portal_server_IP_or_host -port Portal SOAP_port_default_10025 -user Portal_admin_ID -password Portal_admin_password]')
$AdminTask updateEndpointBindingsOnPortal {-nodeName Portal_node_name -serverName WebSphere_Portal -endpointBindingDirectoryName directory_containing_endpoints_files -host Portal_server_IP_or_host -port Portal SOAP_port_default_10025 -user Portal_admin_ID -password Portal_admin_password}
The following example creates endpoint references on the WebSphere Portal application server for a clustered environment.
AdminTask.updateEndpointBindingsOnPortal('[-nodeName Portal_node_name -serverName WebSphere_Portal -endpointBindingDirectoryName directory_containing_endpoints_files -host DMGR_IP_or_host -port DMGR_SOAP_port_default_8879 -user DMGR_admin_ID -password DMGR_admin_password]')
$AdminTask updateEndpointBindingsOnPortal {-clusterName Portal_cluster_name -endpointBindingDirectoryName directory_containing_endpoints_files_on_local_system -host DMGR_IP_or_host -port DMGR_SOAP_port_default_8879 -user DMGR_admin_ID -password DMGR_admin_password}