WEBService Client(PHP)->Server(JAVA)
最近在做WEBService开发,我这边是做请求端,去请求JAVA做的WEBService,疑问如下,
$ViewProjectNumber['Project'] = '<number>1</number>';
$encodded = new SoapVar($ViewProjectNumber, SOAP_ENC_OBJECT);
$result = $client->oaProjectRequest($encodded);
Server接收$encodded显示出来的值??<number>1</number>? 被转义了,请问如何解决呢?
?
[解决办法]
print_r($encodded);SoapVar Object