最近接到一个其他人做过的项目,里面有webservice
配好了axis
可以访问其中的jws
提示是:
There is a Web Service here
Click to see the WSDL
但是我访问jws?wsdl的时候就出
404无法找到该页
用getMsg提示
- <soapenv:Body>
- <soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService</faultcode>
<faultstring>The AXIS engine could not find a target service to invoke! targetService is null</faultstring>
- <detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">pku-djf</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
这个是什么问题,在线急求回答~~
新手没有积分,请大家帮帮忙啊
积分已经加进来,我所有的积分了~大家帮帮忙啊
------解决方案--------------------
帮顶!!
------解决方案--------------------
%AXIS_HOME%\lib
AXISCLASSPATH
%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar; %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar; %AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar; %AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
CLASSPATH 中加入:
%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar; %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar; %AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar; %AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
环境变量下都有么?