Bug #69668 [Com]: SoapClient generate invalid request xml if service URI contains the querystring

From: Date: Wed, 24 Mar 2021 14:36:46 +0000
Subject: Bug #69668 [Com]: SoapClient generate invalid request xml if service URI contains the querystring
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232973@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69668&edit=1 ID: 69668 Comment by: vasilevrvv at gmail dot com Reported by: LastDragon at yandex dot ru Summary: SoapClient generate invalid request xml if service URI contains the querystring Status: Verified Type: Bug Package: SOAP related Operating System: win 8.1 x64 PHP Version: 5.5.25 Assigned To: cmb Block user comment: N Private report: N New Comment: Oh, not an object, an array, I'm sorry. Previous Comments: ------------------------------------------------------------------------ [2021-03-23 21:36:23] cmb@php.net falundir is right; there is no need to use any special XML characters in the namespace URI. On the other hand, ext/soap shouldn't produce invalid XML. ------------------------------------------------------------------------ [2015-06-25 08:16:39] falundir at gmail dot com Service endpoint URL (soap:address location) is not the same as service namespace. Namespaces can be any URI (or URN) and it's just a name, and not resource locator. Simply use something else than your service URL as your namespace, ex: http://company.com/services/TestService/v1 ------------------------------------------------------------------------ [2015-05-20 07:41:31] LastDragon at yandex dot ru Full descrition http://pastebin.com/4WGSvA02 (sorry, I can't post it here because this piece of shit says "Please do not SPAM our bug system.") ------------------------------------------------------------------------ [2015-05-20 07:37:06] LastDragon at yandex dot ru Description: ------------ If service URI contains the querystring (eg ?tmp=1&tmp2=2) then SoapClient will generate "ns1" attribute without entity encoding ("a=a&b=b" instead of "a=a&b=b"). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69668&edit=1

« previous php.bugs (#232973) next »