Axisfault faultcode:Server.userException异常
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection refused: connect
faultActor:
faultNode:
faultDetail:
axis自动生成的wsdl文件是有问题的,在他的wddlsoap标签中会使用localhost作为访问地址,
<wsdlsoap:address location="http://localhost:8080/Axis/services/Test"/>
这样当然是只有本机访问正常,其他机器访问不了,解决办法就是修改一下这个地址,比如你的地址是10.154.23.153,那么就把这里改为
<wsdlsoap:address location="http://10.154.23.153:8080/Axis/services/Test"/>
---恢复内容结束---