rfc:soap_get_location

This is an old revision of the document!


PHP RFC: SoapClient __getLocation

Introduction

Current behaviour of setLocation() is a bit odd. It will return current location, but if new isn't provided it will set location to null. Adding a getLocation is a practical way of getting current location from client.

Proposal

Adding getLocation method to a SoapClient:

$client = new SoapClient('http://example.com/some.wsdl');
$location = $client->__getLocation();

Backward Incompatible Changes

No backward incompatible changes.

Proposed PHP Version(s)

- PHP 7.2

To Existing Extensions

- Soap

Proposed Voting Choices

Proposals require 2/3 majority

Patches and Tests

Implementation

After the project is implemented, this section should contain

  1. the version(s) it was merged to
  2. a link to the git commit(s)
  3. a link to the PHP manual entry for the feature
rfc/soap_get_location.1481035600.txt.gz · Last modified: 2017/09/22 13:28 (external edit)