php soap transfering files using -'php,soap,soap-client'

php soap transfering files  using -'php,soap,soap-client'

I am new to SOAP and I am trying to learn how to transfer files (.zip files) between a client and server using PHP and SOAP. Currently I have a set up that looks something like this:


$server = new nusoap_server;

$server->configureWSDL('server', 'urn:server');

$server->wsdl->schemaTargetNamespace = 'urn:server';

            array('value' => 'xsd:string'),
            array('return' => 'xsd:string'),

But I am unsure on what the return type should be if not a string? I am thinking of using a base64_encode.

asked Sep 7, 2015 by rajesh
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.