com.ctc.wstx.exc.WstxUnexpectedCharException:Unexpected错误解决
业务场景 :向ESB发送请求XML自定义报文报错
错误详细 :
the endpoint reference ERP for the Operaion not found is http:ip and the wsa action = 1
message format error :com.ctc.wstx.exc.WstxUnexpectedCharException:Unexpected
character ‘=’ (code 61)excepted either space or “?>”
after PI target at [row,col (unknown-source)]: [1,13]
解决办法 :
发送请求的xml头<?xml version="1.0" encoding="GBK"?>
xml与version之间留出空格
version与encoding之间留出空格
最后
以上就是任性凉面最近收集整理的关于com.ctc.wstx.exc.WstxUnexpectedCharException:Unexpected错误解决的全部内容,更多相关com内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复