51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 965|回复: 0
打印 上一主题 下一主题

[求助] Error -26631: 初学求助

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2015-11-30 22:47:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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;
}

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-19 23:45 , Processed in 0.061718 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表