|
请哪位大侠说明一下怎么写下面这个body,非常感谢!
'====下面是body的内容====
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.webmethods.com/test" xmlns:types="http://www.webmethods.com/test" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:HATest xmlns:tns="http://www.webmethods.com/test"/></soap:Body></soap:Envelope>
'===End======
PRIMARY POST URI "http://172.31.113.180:5000/soap/rpc HTTP/1.0" ON 1 &
HEADER DEFAULT_HEADERS &
,WITH {"Accept: */*", &
"Accept-Language: zh-cn", &
"Content-Type: text/xml; charset=ISO-8859-1", &
"Content-Length: 473", &
"Authorization: Basic QWRtaW5pc3RyYXRvcjptYW5hZ2U="+strAuthBlob, &
"Connection: Keep-Alive", &
"Pragma: no-cache"} &
,BODY "<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.webmethods.com/test" xmlns:types="http://www.webmethods.com/test" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:HATest xmlns:tns="http://www.webmethods.com/test"/></soap:Body></soap:Envelope>"
直接这样放在body中,总是提示语法错误。该怎么写? |
|