Send MMS thru SOAP MM7 interface - using php

Send MMS thru SOAP MM7 interface - using php SearchSearch
Author Message
Eric
Unregistered guest
Posted on Thursday, October 07, 2004 - 08:53 pm:   

I'm trying to send an MMS thru my nowSms test server using the mm7 interface.
I'm using php code. I've been looking around on the web to find infos, tutos, etc etc ... and made a few tests.
I've written that small php script and, well, it doesn't work quite well. I got a

HTTP Response 401 Authentication Failed


include("SOAP/Client.php");

$endpoint = 'http://nowmms.dyndns.org:8080/mm7';
$soapclient = new SOAP_Client($endpoint);
$method = 'SubmitReq';

$params = array(
'MM7Version'=>'5.6.0',
'SenderIdentification'=>array(
'VASPID'=>'vasacc','VASID'=>'vasacc','SenderAddress'=>array(
'RFC2822Address'=>'vasacc@nowmms.dyndns.org')),
'Recipients'=>array('To'=>array('Number'=>'11234567890')));

$soapheader = new SOAP_Header('{urn:http://schemas.xmlsoap.org/soap/envelope/}Header',
NULL,array('TransactionID'=>'ID_1234'));

$soapclient->addHeader($soapheader);

$response = $soapclient->call($method,$params);

print_r($response);

?>


Do you have any idea where I'm wrong, I'd be really happy

thank you}
karan
Unregistered guest
Posted on Wednesday, November 24, 2004 - 12:19 pm: