我已经使用了wsdl服务工作正常,如果你改变了任何请求,它现在会给你500错误我需要显示预定义消息,如果我消耗的网络服务是关闭&也是为了超时。
还有一件事是Web服务调用没有工作,不知道为什么,但他们是从CXF工作的任何想法?
答案 0 :(得分:0)
To catch a timeout from a WS, use a Catch Exception Strategy and make it execute when the following condition is met: exception.causedBy(java.util.concurrent.TimeoutException)
To catch SOAP faults:
exception.causedBy(org.mule.module.SoapFaultException)
and
exception.causedBy(org.apache.cxf.binding.soap.SoapFault)
That should get you started. Not sure about the second part as to why you can't always use the WS Consumer component.