Re: Java Axis client to a generic web service



Donkey Hottie wrote:
Lew <lew@xxxxxxxxxxxxx> wrote in
news:2ab10998-6a54-4568-a639-09cb9bb1a427
@s21g2000vbb.googlegroups.com:

On May 29, 11:28 am, Alessandro <ale.m...@xxxxxxxxxx> wrote:
Hi all,

I'm not an expert about web service, I've already developed an
Axis
java client to a web service developed in Axis too. I've used the
very useful tool "WSDL2Java" implemented by web service to call
operations with very low effort, and downloading a web service
stub.

Now I have to develop another client to a web service but it
doesn't
implement WSDl2Java tool unfortunately and so I can't use it.
Anyway I have WSDl file and I would like to use Axis.

Any example or suggestion ? Any other tool than WSDL2Java in this
case ?

WSDL2Java is a standalone tool, and will work if you have a WSDL.
You don't need the web service to "implement" it.


What Lew said, the Web Service does not have to be create using Axis
in order for You to use WSDL2Java.

The WSDL file is enough, and you can show it to Microsoft Visual
Studio, Netbeans IDE or any other too which can generate Web Service
client from WSDL. Such tools exist for many many languages from perl
to c to basic, for any imaginable platform.

So, pick your favorite toolkit or platform, and show him the WSDL!
The most important idea behind SOAP is platform indepedency. Any
language will do.

What Lew and Donkey said, with the caveat that (as we saw in another
thread) not all web service clients were created equal. If the WSDL or
schema for your web service use less common features, some clients may
support them better than others. (NetBeans didn't support the xs:time
datatype correctly. I know of no clients that support
document/encoded operations, of course, I know of no reference that
explains WTF document/encoded means.) But to the best of my
knowledge, Axis is quite complete, so it's a good one to try first.


.



Relevant Pages

  • Re: WSDL.exe vs. "Add Web Reference"
    ... For example this complexType: ... I them created a WSDL using the XSD. ... Then I placed this file in an "Empty Web Project", added a Web Service, made ... If I do all these steps correctly the client should ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Reading a Java webservice with VB.NET
    ... My client created a very simple "Hello World" web service. ... Using the wsdl.exe program on the actual wsdl still did not work. ... > you mentioned an Apache server, but if you are referring to Apache HTTPD, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: SOAP project
    ... | The interop problems I've seen are between .NET and AXIS, ... | There's another Web Service written in perl. ... there is no WSDL for that. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: deserialization arrays in Axis SOAP messages
    ... The WSDL provider has since changed their WSDL. ... >> an interop issue or a result of SOAP schema ambiguities? ... > The web service you are trying to access is using SOAP section-5 encoding. ... > This requires a change on the server (AXIS) side. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Differences in WSDL between versions of a web service.
    ... Never change the signature of an already released method in a webservice ... It doesn`t mather that your current WSDL is different as before, ... > what effect it might have on my client apps. ... > The original verison's WSDL contains sections for each web service ...
    (microsoft.public.dotnet.framework.aspnet.webservices)