newerdragon 2015-08-12 11:29 采纳率: 0%
浏览 3496

Xfire WebService 客户端调用问题

两个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.

实现方式:
图片说明

  • 写回答

2条回答 默认 最新

  • newerdragon 2015-08-12 11:29
    关注

    坐等大神解谜.. 急...

    评论

报告相同问题?