When you have imported the WebSphere Service Registry and Repository (WSRR) Connectivity sample, you must configure IBM Integration Bus to connect to the WebSphere Service Registry and Repository before you can run the sample. The following steps are required in order to run the WebSphere Service Registry and Repository Connectivity sample:
After importing the WebSphere Service Registry and Repository Connectivity sample (see WebSphere Service Registry and Repository Connectivity sample), the required WSDL documents DemoCustomer_v10.wsdl and DemoCustomer_v20.wsdl are included in the WSRR Connectivity Message Flows project. Export these files to your local file system and, by using your preferred tools, import the two WSDL files to the Service Registry, setting the Version property appropriately. See your WebSphere Service Registry and Repository documentation for detailed instructions.
After importing the WSDL documents to the Service Registry, the WSDL documents are available with the appropriate versions, as shown in the following screen capture.
To find out more about displaying and changing properties of the service registry, see Displaying the configuration parameters for the WebSphere Service Registry and Repository nodes and Changing the configuration parameters for the WebSphere Service Registry and Repository nodes in the IBM Integration Bus documentation.
For information about how to configure the broker to connect to a secure Service Registry, see Accessing a secure WSRR repository.
The following steps show the minimum configuration that is required to run the sample:
mqsireportproperties broker name -c ServiceRegistries -o DefaultWSRR -r
This command produces a response similar to the following output:
ReportableEntityName='' ServiceRegistries DefaultWSRR='' connectionFactoryName='jms/SRConnectionFactory' enableCacheNotification='false' endpointAddress='http://fill.in.your.host.here:9080/WSRRCoreSDO/services/WSRRCoreSDOPort' initialContextFactory='com.ibm.websphere.naming.WsnInitialContextFactory' locationJNDIBinding='iiop://fill.in.your.host.here:2809/' needCache='true' predefinedCacheQueries='' refreshQueriesAfterNotification='true' subscriptionTopic='jms/SuccessTopic' timeout='100000000'
mqsichangeproperties broker name
-c ServiceRegistries -o DefaultWSRR -n endpointAddress
-v http://hostname:9080/WSRRCoreSDO/services/WSRRCoreSDOPort
Repeat step 1 to view your updated broker properties.
Ensure the endpointAddress is set appropriately, for example:
endpointAddress='http://myHostName.myDomain.com:9080/WSRRCoreSDO/services/WSRRCoreSDOPort'
You can now run the WebSphere Service Registry and Repository Connectivity sample, see Running the WebSphere Service Registry and Repository Connectivity sample.
For information about the specific levels of WSRR that are supported with IBM Integration Bus, see IBM Integration Bus Requirements.