SoapServer doubts
Posted: Thu Jul 07, 2011 5:01 am
Hi,
I don´t how to do that:
I receive a soapxml correctly and i want to get the values and insert into a DB.
And in Class NeonServer:
I don´t how to do that:
I receive a soapxml correctly and i want to get the values and insert into a DB.
Code: Select all
$soap_msg = new DOMDocument();
$soap_msg->load('php://input');
$server = new SoapServer('wsdl.wsdl');
$server->setClass("NeonServer");
$server->handle($soap_msg->saveXML()); <- Correct?
Code: Select all
public function WsdlFunction($xml) <- Correct? XML don´t arrive to function
{
//Get data into array from xml
//Insert into table
return array();
}