• 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

How can I pass the list to the component variable in Laravel?

How do I loop through an MS SQL database with VB.NET?

PHP: set a (deep) array key from an array [closed]

Wordpress wpdb->delete issue

Composer fails with kylekatarnls/update-helper on new homestead

Group rows by column and sum another column within groups [duplicate]

Detect a fetch request in PHP

Problem with fetching data from database in Laravel

Access denied for user 'homestead'@'localhost' (using password: YES)

How do I upload a laravel project on cPanel shared hosting?

Passing a boolean value from checkbox in Laravel form

How to map the two arrays with a duplicate value?

How to make dot match newline characters using regular expressions

Project structure for PHP

Smarty if isset

About Contact Privacy policy Terms and conditions