Question : Getting started with SOAP

I'm trying to get started with SOAP because I want to use the API available at FilesAnywhere to interact with their web services. This is the first time I've used SOAP and I need some help getting started.

I have the API access on in my account and I have a developer key. I have a working Apache/PHP environment in which I am working and I've downloaded the nusoap.php class.

At this point I'm just trying to log in, so I have some code I'm working with below, but I'm getting an error:
Fatal error: Uncaught SoapFault exception: [Client] Function ("call") is not a valid method for this service in C:\server\www\webdev\public_html\test.php:8 Stack trace: #0 [internal function]: SoapClient->__call('call', Array) #1 C:\server\www\webdev\public_html\test.php(8): SoapClient->call('AccountLogin', Array, Array, Array) #2 {main} thrown in C:\server\www\webdev\public_html\test.php on line 8

Where am I going wrong?
1:
2:
3:
4:
5:
6:
7:
8:
9:
<?php
require_once('nusoap.php');
$client = new soapclient('https://api.filesanywhere.com/fawapi.asmx?WSDL');

$loginResult = $client->call('AccountLogin',
              array('APIKey' => '<MY KEY>'),
			  array('UserName' => '<MY USERNAME>'),
			  array('Password' => '<MY PASSWORD>'));
?>

Answer : Getting started with SOAP

Turns out, load balancing with Form Authentication has issues. I'll just use Windows Auth with basic for now...
Random Solutions  
 
programming4us programming4us