↓ Skip to main content

Exploring Web services

Rational Application Developer and WebSphere Integration Developer both come with a piece of functionality known as the Web Services Explorer. Part of the unit test client, this provides a user interface for invoking WSDL defined Web services. Until now, I’ve always used the Explorer by right-clicking on a piece of WSDL and selecting Web Services > Test with Web Services Explorer. This is all very well if the WSDL happens to be in your workspace. What I hadn’t realised until this week is that you can also use the Explorer with any arbitrary URL addressable WSDL.

With the Web Services Developer capability enabled you should be able to select Run > Launch the Web Services Explorer from the menu bar. The Explorer will start off in the UDDI perspective but you can use the icons at the top-right to switch to the WSDL perspective. Then select the WSDL Main link at which point you can enter the WSDL URL and away you go.

The Web Services Explorer is a server-side web application which isn’t always convenient or appropriate. Recently I’ve taken to using soapUI as a simple client-side tool for invoking Web services. Once again you can just give it the URL of some WSDL and it will pull-in all the related artefacts. Unlike the Explorer it doesn’t try to provide forms for creating requests but will generate test XML with helpful comments indicating which elements are optional. This does have the benefit that it’s easy to send custom SOAP headers.

Related

Presentation and dinner

Many of the presentations at the conference are repeats from our internal services conference earlier this year which means I have some spare time to catch up on other work. One session I did go to today was Eric Herness (Chief Architect for WebSphere Business Integration) presenting the new content in Version 6.0.2 of WebSphere Process Service and ESB. I think it’s safe to say this is a refresh pack with more than a few functional enhancements!

developerWorks roundup

This is my usual weekly roundup of what’s new and interesting on developerWorks. This week we start with something for the WebSphere Application Server developer. When abstracting configuration properties out of code they often end up in a simple properties file. This is fine if the values are static but, if they need updating, you either need to redeploy the application containing the file or else put the file somewhere separate from the application. (If taking the latter approach then the config directory is a good place for the file as then you call leave the application server to replicate it across the nodes.) Perhaps a better approach is to configure a resource environment provider as described in this article, enabling properties to be defined administratively.

High availability of WebSphere MQ link

Today sees the release of WebSphere MQ SupportPac MR01. This provides the source for a WebSphere MQ channel exit which can be configured with a list of host names and port numbers to which the channel will attempt to connect. The intention is that this exit can be used when using a WebSphere MQ link to connect a clustered Service Integration Bus messaging engine to a queue manager. The messaging engine can now failover to another cluster member and the queue manager will still be able to connect.