使用SoapUI-和#x27测试Dynamics CRM 2011内部部署;脚本已禁用';响应
感谢大家阅读这篇文章 我正在使用SOAP测试Dynamics CRM 2011端点,在使用SOAPUi配置测试套件后,请求的响应将以网页的形式返回:“脚本已禁用。单击提交继续。” 似乎身份验证和请求都是正确的,根据其他用户的经验,我尝试在SOAPUi中更改不同的参数,但一切都对我有效 这是SOAPUi配置错误?还是来自服务端点 我还查阅了Technet的这篇文章: 我正在呼叫Dynamics CRM 2011内部部署SOAP端点 SOAPUi测试请求 标题:使用SoapUI-和#x27测试Dynamics CRM 2011内部部署;脚本已禁用';响应,soap,dynamics-crm-2011,soapui,Soap,Dynamics Crm 2011,Soapui,感谢大家阅读这篇文章 我正在使用SOAP测试Dynamics CRM 2011端点,在使用SOAPUi配置测试套件后,请求的响应将以网页的形式返回:“脚本已禁用。单击提交继续。” 似乎身份验证和请求都是正确的,根据其他用户的经验,我尝试在SOAPUi中更改不同的参数,但一切都对我有效 这是SOAPUi配置错误?还是来自服务端点 我还查阅了Technet的这篇文章: 我正在呼叫Dynamics CRM 2011内部部署SOAP端点 SOAPUi测试请求 标题: SOAPActionhttp://
- SOAPAction
http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Retrieve
- 接受
application/xml,text/xml,*/*
- 内容类型
text/xml;字符集=utf-8
http://myserver/XRMServices/2011/Organization.svc/web
身份验证:NTLM(具有用户、密码和域)
请求:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:con="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<soap:Header/>
<soap:Body>
<ser:entityName>contact</ser:entityName>
<ser:id>91A6E0D1-1182-E511-B589-5EF3FC563A99</ser:id>
<ser:columnSet>
<con:AllColumns>false</con:AllColumns>
<con:Columns>
<arr:string>fullname</arr:string>
</con:Columns>
</ser:columnSet>
</ser:Retrieve>
</soap:Body>
</soap:Envelope>
接触
91A6E0D1-1182-E511-B589-5EF3FC563A99
假的
全名
回答:(我已经清除了一些私人信息)
工作
脚本已禁用。单击“提交”继续
window.setTimeout('document.forms[0].submit()',0);
<html>
<head>
<title>Working...</title>
</head>
<body>
<form method="POST" name="hiddenform" action="http://myserver:444/">
<input type="hidden" name="wa" value="wsignin1.0"/>
<input type="hidden" name="wresult" value="*here was my security token*"/>
<input type="hidden" name="wctx" value="rm=1&id=40167dd3-3ac9-4961-a476-3b7ada5a6395&ru=%2fmyorganization%2fXRMServices%2f2011%2fOrganization.svc%2fweb"/>
<noscript>
<p>Script is disabled. Click Submit to continue.</p>
<input type="submit" value="Submit"/>
</noscript>
</form>
<script language="javascript">window.setTimeout('document.forms[0].submit()', 0);</script>
</body>
</html>