Apache CXF(3.1.4) - org.apache.cxf.interceptor.Fault:意外的元素

时间:2016-02-05 17:55:17

标签: apache web-services cxf mtom

我正在使用IRS ACA A2A Web服务客户端和CXF新手。我一直得到以下例外。我做错了什么?

org.apache.cxf.interceptor.Fault: Unexpected element {urn:us:gov:treasury:irs:msg:irsacabulkrequesttransmitter}ACABulkRequestTransmitter found.   Expected {urn:us:gov:treasury:irs:msg:irsacabulkrequesttransmitter}ACABulkRequestTransmitterResponse.
at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.validatePart(DocLiteralInInterceptor.java:280)
at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:191)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.phase.PhaseInterceptorChain.doInterceptStartingAt(PhaseInterceptorChain.java:470)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:772)

0 个答案:

没有答案