调用接口解析soap报错无法从给定源创建信封, 因为根元素不是命名的信封

行云乱雨 2022-11-24 12:21:08

调用webservices接口解析soap报文报错

com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source because the root element is not named "Envelope"

解析soap报文的方法测试的时候没有问题,但正式调用接口了就报错了

...全文
956 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qingshanxiushui 2023-02-20
  • 打赏
  • 举报
回复

解决了,我也遇到同样问题

qq_27803295 2023-06-29
  • 举报
回复
@qingshanxiushui 请问怎么解决的

12,166

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧