Hello. I'm using axis1.1. My problem is tha the axis ant task don't work properly
This is that I have:
<axis-admin
url="" href="http://localhost:8080/axis1_1/services/AdminService">http://localhost:8080/axis1_1/services/AdminService"
xmlfile="${endpoint-stub.wsdd}" />
When I execute this ant task I obtain the next error from ant
BUILD FAILED
java.lang.NoSuchMethodError: org.apache.axis.client.AdminClient.<init>(Z)V
I enabled the AdminService in web.xml removing comments in
<servlet-mapping>
<servlet-name>AdminServlet</servlet-name>
<url-pattern>/servlet/AdminServlet</url-pattern>
</servlet-mapping>
and put the 'true' value in the enableRemoteAdmin in AdminService in server-config.wsdd as in next
<service name="AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="true"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
Note:
The alternative to publish a ws (java -cp $CLASSPATH AdminClient options) does work correctly.
Thanks in advance.
- axis-admin ant task problem Juan Alvarez
- Re: axis-admin ant task problem Warren Crossing
- Re: axis-admin ant task problem Juan Alvarez
