PHP Classes

Easy PHP SOAP Client Web Service: Send SOAP requests to Web service servers

Recommend this page to a friend!
  Info   View files Example   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 88 This week: 2All time: 9,958 This week: 94Up
Version License PHP version Categories
wsclient 1.0Public Domain7Web services, PHP 7
Description 

Author

This package can send SOAP requests to Web service servers.

It is an update of the SOAP client package written originally by Dietrich Ayala.

This version was updated to work under PHP 7.

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 18 packages by
Country: Mexico Mexico
Age: 58
All time rank: 310236 in Mexico Mexico
Week rank: 109 Up3 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
include_once '../NuSoap/nusoap.php';

/* change to yor url web server */
$wsdl = 'http://desarrollo.ontime.ink/Demo/wsserver/WSOTCore.php?wsdl';

$client = new nusoap_client($wsdl, FALSE);
$err = $client->getError();
if (
$err) {
   echo
'<h2>Constructor error</h2>' . $err;
   exit();
}

$result1=$client->call('PssChk', array('admin','OT2021Free'));

if (
$client->fault) {
    echo
"<h2>Fault</h2><pre>";
   
print_r($result1);
    echo
"</pre>";
} else {
   
$error = $client->getError();
    if (
$error) {
        echo
"<h2>Error</h2><pre>" . $error . "</pre>";
    } else {
        echo
"<h2>PssChk r</h2>";
        echo
$result1;
    }
}

$result1=$client->call('Conect', array('admin','OT2021Free'));

if (
$client->fault) {
    echo
"<h2>Fault</h2><pre>";
   
print_r($result1);
    echo
"</pre>";
} else {
   
$error = $client->getError();
    if (
$error) {
        echo
"<h2>Error</h2><pre>" . $error . "</pre>";
    } else {
        echo
"<h2>logout r</h2>";
        echo
$result1;
    }
}

?>


  Files folder image Files  
File Role Description
Files folder imageNuSoap (12 files)
Accessible without login Plain text file WSClientOTCore.php Example Example script

  Files folder image Files  /  NuSoap  
File Role Description
  Plain text file class.nusoap_base.php Class Class source
  Plain text file class.soapclient.php Class Class source
  Plain text file class.soap_fault.php Class Class source
  Plain text file class.soap_parser.php Class Class source
  Plain text file class.soap_server.php Class Class source
  Plain text file class.soap_transport_http.php Class Class source
  Plain text file class.soap_val.php Class Class source
  Plain text file class.wsdl.php Class Class source
  Plain text file class.wsdlcache.php Class Class source
  Plain text file class.xmlschema.php Class Class source
  Plain text file nusoap.php Class Class source
  Plain text file nusoapmime.php Class Class source

Downloadwsclient-2021-04-20.zip 141KB
Downloadwsclient-2021-04-20.tar.gz 135KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Easy PHP SOAP Server Web Service Download .zip .tar.gz This packege is an easy soap server Optional
 Version Control Reuses Unique User Downloads Download Rankings  
 100%1
Total:88
This week:2
All time:9,958
This week:94Up