|
2#
楼主 |
发表于 2008-12-21 03:00:34
|
只看该作者
小妹的脚本如下:
Action()
{
"SOAPHeader=<soap:Header> <CredentialSoapHeader xmlns=\"http://www.bellpv.ca/VASPOS2/\""
"> <authentication></authentication> <username>VASPOS2</username> <password>vp2aA2@1234</password> "
"</CredentialSoapHeader> </soap:Header>",
web_service_call( "StepName=getCustomerProfile_101",
"SOAPMethod=Pipe.PipeSoap.getCustomerProfile",
"ResponseParam=response",
"Service=Pipe",
"Snapshot=t1229796794.inf",
BEGIN_ARGUMENTS,
"xml:request=<request><accessPassword>auto string</accessPassword><authRequired>"
"N</authRequired><partnerID>GM</partnerID><timestamp>auto string</timestamp>"
"<userID>b1shen01</userID></request>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_think_time(3);
return 0;
}
运行返回没有错,但是在response中返回中不正确:
<responseInfo>
<responseCode>98</responseCode>
<responseDescription>Invalid Authentication Credentials</responseDescription>
<accessInfo />
<personalInfo />
</responseInfo>
</getCustomerProfileResult>
</getCustomerProfileResponse>
</soap:Body>
</soap:Envelope>
有懂的朋友能看看吗? |
|