What's the standard way of sending and receiving DIME attachments using PEAR's SOAP_Server and SOAP_Client?
The way that I do it (PEAR SOAP as client, gSoap as server) is:
$oParams = new SOAP_Value( '{'.CR_NAMESPACE_SCHEMA.'}TranslateDocument', 'TranslateDocument', array( 'options' => $a_nOptions, new SOAP_Attachment( 'originalDoc', 'application/octet-stream', '', $a_strOriginal ) ) ); $this->call( 'TranslateDocument', $oParams, $this->m_rgSoapParams );
Where m_rgSoapParams are:
var $m_rgSoapParams = array( 'namespace' => CR_NAMESPACE_SCHEMA, 'soapaction' => '', 'style' => 'document', 'use' => 'literal', 'attachments' => 'DIME' );
Cheers Brodie
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php