Creating Android Client Using WSDL

Discussion in 'Android Tablet Discussions' started by Ya2, Jun 27, 2011.

  1. Ya2

    Ya2 Member

    Joined:
    Jun 27, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    60
    I have a working server for the program I made, it works fine using 'normal' Java, while using WSDL. (And NetBeans)

    Now I want to allow Android users to use the server too, I started a new Android project,.. (In Eclipse)
    I want my Android project to work with the server's WSDL.
    How should I "Extract" the WSDL into my new project, so all the 'functions' (Classes) written in the WSDL work well in Android ?
     
  2. JavaMonkey

    JavaMonkey Member

    Joined:
    May 19, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    60
    Use WSDL2Java, which is in the Apache Axis project.
     
  3. Ya2

    Ya2 Member

    Joined:
    Jun 27, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    60
    Isn't Apache Axis for the server only ?
     
  4. JavaMonkey

    JavaMonkey Member

    Joined:
    May 19, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    60
    Yes, the Axis project includes a server, but you can just use the WSDL2Java tool without actually running the server. If you download the Axis project, that tool is in one of the jar files, and you can run it from there. There might be some other dependencies that need to be in your CLASSPATH, I don't remember, you might need to experiment, but that tool will do what you are looking for.
     

Share This Page

Search tags for this page

how to add wsdl2java to android

,

wsdl2java android