• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Axis 2 minimal jars for web Services connection

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a web site that I want to use to connect to an Axis 2 webapp.

I downloaded the binary of Axis2 1.5.3. Does anyone know the minimal jars I can use on the web site to connect to Axis? I dont want to set up an axis2 server I just want the minimum jars to connect to axis2 from a plain jane web site.

My understanding is minimal jars are:

axis2-kernel-1.0.jar
axis2-adb-1.0.jar

This sort of confused me as the article I read that says these were the min didnt include wsdl4.jar, jaxrpc.jar or saaj.jar and I didnt see them in the binary distrubution.

Just checking to see if anyone knew off hand. If not Ill just experiment with it.

Thanks,
Earl
 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Robb,
Why don't you just copy all the jars in the lib folder in to your web app? Unless, by inspection if you see logging, commons or other jars which might probably already present in your web app, you can remove those.
 
E Robb
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Naren Chivukula wrote:Hi Robb,
Why don't you just copy all the jars in the lib folder in to your web app? Unless, by inspection if you see logging, commons or other jars which might probably already present in your web app, you can remove those.



Well I dont have a webapp just a web site and I want to connect to a third party webpp using axis2. The binary download has 103 items in the axis2-1.5.3 folder (21 megs). Why would I put that in my lib to make a connection when I prob only need 4 jars. Im consuming the Axis Im the client.

Here is what I currently have and I am getting org.apache.axis.encoding.Deserializer error:
axis2-adb-codegen-1.5.3.jar
axis2-kernel-1.5.3.jar
axis2-saaj-1.5.3.jar
wsdl4j-1.6.2.jar

Thanks,
Earl


 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, I got your point Robb.

What I do if I were you is to take a wild guess of core jars (like the ones you mentioned) and start testing my client. If I get ClassNotFoundException or NoClassDefFoundError exceptions, I'd use Agentransack tool (free and very useful) to find out jar containing that missing class. I'll continue doing so and eventually my client will work. The whole process will not even take more than 2-5mins to do if client is well written.
 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic