php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55697 "location" description is unclear
Submitted: 2011-09-15 09:23 UTC Modified: 2011-12-03 23:53 UTC
From: anna dot stenman at sstmainos dot fi Assigned: frozenfire (profile)
Status: Closed Package: SOAP related
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
 [2011-09-15 09:23 UTC] anna dot stenman at sstmainos dot fi
Description:
------------
---
From manual page: http://www.php.net/soapclient.soapclient
---

In the explanation of the parameter "options": "If working in non-WSDL mode, the location and uri options must be set, where location is the URL to request and uri is the target namespace of the SOAP service."

I tried to learn SOAP from zero and it took me a long time to realize the "location" means the location of the server. All examples show "http://localhost/soap.php" and give the impression of it meaning the client script.

I would suggest using "http://localhost/soapserver.php" in the examples and also clarifying this in the parameter explanation.


Patches

soap-location (last revision 2011-12-03 23:48 UTC by quentinboughner at hotmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-07 19:38 UTC] kalle@php.net
-Summary: - +Summary: "location" description is unclear
 [2011-12-03 21:55 UTC] frozenfire@php.net
-Assigned To: +Assigned To: frozenfire
 [2011-12-03 23:52 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=320334
Log: Clarified location option. Closes bug #55697.
 [2011-12-03 23:53 UTC] frozenfire@php.net
-Status: Assigned +Status: Closed
 [2011-12-03 23:53 UTC] frozenfire@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Credit to qmanjr5 for patch.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 17:01:30 2024 UTC