TA的每日心情 | 慵懒 2018-5-17 10:12 |
---|
签到天数: 13 天 连续签到: 1 天 [LV.3]测试连长
|
Action()
{
web_service_call( "StepName=personCertApply_101",
"SOAPMethod=PersonCertApply|PersonCertApplyHttpPort|personCertApply",
"ResponseParam=response",
"Service=PersonCertApply",
"ExpectedResponse=SoapResult",
"Snapshot=t1525396485.inf",
BEGIN_ARGUMENTS,
"parame=<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<request command=\"personCertRequest\">"
"<platformid>10000041</platformid>"
"<parameters>"
"<username>test_test</username>"
"<cardtype>7</cardtype>" //证件类型
"<cardnum>ccit</cardnum>"
"<ipaddress>1.1.1.1</ipaddress>"
"<certsort>4</certsort>" //证书种类
"<certapptype>220</certapptype>" //证书应用类型
"<subjectpubkey>MIIBCgKCAQEAs3Xt8H+q1M4Y8Bhti+IGflFWCzC/OJdFYHhReCwJKU9iqTAZF8QBYIlUwAJzravepK3Ee4Qg13NXzRP43elRTrJ9xJeaShXMbYwE2397tNiYZqHp8OfYZWdhW8LkWQnyqIRDmnIRZ0P4dMCBbsCCZHv6XbzXTQbR2KTUaImRuYKiYBZJbjzqjVOnmcx3YBGl9KIXLhI1P/lbjNuGOYeYSsjSrywvVLzVPTayiAUOeK9n9zhumNU/xX8cnya3gUKfoM+Lzi8khl0a+PmD2taIIvlaI+7kA08W350VZnhX1NU4gU3Ad9BEcC/7QSpoZqWRsWfrpmhusajf3fnOuMB6zwIDAQAB</subjectpubkey>"
"<telephone></telephone>"
"<mobilephone>15811008197</mobilephone>"
"<address></address>"
"<postalcode></postalcode>"
"<email>77533005@qq.com</email>"
"<province>1</province>"
"<city>5</city>"
"<unitname>ccit</unitname>"
"<userorg>ccit</userorg>"
"<certstoragetype>0</certstoragetype>" //存储类型,0是P12,1是Ukey
"<notbefore>2017-12-14 10:07:14</notbefore>" //证书生效时间
"<notafter>2018-1-10 10:07:14</notafter>" //证书失效时间
"<extend1>ccit.com.cn</extend1>"
"<extend2></extend2>"
"<extend3></extend3>"
"<extend4></extend4>"
"<extend5></extend5>"
"</parameters>"
"</request>",
END_ARGUMENTS,
BEGIN_RESULT,
"out=Param_out",
END_RESULT,
LAST);
return 0;
}
运行脚本时,出现以下问题
返回错误提示:
Action.c(5): Error Exceptions:
Action.c(5): Error: InvokeMethod failure: 0??t
Action.c(5): Error: ExtractResultArg failure: 外部组件发生异常。.
Action.c(5): Error: Web service call "personCertApply_101" execution failed
求论坛的各位大神帮忙?
|
|