[PHP-NOTES] note 130181 added to soapclient.soapcall

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
The named parameteres in doc seems wrong:

The call signature is:

function SoapClient::__soapCall(
    string $name,
    array $args,
    array|null $options = null,
    array|SoapHeader|null $inputHeaders = null,
    array &$outputHeaders = null
)

Example:

$response = $this->client->__soapCall(
                name: "myCoolService", 
                args: [$coolRequestParam], 
                options: [
                    'location' => 'https://example.dom/myservice',
                    'uri' => 'http://www.soap.example.com/myservice',
                    'soapaction' => 'myCoolService'
                ],
            );

So resuming:

function_name => name
arguments => args
options => options
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 84.39.180.208)
----
Manual Page -- https://php.net/manual/en/soapclient.soapcall.php
Edit        -- https://main.php.net/note/edit/130181
Del: integrated  -- https://main.php.net/note/delete/130181/integrated
Del: useless     -- https://main.php.net/note/delete/130181/useless
Del: bad code    -- https://main.php.net/note/delete/130181/bad+code
Del: spam        -- https://main.php.net/note/delete/130181/spam
Del: non-english -- https://main.php.net/note/delete/130181/non-english
Del: in docs     -- https://main.php.net/note/delete/130181/in+docs
Del: other reasons-- https://main.php.net/note/delete/130181
Reject      -- https://main.php.net/note/reject/130181
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.