An axis question about WebService processing file DEPLOY.WSDD EXCEPTION:DEPLOY.WSDD (the system cannot find the file specified.) )

Source: Internet
Author: User

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






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.