0
현재 https에 url이있는 sugarcrm에서 작업하고 있습니다. 비누가 https url에서 작동하지 않습니다. 내 코드가 http url에서 완벽하게 실행되고 있습니다. https 모드에서 동일한 코드를 실행하는 데 필요한 변경 사항은 무엇입니까?HTTPS를 통한 SOAP 웹 서비스가 작동하지 않습니다.
이 코드를 사용합니다. 사용자 이름, 암호 및 URL은 예를 들어 사람들에게만 해당됩니다.
<?php
require_once('nusoap.php');
$client = new soapclient('https://www.sugarcrm.com/soap.php?wsdl',true);
$auth_array = array(
'user_auth' => array(
'user_name' => 'abc',
'password' => md5('abc'),
)
);
$login_results = $client->call('login',$auth_array);
echo $session_id = $login_results['id'];
$user_guid = $client->call('get_user_id',$session_id);
printf("\n".$auth_array['user_auth']['user_name'].' has a GUID of ' . $user_guid . "\n\n");
?>
답장을 보내 주셔서 감사합니다 jmertic은 다음과 같습니다. 내 sugarcrm에 https가있는 url이 있습니다. 즉, config.php의 site_url이 https에 있으므로 지금 어디에서 변경해야합니까? –
site_url config.php 설정에 https가 포함되어 있다고 말하는 것입니까? – jmertic