我在本地主机上有一个java Web服务和一个php客户端.. 我用php来调用java web服务买这个出来的内部服务器错误500。 代码中的任何错误
private function getWebService() {
$ws = 'http://localhost:8080/Pineaaplews/services/PineappleHellow?wsdl';
$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS);
$client = new SoapClient($ws,$options);
$response = $client->addMethod(2,3);
$this->response = array('testStr' => $response);
}