php - SOAP encoding Problems -
O people, I just started learning soap and I got a problem when I expected to get an integer and when I I'm hoping to get a string or array or JSN, error is: SOAP-ERROR: encoding: violation of encoding rules I I have seen all the answers about this and it is not helping me My code is: & lt ;? Xml version = '1.0' encoding = 'UTF-8'? & Gt; & Lt; Definitions name = 'name' targetname = 'http: // localhost / soap' xmlns: tns = 'http: // localhost / soap' xmlns: soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns: xsd = 'http: //www.w3.org/2001/XMLSchema' xmlns: सोপनेक = 'http: //schemas.xmlsoap.org/soap/encoding/' xmlns: wsdl = 'http: // schemas Xmlsoap.org/wsdl/ 'xmlns =' http: //schemas.xmlsoap.org/wsdl/'> & Lt; Message Name = "getNamesRequest" & gt; & Lt; part name = "num" type = "xsd: string" /> & Lt; / Messages & gt;...