0
我有一個XML字符串,像這樣的:如何將xml String添加到Soapui groovyscript的請求中?
<glossary>
<GlossDiv>
<GlossList>
<GlossEntry>
<Abbrev>ISO 8879:1986</Abbrev>
<Acronym>SGML</Acronym>
<GlossDef>
<GlossSeeAlso>
<e>GML</e>
<e>XML</e>
</GlossSeeAlso>
<para>A meta-markup language, used to create markup languages such as DocBook.</para>
</GlossDef>
<GlossSee>markup</GlossSee>
<GlossTerm>Standard Generalized Markup Language</GlossTerm>
<ID>SGML</ID>
<SortAs>SGML</SortAs>
</GlossEntry>
</GlossList>
<title>S</title>
</GlossDiv>
<title>example glossary</title>
</glossary>
我怎麼能添加這一個XML請求我有嗎?
例如:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET">
<soapenv:Header/>
<soapenv:Body>
<web:GetWeather>
<HERE IS WHERE I'D LIKE TO PUT MY XML FROM BEFORE>
</web:GetWeather>
</soapenv:Body>
</soapenv:Envelope>
預先感謝您的傢伙。任何幫助都會很棒。