1
메신저 여기 사마귀 SOAP의 mc_issue_update
nusoap
를 통해 비누 API를 사용하여 BT는 사마귀를 조작하려고하는 것은 하늘의 배열 응답 내 스크립트 결과를 실행<?php
require_once('nusoap-0.9.5/lib/nusoap.php');
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
$WSDL_POINT = "http://test_test_test/api/soap/mantisconnect.php";
$username = 'user';
$password = 'pass';
$issue_id = 500;
$project_id = 5;
$params_update = array (
'username' => $username,
'password' => $password,
'issueId ' => $issue_id,
'issue' => array (
'id' => 3890500,
'summary' => 'test test test',
'project'=>array('id'=>$project_id),
'status' => array (
'id' => 10,
'name' => 'resolved'
),
)
);
$client = new nusoap_client($WSDL_POINT, false);
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = false;
$result = $client->call('mc_issue_update', $params_update, 'http://test_test_test/api/soap/mantisconnect.php', 'testtest');
echo "<pre>";
print_r ($result);
echo "</pre>";
?>
를 업데이트하고 문제를하려고 코드 예제 메신저이며, 문제 않네 업데이트, 동시에 mc_issue_get, 문제가 데이터와 함께 응답 배열을 받고 아무 문제가 있어요.
이 코드의 문제점에 대해 알려주십시오.
에코 :