I've been doing a lot of research on how to work with soap request.
every time i try doing the sendDocument i get an null execption error or some other error.
here is the wsdl link
http://www.echosign.com/services/EchoSi ... rvice?wsdl
err code "Uncaught SoapFault exception: [soap:Server] One or more errors has occurred. To is required."
my code
Code: Select all
<?php
$client = new SoapClient("http://www.echosign.com/services/EchoSignDocumentService?wsdl");
$sendDocumentParams = array(
'apiKey' => '7xxxxx',
'documentKey' => 'Hxxxx',
'documentCreationInfo' => array(
'tos' => 'robbie@socalpasa.com',
'name' => 'soap- test robbie',
'signatureType' => 'ESIGN',
'signatureFlow' => 'SENDER_SIGNATURE_NOT_REQUIRED',
'fileInfos' => array(
'fileName' => 'test.pdf',
'url' => 'http://tmbtech.net/test.pdf'
)
)
);
$result = $client->sendDocument($sendDocumentParams);
print_r($result)
?>thanks.