CXF的webservice接口中字符串参数中文问题
发布时间:2020-12-17 00:09:42 所属栏目:安全 来源:网络整理
导读:22162][WARN][main] 10:51:45,122 method:org.apache.cxf.common.logging.LogUtils.doLog(LogUtils.java:405)/nInterceptor for {http://xx.com/}TourPlanSearchFacadeService#{http://facade.ext.xx.com/}searchPlan has thrown exception,unwinding noworg
22162][WARN][main] 10:51:45,122 method:org.apache.cxf.common.logging.LogUtils.doLog(LogUtils.java:405)/nInterceptor for {http://xx.com/}TourPlanSearchFacadeService#{http://facade.ext.xx.com/}searchPlan has thrown exception,unwinding now org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unexpected character '<' (code 60) excepted space,or '>' or "/>" at [row,col {unknown-source}]: [1,996] at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:823) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:644) at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157) at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:108) 报上面错误,google,发现是是xx方法(String keyword)传入为中文报错 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |