SoapVar and Case sensitivity

From: Date: Wed, 05 Jun 2013 09:24:24 +0000
Subject: SoapVar and Case sensitivity
Groups: php.soap 
Request: Send a blank email to php-soap+get-3380@lists.php.net to get a copy of this message
Hi all, I'm trying to access to a Soap web service (written in .Net) using my php server (Apache 2.4.3 Win32, PHP 5.4.7) and class "SoapClient" When I call a soap method, and see my sent data all tags names are in lowercase. Here an example : Client->MYCall(new SoapVar($this->mUserName, XSD_STRING, "string", "http://www.w3.org/2001/XMLSchema", "UserName", "http://[MY-ns]")); The resulting request : <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:ns1="MyNS"> <soap-env:body> <MYCall> <ns1:username xsi:type="xsd:string">JhonDoe</ns1:username> </MYCall> </soap-env:body> </soap-env:envelope> If you see the UserName is in lower case in the xml request whereas I write it using capitals. Does some one has a tip for this ? Thanks in advance BR. Mokhtar

« previous php.soap (#3380) next »