Use JAX-RPC access IBM WebSphere Service Registry and Repository

Source: Internet
Author: User
Tags soap web services websphere application server wsdl

Introduction

Ibm®websphere®service Registry and Repository (hereinafter referred to as service Registry) includes a support for accessing service soap/http using RMI/IIOP or Registry Java™ client, with a programming model based on Service data Object (SDO) 2.0. You can also use the SOAP APIs used by the client directly, and this article explains how to use the Jax-RPC client to invoke this API.

This article begins with a description of how to find the Web Services Description Language (WSDL) and XML schema files that describe the interface of the service Registry (the client interface can be generated in a specific programming language based on these files). The article also includes an example of how to generate a JAX-RPC client.

The following is a description of some of the general topics involved in using the service Registry SOAP APIs, and also describes the sources of some of the utility functions that are useful when using the service Registry JAX-RPC client.

After introducing the utility functions, we will provide some examples of how to invoke each Service Registry operation that is generated from the WSDL.

Before you begin to learn this article, you should have a good understanding of the following:

Using WebSphere for Java and JAX-RPC programming

Service Registry Information Center information about the provided client and SOAP APIs

Retrieving Service Registry WSDL description of SOAP API

The first step is to obtain a WSDL description of the Service Registry SOAP API so that you can generate Java clients from it. The easiest way to do this is to use the WebSphere Application server running service Registry (service Registry support WebSphere Application Server 6.0.2.x) The administrative console for the instance.

Please perform the following steps:

Start the management console for the WebSphere application Server overview that hosts the Service Registry.

If security is enabled, enter the user ID and password, and click Log in.

Click Applications.

Click Enterprise Applications.

Click Serviceregistry.

Click the Publish WSDL Files located under "additonal Properties".

Click Serviceregistry_wsdlfiles.zip.

Save the file.

Expand the file and you will see a directory/folder named Serviceregistry.ear

There is another directory/folder named Wsrrcoresdo.jar in this directory/folder.

There is another directory/folder named Meta-inf in this directory/folder.

There is another directory/folder named WSDL in this directory/folder.

There is a set of WSDL and XML schema files in the directory/folder that define the Service Registry SOAP APIs. You must have a good understanding of how to use WebSphere for Java and Jax-RPC programming, and you should also read information about the provided client and SOAP APIs in Service Registry information Center.

Tip: Note that in the wsrrsdows.wsdl file, the endpoint is the endpoint of the Service Registry in the WebSphere application Server instance.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.