Hi my requirement is to create a soap based xml file using libxml2,xmltextwriter function. How do I write the first four lines with out the xmltag ?
POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3
when i use xmlTextWriterWriteFormatComment if always puts the content inside
<!-- -->
any help please Thanks
前4行是HTTP标头,而不是XML内容。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.