Bug #69668 [Com]: SoapClient generate invalid request xml if service URI contains the querystring
| From: | falundir at gmail dot com | Date: | Thu, 25 Jun 2015 08:16:39 +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-193869@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: falundir at gmail dot com
Reported by: LastDragon at yandex dot ru
Summary: SoapClient generate invalid request xml if service
URI contains the querystring
Status: Open
Type: Bug
Package: SOAP related
Operating System: win 8.1 x64
PHP Version: 5.5.25
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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