Yves wrote:
> I sent a response yesterday but it didn't get posted... hmm... anyway.
> Basically I'm just looking for a working example application (ie. that
> searches Amazon, Google; converts currencies; whatever, just so I can
> see how an application interface (Java based) creates SOAP messages.
>
> -Yves

I'd suggest looking at the dynamic invocation sample in the axis distribution, it certainly helped me write my client code for the workflow project I'm involved with.

There are really two ways of using Axis as a client, dynamic and precompiled. In the first case, you can consume any service without having to know at compile time the interface of that service; this approach is more flexible but also somewhat more complex to code. The second case relies upon the rather arcane WSDL2Java process and friends, and I personally don't like it particularly, although it may be better suited to some applications. The real problem with this approach is that you have to know at build time exactly what service you want to interact with (this is, of course, only a problem for some cases).

Our dynamic invocation framework is at http://cvs.sourceforge.net/viewcvs.py/taverna/taverna1.0/src/org/embl/ebi/escience/scuflworkers/wsdl/#dirlist but this might well be more complex than what you're looking for.

HTH,

Tom



Reply via email to