调用webservices接口解析soap报文出错 | 您所在的位置:网站首页 › 调用webservice出错badruntime › 调用webservices接口解析soap报文出错 |
调用webservices接口解析soap报文时出错报错信息: 严重: SAAJ0513: 无法从给定源创建信封, 因为无法识别名称空间 com.sun.xml.internal.messaging.saaj.soap.SOAPVersionMismatchException: Unable to create envelope from given source because the namespace was not recognized at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.lookForEnvelope(Unknown Source) at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(Unknown Source) at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(Unknown Source) at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(Unknown Source) at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(Unknown Source) at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.getSOAPBody(Unknown Source)解析soap报文的方法测试的时候没有问题,但是一旦调用接口,就会报错 |
CopyRight 2018-2019 实验室设备网 版权所有 |