将xml对象序列化为SOAP时删除SOAP-ENC? [英] Remove SOAP-ENC when serializing xml object to SOAP?
问题描述
<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/>
<SOAP-ENV:Body>
<SOAP-ENC:string id="ref-1"><?xml version="1.0"?>
<serelizedObject>
</serelizedObject >
</SOAP-ENC:string>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
How to remove the "<SOAP-ENC:string id="ref-1"><?xml version="1.0"> and corresponding
How to remove the "<SOAP-ENC:string id="ref-1"><?xml version="1.0"> and corresponding
end tag <SOAP-ENC:string> from the soap message because it's causing issue while
end tag <SOAP-ENC:string> from the soap message because it's causing issue while
sending the soap request to service.
sending the soap request to service.
Above soap message is serelized from xml to soap using
Above soap message is serelized from xml to soap using
soapfomatter.
soapfomatter.
Any help please...
Any help please...
推荐答案
任何想法如何删除 " = <? =
Any ideas how to remove "<SOAP-ENC:string id="ref-1"><?xml version="1.0"?>"
从肥皂身体留言
from soap body message
这篇关于将xml对象序列化为SOAP时删除SOAP-ENC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!