阅读背景:

如果名称空间声明在SOAP信封上,如何使用JAXB来取消marshall SOAP响应?

来源:互联网 

JAXB can only unmarshall an XML if the soap envelope has already been removed. However, the SOAP response I'm trying to unmarshall has its namespace declaration on the soap envelope. If I remove the soap envelope, the namespace declaration will also be removed. As such the prefix of the tags will be referring to none. This causes JAXB to throw an error. How can I unmarshall a SOAP response using JAXB if the namespace is declared on the SOAP envelope?JAXB can only unmarshall an XML if the soap env




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: