2
아래 코드에서 Jason Lattimer와 비슷한 코드를 사용했지만 실패했습니다. 더 이상 wsdl에서 "식별자"를 찾을 수 있습니다. 아무도 이것에 대한 도움을 줄 수 있습니까?XRMServices/2011/Organization.svc에서 식별자 가져 오기 문제
function GetADFS($url) {
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url . "XrmServices/2011/Organization.svc?wsdl=wsdl0");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec ($ch);
curl_close ($ch);
$responsedom = new DomDocument();
$responsedom->loadXML ($response);
// **************************************************
// **************************************************
// Can no longer find this Identifier
// **************************************************
// **************************************************
$identifiers = $responsedom->getElementsbyTagName ("Identifier");
$identifier = $identifiers->item (0)->textContent;
return str_replace ("http://", "https://", $identifier);
}
감사합니다. 너는 내 질문에 대답했다. AD를 사용하고 있지만 ADFS는 사용하지 않습니다. 내부 AD 배포와 비슷한 것을 얻으려면 어떻게해야합니까? – Campey
'비슷한'이 무슨 뜻입니까? ADFS가 없으면 '식별자'노드가 없습니다. – pen2
그렇다면 연합 서버가 아닌 Active Directory 서버를 어떻게 찾을 수 있습니까? – Campey