Upgrade to axis 1-4? Just download the asxis1.4.war webapp.
run
javap -classpath $AXIS_CLIENTJAR org.apache.axis.client.AdminClient is there a constructor(boolean)?

Juan Alvarez wrote:
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="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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to