0
나는 PHP Nusoap을 사용하여 간단한 웹 서비스를 만들었습니다. 제대로 작동하지만 누락 된 유일한 것은 응답 태그에 기본 xmlns 특성을 추가하는 것입니다. 내가 LoginResponse 태그에 네임 스페이스를 추가 할 수있는 방법Nusoap - 응답의 빈 xmlns 속성 수정
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<LoginResponse xmlns="">
<LoginResult>
<register>
<customer>d2ff3b88d34705e01d150c21fa7bde07</customer>
</register>
</LoginResult>
</LoginResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
: 여기
는 응답의 사본입니다. 고맙습니다.
아니요, 작동하지 않습니다. 시도했습니다. nusoap을 사용하여 응답 태그에 속성을 추가하는 방법은 무엇입니까? – Rajat
복잡한 유형을 어떻게 추가합니까 (nusoap이 아닌 'out-of-the-box'서버에서만 작동). – Wrikken