What's New in the Borland Web Services Kit for Java Preview Release 3

By: Tim Del Chiaro

Abstract: The Borland Web Services Kit for Java, in conjunction withJBuilder 7, provides features that assist you in creating andconsuming web services. Find out more and download it free!

What's new in Borland Web Services Kit for Java, Preview Release 3

The Borland Web Services Kit for Java, in conjunction with JBuilder 7, provides features that assist you in creating and consuming Web Services. Web Services and clients that consume the service can be written in any language and run on any platform. The Web Services Kit supports the latest Web Services technologies, such as SOAP (Simple Object Access Protocol), WSDL (Web Services Description Language), UDDI (Universal Description, Discovery, and Integration), and WSIL (Web Services Inspection Language).

Borland Web Services Kit for Java includes these features:

SOAP Server wizard

SOAP, the main building block of web services, is the transport mechanism for exchanging XML documents. You can quickly create a SOAP Server with the SOAP Server wizard, which creates a web application to locally host the SOAP server. Once a Web Service is deployed to a SOAP server, the web service can receive and send SOAP messages to and from client applications.

TCP Monitor

The TCP Monitor, available from the Tools menu, allows you to monitor SOAP messages as they are transported between the client and the server. You can monitor these messages locally to test the service or listen over a connection.

The TCP Monitor supports these features:

  • Adding multiple listener ports
  • Editing SOAP messages
  • Resending SOAP messages
  • Viewing a history of requests and responses
  • Saving requests and responses to a file

Import WSDL wizard

A WSDL (Web Services Description Language) document, which is written in XML, is used to describe a web service and also defines how to access the service. By examining a WSDL, you can easily write an application to invoke remote services, as well as offer your web service to others. A WSDL document exposes the Web Service's method signature, protocol to be used, network address, and data format.

The Import WSDL wizard generates Java classes from an existing WSDL document. The wizard generates a package name based on the WSDL's target namespace or uses one that you specify, as well as adding any necessary project libraries. After generating the Java classes from the WSDL, you can modify the classes and consume the web service.

Export Class as a Web Service wizard

You can use the Export Class as a Web Service wizard to expose selected methods of a Java class as a Web Service and generate a WSDL file which describes the service. You can then publish your service and the WSDL at a UDDI site or other location.

Developing EJBs as Web Services

The Borland Web Services Kit is fully integrated with the J2EE platform and is capable of automatically publishing Enterprise JavaBeans as Web Services. The implementation is almost completely transparent, athough you have the option to override the default behaviour.

Web Services Explorer

The Borland Web Services Kit for Java provides the Web Services Explorer, available from the Tools menu, for searching available services at sites and publishing Web Services to UDDI registries. Using the Web Services Explorer, you can search for a business, a web service, or a tModel, as well as add business and tModel entries. You can also monitor message traffic to and from the UDDI sites in the UDDI Message Monitor.

In addition, the Web Services Explorer supports browsing network sites that run Apache Axis-hosted web services, as well as browsing WSIL (Web Services Inspection Language) documents. WSIL documents are essentially a collection of references to available web services on a web site that are hosted by the web service provider. These references may point to other WSIL documents, UDDI entries, or WSDL (Web Services Description Language) documents.

The Web Services Explorer provides a link to the Import WSDL wizard, which generates Java classes from a selected WSDL file. Browse to any web service available on a UDDI or Axis site, select the node that specifies the WSDL file, and choose the Import WSDL button in the Explorer to quickly generate Java classes.

Web services samples

Several Web Services samples are also included in the Web Services Kit.

Get started with Web Services today!

Download the Borland Web Services Kit for Java Preview Release 3

Server Response from: ETNASC03