Hi there everyone! I'm having trouble when trying to connect to a XI webservice. I'll try to explain it.
I'm running a W2003 machine with IIS and PHP 5.2.3 running on it. php_soap.dll extension is enabled on it.
The WSDL location is and url at our XI system and looks like this:
http://benelus:50100/XISOAPAdapter/MessageServlet?channel=:BSANET_DEV:bsanet_CrearReserva_SOAP_Client&version=3.0
I think i can't call the constructor of SoapClient in WSDL mode, so I call it that way:
$_param_client_opt = array(
'location' => "http://benelus:50100/XISOAPAdapter/MessageServlet?channel=:BSANET_DEV:bsanet_CrearReserva_SOAP_Client&version=3.0",
'uri' => "urn:bsa:bsanet"
);
$oSoapClient = new SoapClient(null,$_param_client_opt);
Looks like there's no problem in here. Now i need to call a function in there to create a material(the name of the method is "os_ReservaMaterialCrear"). I have the xml file with all the structure but I don't know how to make it work. I have tried this:
$xml = file_get_contents("documento.xml");
$oSoapClient->__soapCall("os_ReservaMaterialCrear",$xml);
I'm not getting any errors but the message isn't arriving to XI. Any ideas? Maybe i need to use __doRequest??
Any help will be apreciated! Thanks in advance for help!