|
以下是录制WEBSERVICE时生成的脚本:
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("Content-Type", "text/xml; charset=utf-8");
以前都是生下面的脚本:
web_add_header("Content-Type", "text/xml; charset=utf-8");
soap_request("StepName=ProcessRequest_9",
"URL=http://219.134.185.216/CMCWebServiceV2/MainService.asmx",
"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"GB2312\" standalone=\""
"no\"?><soap:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" "
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soap=\""
"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><ProcessRequest"
" xmlns=\"http://tempuri.org/\"><action>Depot.Codeco.QueryCodeco</"
"action><requestViewStateString>/"
"wEWCB4Fd2hlcmUFzwEgREVQT1RfQ09NUEFOWV9JRCA9ICc2NjEnIGFuZCBDT05UQV9JTl9"
"EQVRFID49IHRvX2RhdGUoJzIwMDgtMDYtMTggMDA6MDAnLCd5eXl5LW1tLWRkIGhoMjQ6b"
"Wk6c3MnKSBhbmQgQ09OVEFfSU5fREFURSA8PSB0b19kYXRlKCcyMDA4LTA3LTAyIDIzOjU"
"5JywneXl5eS1tbS1kZCBoaDI0Om1pOnNzJykgYW5kIERFTF9NQVJLID0gMCBhbmQgUkVDT"
"1JEX1RZUEU9MSAeBWluZGV4AgEeBHNpemUCHh4DSV9FBQFJ</"
"requestViewStateString></ProcessRequest></soap:Body></soap:Envelope>",
"Snapshot=t9.inf",
"ResponseParam=response",
LAST);
是不是我设置出问题,有遇到相同问题的朋友给解释一下。 |
|