两个wsdl访问地址:
1、http://localhost:8080/mws1/services/MyService?wsdl 本地
2、http://bsp-oisp.test.sf-express.com:6080/bsp-oisp/ws/test?wsdl 远程
本地调用: String temp_str = service.example("test"); 输出正常
远程调用: String temp_str = service.test("1", "2"); 发生异常
浏览器直接输入wsdl地址,可以正常访问,但是通过客户端代码调用就抛出异常
异常如下:
Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault occurred while processing.