PHP Classes

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

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 89 All time: 9,966 This week: 74Up
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: 59
All time rank: 309536 in Mexico Mexico
Week rank: 44 Up1 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 (13)  
File Role Description
Files folder imageNuSoap (12 files)
Accessible without login Plain text file WSClientOTCore.php Example Example script

  Files folder image Files (13)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
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:89
This week:0
All time:9,966
This week:74Up