• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to send parameters in soap request in php in __soapcall() function

phpxmlsoap


PHP Snippet 1:

$client = new \SoapClient("your_wsdl_link", [
    'trace' => true
]);

$params = [
    'AgentLoginRQ' => [
        'DBName'    => 'DATABASE_NAME',
        'AgentABTA' => '****',
        'UserName'  => '****',
        'Password'  => '********',
        'Products'  => '',
    ]
];

$result = $client->YourFunction($params);

Related Snippets

Class AppHttpControllersUserController Does Not Exist

Adding one microsecond to Datetime object in PHP

how to see if database exists with PDO [duplicate]

Confirm Leave on External Links in Wordpress

Statement that checks whether a URL contains a particular path?

Navigation idle on content download

PHP block shortcut in Visual Studio Code

correct PHP headers for pdf file download

How to extract price from given url using Xpath?

PDOException SQLSTATE[HY000] [2002] No such file or directory

disable two buttons after clicking another button

Select option menu read from database and use it's values

Converting IPv6 to IPv4 address in PHP

php mysql + create a friend request system

How do I truncate a decimal in PHP?

About Contact Privacy policy Terms and conditions