I am developing a simulator to simulate client side web service. I have written the server side code. When I am trying to hit the service, I get the following exception on server side:
org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element
As I am only developing a simulator, I do not need to validate the request (and its tags). I just want to send the response no matter whatever the request contains. Any idea how to suppress this error or disable these interceptors?
I think you can take a look at the Provider API which CXF provide. In this case, CXF doesn't unmarshal the request message.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.