CSDN saw an error
Gentlemen, at the beginning of the study webservice with the axis technology, now I use the command line to generate SERVER-CONFIG.WSDD files can not be generated, the prompt to find files, why AH.
D:\Program files\myeclipse Enterprise Workbench 5.1.0 ga\eclipse>set axis_lib=d:
\workspace\getmsgservice\webroot\web-inf\lib
D:\Program files\myeclipse Enterprise Workbench 5.1.0 ga\eclipse>set java_cmd=ja
Va-djava.ext.dirs=d:\workspace\getmsgservice\webroot\web-inf\lib
D:\Program files\myeclipse Enterprise Workbench 5.1.0 ga\eclipse>java-djava.ext
. Dirs=d:\workspace\getmsgservice\webroot\web-inf\lib Org.apache.axis.client.Admi
Nclient-lhttp://localhost:8081/getmsgservice/servlet/axisservlet DEPLOY.WSDD
Processing file DEPLOY.WSDD
EXCEPTION:DEPLOY.WSDD (The system cannot find the file specified.) )
D:\Program files\myeclipse Enterprise Workbench 5.1.0 ga\eclipse>pause
Please press any key to continue ...
====================================================================
This is the DEPLOY.WSDD code that I built, and he is the same directory as Deploy.bat.
<deployment xmlns= "http://xml.apache.org/axis/wsdd/" xmlns:java= "http://xml.apache.org/axis/wsdd/ Providers/java ">
<service name= "Getmsgservice" provider= "Java:rpc" >
<parameter name= "ClassName" value= "getmsg.getmsg"/>
<parameter name= "Allowedmethods" value= "*"/>
</service>
</deployment>
Workaround:
deploy.bat file, Arial,sans-serif; font-size:14px; line-height:24px; Background-color:rgb (245,245,245) "> blue part for red section
http://localhost:8081/GetMsgService/ servlet/ axisservlet deploy. WSDD
Set Axis_lib=d:\axis-1_4\lib
Set java_cmd=java-djava.ext.dirs=%axis_lib%
Set axis_servlet=http://localhost:8080/axistest/services/axisservlet