webService 求助,急 初接触
System.getProperties().put("proxySet","true");System.getProperties().put("http.proxyHost","10.244.159.130");
System.getProperties().put("http.proxyPort","8081");
这个写在哪里,action 里面?还是。。。
好像是代理没弄好
----出现的错误----
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection timed out: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:367) --------------------编程问答-------------------- 用cxf --------------------编程问答-------------------- cxf具体怎么弄。 接触少。蛋疼 --------------------编程问答--------------------
你这个错误是:
要么webservice服务没有
要么url不对
补充:Java , Web 开发