web services - PHP NuSOAP parameters not included in request -


I am trying to send a SOAP request with a header and several parameters. This is the first time I have not used NuSOAP and there has never been any problem with it before. Although what's new to me, I'm including the header that could be the cause of the problem. The code for my request is given below:

  $ client = new nosap_client ($ url, 'wsdl', '', '', '', ''); $ Header = "& gt; ETGHDER>  1.0.0   Array ("Supreme 1" => 1, "param2" => 2 "," param3 "=> 3");); // WebService $ result = $ client- & gt; Call ('GetListVehicleType', array ('parameter' =>; $ param), '', '', false, true); Echo '& lt; Pre & gt; . Htmlspecialchars ($ client- & gt; Request, ENT_QUOTES) '& lt; / Pre & gt; ';  

The request sent here is:

  & lt ;? XML version = "1.0" encoding = "ISO-885 9-1"? & Gt; & Lt; SOAP-ENV: Envelope 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/" & gt; & Lt; SOAP-ENV: Header & gt; & Lt; ETGHeader & gt; & Lt; VersionRequest & gt; 1.0.0 & lt; / VersionRequest & gt; & Lt; Generator & gt; & Lt; Signature & gt; Signature & lt; / Signature & gt; & Lt; LoginData & gt; & Lt; Name & gt; Name & lt; / Name & gt; & Lt; Password & gt; Password & lt; / Password & gt; & Lt; / LoginData & gt; & Lt; / Generator & gt; & Lt; / ETGHeader & gt; & Lt; / SOAP-ENV: Header & gt; End Lieutenant: SOAP-ENV: Body & gt; GetListVehicleType xmlns = "http: // url" /> & Lt; / SOAP-ENV: Body & gt; & Lt; / SOAP -ENV: envelope & gt; 

There may be a problem with NuSOAP, it has been reworked using PHP's inbuilt.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -