通過soap工具-添加服務調用如下:
Action()
{
web_service_call( "StepName=vRBTOrderTone_101",
"SOAPMethod=UserToneManageService|UserToneManageServicePort|vRBTOrderTone",
"ResponseParam=response",
"Service=UserToneManageService",
"ExpectedResponse=SoapResult",
"Snapshot=t1593313978.inf",
BEGIN_ARGUMENTS,
"xml:event="
"<event>"
"<ifSendSMS>0</ifSendSMS>"
"<MSISDN>13783697123</MSISDN>"
"<setFlag>abcde</setFlag>"
"<toneID>609260000000000000</toneID>"
"<toneType>1</toneType>"
"<accessPlatformID>1037111</accessPlatformID>"
"<DID>1037111</DID>"
"<DIDPwd>abcde</DIDPwd>"
"<SEQ>10371002020031709061883697123</SEQ>"
"</event>",
END_ARGUMENTS,
BEGIN_RESULT,
"vRBTOrderToneResult/returnCode=Param_returnCode",
END_RESULT,
LAST);
return 0;
}
編譯沒有錯誤
運行回訪後,提示
虛擬用戶腳本啓動時間: 2020/6/28 11:13:43
正在開始操作 vuser_init。
正在結束操作 vuser_init。
正在運行 Vuser...
正在開始迭代 1。
正在開始操作 Action。
Action.c(18): Web 服務調用 "vRBTOrderTone_101" 已啓動
Action.c(18): 錯誤: ExtractResultArg 失敗: 未將對象引用設置到對象的實例。。
Action.c(18): 錯誤: Web 服務調用 "vRBTOrderTone_101" 執行失敗
正在結束操作 Action。
正在結束迭代 1。
正在結束 Vuser...
正在開始操作 vuser_end。
正在結束操作 vuser_end。
Vuser 已終止。
有沒有大神給指點一下爲什麼有如下錯誤提示:
Action.c(18): 錯誤: ExtractResultArg 失敗: 未將對象引用設置到對象的實例。。