• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Upgrading to Axis 2 - Ant build.xml no longer works

 
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 build.xml that works fine with Axis 1.4. I am trying to upgrade to Axis2 1.5 and Axis 2 does not like my build.xml.

All the build.xml does is go out an look at the remote wsdl's and builds the stubs for the web site to consume the web services.

In my build.xml I have modified this to use axis2:
<property name="wsdl2java.classname" value="org.apache.axis2.wsdl.WSDL2Java" />

I have narrowed down the issue to this peice of the build.:



I cant understand why it keeps telling me axis2 usage when it hits this area.
Any ideas would be greatly appreciated.
Am I not doing the arguments correctly or am I missing an argument?

Earl
axis2buildxmlerror.jpg
[Thumbnail for axis2buildxmlerror.jpg]
 
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
I would like to add that the web site that is trying to consume the services is using Axis2 and I believe that the source that providing the service is using Axis1. Im getting alot of additional errors when trying to build the stubs like:

org.apache.axis.description does not exist, org.apache.axis.encoding does not exist.

Im thinking in Axis 2 its looking for:
org.apache.axis2.description does not exist, org.apache.axis2.encoding does not exist.

Is it a fair assumption that Axis 2 is not backwardly compatable with Axis 1?

After more debug I have narrowed down the error further to my compileClasses:

<property name="wsdl2java.classname" value="org.apache.axis2.wsdl.WSDL2Java" />




 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic