Project and Portfolio Management Practitioners Forum
cancel

Script Failure

Highlighted
arvene
New Member.

Script Failure

Hi all,

I have recorded a web based application where user searches for a name and the following script has been created after recording.

Action()
{

web_set_user("AUIAG.CORP\\s63454",
lr_decrypt("4c5262c5b5c5043688ce86"),
"insite-uat:80");

web_add_cookie("MSOWebPartPage_AnonymousAccessCookie=80; DOMAIN=insite-uat");

web_url("Default.aspx",
"URL=http://insite-uat/Pages/Default.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../Style%20Library/IAG.DI/insite-alternate.css", ENDITEM,
"Url=../Style%20Library/IAG.DI/insite-controls.css", ENDITEM,
"Url=../Style%20Library/IAG.DI/insite-ie-6.0.css", ENDITEM,
"Url=../_layouts/IAG.DI/js/jq/bgi.js", ENDITEM,
"Url=../WebResource.axd?d=0fdtrkU9noMcgfgm3VlAww2&t=633797992309054843", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/header-bg.jpg", ENDITEM,
"Url=../_layouts/images/siteactionsmenugrad.gif", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/search-bg.jpg", ENDITEM,
"Url=../_layouts/images/iag.di.branding/nav-bg.jpg", ENDITEM,
"Url=../_layouts/images/iag.di.branding/main-nav-bg.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/btn-search.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/btn-search-people.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/tab-bg-set.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/home-gradient-footer-bg.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/home-gradient-bg.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/i-want-to-bg.gif", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/more-arrow.gif", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/coffee.gif", ENDITEM,
"Url=../_layouts/images/iag.di.branding/btnSubmit.jpg", ENDITEM,
"Url=../_layouts/images/IAG.DI.Branding/feet-bg.jpg", ENDITEM,
"Url=../_layouts/IAG.DI/wpresources/IAG.DI.WeatherWebPart/images/28.png", ENDITEM,
"Url=../_catalogs/masterpage/Iag.Intranet.PersonQuickSearch.xap", "Referer=", ENDITEM,
"Url=../_layouts/images/imnoff.png", ENDITEM,
LAST);

web_url("silverlight.config.xml",
"URL=http://insite-uat/_catalogs/masterpage/silverlight.config.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);

web_url("clientaccesspolicy.xml",
"URL=http://sdc1as195:8080/clientaccesspolicy.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);

web_custom_request("HRService.svc",
"URL=http://sdc1as195:8080/HRService.svc",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=r100",
LAST);

web_custom_request("HRService.svc_2",
"URL=http://sdc1as195:8080/HRService.svc",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=rajesj100",
LAST);

/*select rajee*/

web_url("phonebook.aspx",
"URL=http://insite-uat/pages/phonebook.aspx?payrollId=41177",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=../Style%20Library/IAG.DI/insite-alternate.css", "Referer=http://insite-uat/pages/phonebook.aspx?payrollId=41177", ENDITEM,
"Url=../Style%20Library/IAG.DI/insite-controls.css", "Referer=http://insite-uat/pages/phonebook.aspx?payrollId=41177", ENDITEM,
"Url=../Style%20Library/IAG.DI/insite-ie-6.0.css", "Referer=http://insite-uat/pages/phonebook.aspx?payrollId=41177", ENDITEM,
"Url=../_catalogs/masterpage/Iag.Intranet.PersonDetails.xap", "Referer=", ENDITEM,
"Url=../_catalogs/masterpage/Iag.Intranet.PersonQuickSearch.xap", "Referer=", ENDITEM,
LAST);

web_url("silverlight.config.xml_2",
"URL=http://insite-uat/_catalogs/masterpage/silverlight.config.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);

web_url("silverlight.config.xml_3",
"URL=http://insite-uat/_catalogs/masterpage/silverlight.config.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);

web_url("clientaccesspolicy.xml_2",
"URL=http://sdc1as195:8080/clientaccesspolicy.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);

web_custom_request("HRService.svc_3",
"URL=http://sdc1as195:8080/HRService.svc",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t10.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=41177",
LAST);

web_custom_request("HRService.svc_4",
"URL=http://sdc1as195:8080/HRService.svc",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t11.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=9307",
LAST);

return 0;
}

The script fails at the following request :

web_custom_request("HRService.svc",
"URL=http://sdc1as195:8080/HRService.svc",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=r100",
LAST);


The server response that I see in the run time viewer is

The message with Action cannot be procesed at the receiver, due to a contract filter Mismatch at the Endpoint Dispatcher. This may be because of either a contract mismatch(mismatched Actions betwwen sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding(including security requirements, e.g. Message, Transport, None....

I am aware that there is a WCF service involved when searching for hte person.

could any please give any hints solving this

thanks