0
Codeigniter 및 SOAP 웹 서비스를 처음 사용했습니다. 아래에 오류 응답을 받고 있어요.Codeigniter Nusoap Error
<?php
class Webservice extends CI_Controller {
var $ns = "http://localhost/website/webservice";
public function __construct()
{
parent::__construct();
$this->load->library("Nusoap_lib");
$this->server = new soap_server();
// Initialize WSDL support
$this->server->configureWSDL('hellowsdl', 'urn:hellowsdl');
// Register the method to expose
$this->server->register('hello');
// Define the method as a PHP function
}
public function hello() {
return 'Hello, ';
}
function index()
{
$this->server->service($this->ns);
}
?>
제발 누구 내 코드에서 문제가 도움이됩니다. 감사.
정확하게 오류 응답은 무엇입니까? –
파이어 폭스 SOA 클라이언트를 사용해 본 결과, "응답받는 중 오류가 발생했습니다"라는 메시지가 나타납니다. –