Re: Web Services Java client question



almous...@xxxxxxxxx wrote:
I have to use existing web services installed on a non-java server
from my JBoss java web application (with struts 2). I read a little
about Axis2 and xFire, but it seems that the requirements is to use
RPC/SOAP Encoding (as I see <soap:body use="encoded" in the WSDL
document that I should use). I must use HTTPS security with user/
password in the SOAP header.

Manish Pandit wrote:
Your best bet would be to get a hold of wsdl2java or Eclipse WTP,
which can generate java clients out of a WSDL. Once you feed these
tools the WSDL for the service(s), the java clients generated will be
stubs that can be used to access the services just like a local call.

WSDL2Java is part of the Apache Axis project.
<http://ws.apache.org/axis/>
<http://ws.apache.org/axis2/> for the newer one,
which calls the tool WSDL2Code
<http://ws.apache.org/axis2/tools/1_3/CodegenToolReference.html>

It's apparently available from various places, including as a plugin for Eclipse.
<http://search.yahoo.com/search?p=WSDL2Java>

--
Lew
.



Relevant Pages

  • How do you transparently implement the same web service (WSDL) with java axis and .NET ?
    ... When I have tried to generate java and C# servers/clients from the same ... WSDL as described further below, these are the results I have been able ... When I try to invoke a C# web service with a java axis client I get the ... ..NET that are supporting the same WSDL and to be able to reuse client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How do you transparently implement the same web service (WSDL) with java axis and .NET ?
    ... > When I have tried to generate java and C# servers/clients from the same ... > WSDL as described further below, these are the results I have been able ... > When I try to invoke a C# web service with a java axis client I get the ... > .NET that are supporting the same WSDL and to be able to reuse client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: web services - need help
    ... WSDLs don't decode anything. ... The Microsoft and Java platforms respectively encode to XML from their native types, and decode from XML to their native types. ... The WSDL is the schema that guides the process. ...
    (comp.lang.java.programmer)
  • Re: Axis question: what is the correct way to use Axis?
    ... WSDL to generate the java stubs BUT WHY would you do it this way as ... Trouble is, going Java -> WSDL ties you to the first implementation, ... The WSDL is a specification for the Web service. ... breaking compatibility with the rev 1. ...
    (comp.lang.java.programmer)
  • Re: SOAP newbie question
    ... Do Take a look at the wsdl pages on w3c as well. ... >> This is unchartered territory for me and I need the advice of the Java ... >> firewall to a URL at a vendor site. ... I've been told to use SOAP to ...
    (comp.lang.java.programmer)