xfire客户端调用xfire服务端报错 org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Server returned error code = 40 遇到这种问题,一般不是服务器端的配置问题就是客户端的URL的问题。后来发现,是因为端口写错了。