Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Installing Apache Axis on Tomcat 4.0

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
I just downloaded Apache Axis1.2 on my machine.I have Tomcat4.0. Can i install it on Tomcat4.0 instead of 4.1? Also i need to connect to a WebService for which they have recommended to use Axis. SO can i write my Client on Axis platform for connecting to the WebService. Also,they have give me a WSDL file which apparently is generated through MSSOAP.
so can i call methods from axis client to the WSDL file
Please help me here would highly appreciate it
thanks,
Sachin
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sachin Dere:
Hi Guys,
I just downloaded Apache Axis1.2 on my machine.I have Tomcat4.0. Can i install it on Tomcat4.0 instead of 4.1?



Yes, see http://ws.apache.org/axis/java/install.html for further info.

Originally posted by Sachin Dere:
Also,they have give me a WSDL file which apparently is generated through MSSOAP.
so can i call methods from axis client to the WSDL file



Yes as long axis supports the encoding used by the webservice, mostly it works, have a look at WSDL2Java under apache axis website http://ws.apache.org/axis
 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
Thanks for replying.as u know i know nothing about Axis SOAP and am just trying to figure it out as im required to post Data using Axis to a WebService.
I managed to run WSDL2Java from the wsdl file and it created the Java files. what do i have to do now? whats the next step? i have already written a code based on DynamicInvoker from the Axis Sample folder but it gives me the following error:
java.lang.NullPointerException
at com.axissoap.client.MaxisSoapClient.getParamData(MaxisSoapClient.java:190)
at com.axissoap.client.MaxisSoapClient.invokeMethod(MaxisSoapClient.java:151)
at com.axissoap.client.MaxisSoapClient.main(MaxisSoapClient.java:326)
Exception in thread "main"

I have about 20 parameters to post and this is the wsdl file : http://202.75.163.46:2503/ECPAWSDL/ECPA32.WSDL

Please help me here.
thanks,
Sachin
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sachin,
What operation are you trying to invoke that gives you NullPointer exception ? What style are you using RPC/Document/Message ? I have generated the stubs from the WSDL, could you give me some sample paramters, I should be able to run and test it.
--pradeeP
 
Run away! Run away! Here, take this tiny ad with you:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic