Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
E Robb
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • 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
  • 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" />




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic