51Testing软件测试论坛

标题: Error -26631: 初学求助 [打印本页]

作者: changqian999    时间: 2015-11-30 22:47
标题: Error -26631: 初学求助
Action()
{
web_add_auto_header("Accept","*/*");
web_add_auto_header("Accept-Encoding","gzip,deflate");
  
web_add_auto_header("User-Agent","Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; {D9D54F49-E51C-445e-92F2-1EE3C2313240}; InfoPath.3)");
    web_add_header("Accept-Language", "zh-CN");
web_add_header("Connection","Keep-Alive");
web_add_header("Host","202.105.12.133:8080");
web_add_header("Date","");
web_add_header("Content-Length","320");
web_add_header("SOAPAction","");
web_add_header("Content-Type","text/xml;charset=utf-8");
web_add_header("Server","Apache-Coyote/1.1");
    //web_add_auto_header("Accept","application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*");
web_custom_request("web_custom_request",
    "URL=http://202.105.12.133:8080/msgpush/services/MsgPush.wsdl",
    "Method=POST",
"TargetFrame="
"Resource=0"
    "Mode=HTTP",                                               
    "RecContentType=text/xml",
"Referer=",
"Snapshot=t5.inf",
"EncType=text/xml;charset=utf-8",
    "Body=<?xml version=\"1.0\"encoding=\"UTF-8\" standalone=\"no\"?>"   
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://hns.gwi.com.cn/hns/services\">"
"<soapenv:Header/>"
"<soapenv:Body>"
"<ser:pushMessageRequest>"
"<ser:requestHeader>"
"<ser:userName>?</ser:userName>"
"<ser:password>?</ser:password>"
"<ser:channel>TEST</ser:channel>"
"<ser:ver>?</ser:ver>"
"</ser:requestHeader>"
"<ser:pushMessageRequestBody>"
"<ser:strXml>"
"<![CDATA["
"<Response>"
"<FunctionID>00001</FunctionID>"
"<RegisterInfo>"
"<CardType>9</CardType>"
"<CardNo>6684464</CardNo>"
"<VisitID>224214455</VisitID>"
"<OrdType>2</OrdType>"
"<OrderNO>94163375</OrderNO>"
"<PayTime>2015-11-03 20:40:23</PayTime"
"><PatientID>6684464</PatientID>"
"<PatientName>李晓天</PatientName>"
"<Sex>男</Sex>"
"<Age>35</Age>"
"<Tel>15388063121</Tel>"
"<DeptID>94</DeptID>"
"<DeptName>中医科</DeptName>"
"<RegisterTypeID>1004</RegisterTypeID>"
"<RegisterType>中医专家(副主任医师)</RegisterType>"
"<PhaseID>2</PhaseID>"
"<DocID>1639</DocID>"
"<DocName>韩慧</DocName>"
"<Total>7</Total>"
"<RegisterDate>2015-11-04 16:30:01</RegisterDate>"
"<Loc>2楼中医科门诊11室</Loc>"
"<RegisterNo>21</RegisterNo>"
"</RegisterInfo></Response>]]>"
"</ser:strXml>"
"</ser:pushMessageRequestBody>"
"</ser:pushMessageRequest>"
"</soapenv:Body>"
"</soapenv:Envelope>",LAST);

lr_think_time(0.01);
return 0;
}






欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2