Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services - Bus enabled web services > Enable web services through the service integration bus > Configure web services for a service integration bus > Make an internally-hosted service available as a web service
Modify an existing inbound service configuration
Modify the configuration details for an existing inbound service. For example: secure the service; apply JAX-RPC handler lists to the ports for the service; publish the service to more than one UDDI registry.
An inbound service is a web interface to a service provided internally (that is, a service provided by your own organization and hosted in a location that is directly available through a service integration bus destination).
When you first create an inbound service, you connect the service to one or more endpoint listeners and (optionally) specify the UDDI publication properties that are used to publish the inbound service to an initial UDDI registry. An inbound port is automatically created for each endpoint listener that you select, but each inbound port is created without a template port, JAX-RPC handler list or security settings. Modify your inbound service configuration to control and monitor access to your inbound services in any of the following ways:
- Associate JAX-RPC handler lists with ports, so that the handlers can monitor activity at the port, and take appropriate action depending upon the sender and content of each message that passes through the port.
- Password-protect a web service operation.
- Set the level of security to be applied to messages (the WS-Security configuration and bindings). The security level can be set independently for request and response messages.
- Publish the service to more than one UDDI registry.
To list the existing inbound services, and to view and modify their configuration details...
Procedure
- Start the admin console.
- In the navigation pane, click Service integration -> Buses -> bus_name -> [Services] Inbound Services . A list of all the inbound services is displayed in an inbound services collection form.
- Click the name of an inbound service in the list. The current settings for this inbound service are displayed.
- Optional: Click Reload template WSDL to reload the template WSDL file for this inbound service.
- When you create a new inbound service, a copy of the template WSDL file for the service is loaded into a locally-maintained repository. If you change the template WSDL file, update the local copy.
- When you click Reload template WSDL, you run the command described in Refresh the inbound service WSDL file by using wsadmin. For the command to complete successfully, the conditions must be met described in topic.
- If the bus needs to pass messages through an authenticating proxy server to retrieve WSDL documents, then you cannot use the Reload template WSDL option and run the refresh WSDL command by using wsadmin. See the corresponding troubleshooting tip.
- Modify the general properties. For information about each of these properties, see Inbound services settings.
- When you change an inbound service name, the system looks up all objects that refer to it and updates the name.
- The template WSDL is the service-specific WSDL file that you create to describe this inbound service. For information about how to create a WSDL file, see Develop a WSDL file for JAX-RPC applications.
- Although logically the template WSDL name and namespace are only required if there is more than one service in the WSDL, the fields that you use to set them are coded within the admin console as compulsory fields. They are filled in for you by default, so if they are not logically required for your service you should leave the default values. If you remove the value from either field, the admin console treats the empty field as an error.
- If you select the option to Enable operation-level security then also complete, for this inbound service, the steps described in Password-protecting a web service operation.
- Modify the additional properties.
- Modify the inbound ports that are associated with this inbound service.
An inbound port describes the web service enablement of a service destination on a specific endpoint listener, with associated configuration. Each inbound port is associated with an endpoint listener, and you can control which groups of users can access a particular inbound service by making the service available only through specific endpoint listeners. See Endpoint listeners and inbound ports: Entry points to the service integration bus.
We can use a JAX-RPC handler list to monitor activity at the port, and take appropriate action (for example logging, or rerouting) depending upon the sender and content of each message that passes through the port. See Bus-enabled web services and JAX-RPC handlers.
We can use WS-Security to set the levels of security to be applied to messages. The security level can be set independently for request and response messages. See Service integration technologies and WS-Security.
See also Inbound ports settings.
- Modify the UDDI publication properties that are used to publish this inbound service to one or more UDDI registries. For information about the UDDI publication properties, see UDDI Publication settings and UDDI registries: Web service directories that can be referenced by bus-enabled web services.
- Modify the custom properties, if any, that we have set for this inbound service. These custom properties are name and value pairs that you can use to set internal system configuration properties. In each pair, the name is a property key and the value is a string value.
- Use the publish WSDL files property to export the template WSDL for this inbound service to a compressed file.
As a technology preview, the exported compressed file includes a version of the WSDL file that has no ports (bindings) defined. This non-bound WSDL is intended for use by your colleagues preparing to deploy an inbound service. It gives you a convenient way of sharing information about the planned deployment details for the service among your team. When you finally deploy the inbound service, the associated WSDL must be complete (that is, it must include the binding information).
The non-bound WSDL file is always published in the exported compressed file for the inbound service, along with the bound WSDL file if the inbound service has any ports defined. The compressed file, named inbound_service_name.zip, therefore always contains the following files:
- bus_name.inbound_service_nameNonBound.wsdl (this file contains the non-bound service, port and binding for the inbound service).
- bus_name.inbound_service_namePortTypes.wsdl (this file contains the port type definition for the inbound service).
If the inbound service has one or more ports, then the compressed file additionally contains the following files:
- bus_name.inbound_service_nameService.wsdl (this file contains the service and port elements for the inbound service).
- bus_name.inbound_service_nameBindings.wsdl (this file contains the binding elements that correspond to the ports for the inbound service).
If there is an error generating the WSDL then an error page is returned.
- Save your changes to the master configuration.
Results
If the processing completes successfully, the list of inbound services for this service integration bus is redisplayed. Otherwise, an error message is displayed.
Non-bound WSDL
Related
createSIBWSInboundService command
refreshSIBWSInboundServiceWSDL command
publishSIBWSInboundService command
unpublishSIBWSInboundService command
Inbound services [Settings]
Inbound Ports [Settings]