File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes WSAD5.1 WebService Client failure? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSAD5.1 WebService Client failure?" Watch "WSAD5.1 WebService Client failure?" New topic

WSAD5.1 WebService Client failure?

Alan Wanwierd
Ranch Hand

Joined: Jun 30, 2004
Posts: 624
Ok - So I'm new to the whole webservices game and I'm told "We need to export employee data to System 'X' - a .NET system via a webService. From what I've read and know this should be a fairly straight forward proposition...

The .NET people sent me a url to some wsdl - which all looked reasonable enough and I discovered a neat little tool in WSAD that should generate some nice java stubs so I dont have to even THINK about SOAP...

My first attempt to generate code form the wsdl failed with a "cannot resolve this" error - but after pulling the wsdl down locally and also getting local copies of any .xsd required the tooling ran and generated a bunch of classes which I was able to use to write code that woudl do what I wanted and compiled nicely...

Unfortunately at runtime it falls over at the first hurdle with this:

Inspection of the documentation reveals that ther is a security component that isnt addressed by this java client - and i cant see how to include it. The wsdl in question looks like this - but WHERE and how do I generate appropriate classes to use this info? Is this a shortcoming of the WSAD5.1 Tooling? Or am I missing something?

Any thoughts would be much appreciated!

[ January 16, 2007: Message edited by: Adrian Wallace ]
[ January 16, 2007: Message edited by: Adrian Wallace ]
I agree. Here's the link:
subject: WSAD5.1 WebService Client failure?