I'm trying to send an MMS to an MMSC server using MM7 protocol and php pear-soap extension.
I am now at a point where I can't go any further, if you have some links or some doc to help me or even help me to complete my php code:
<?
include("SOAP/Client.php");
$url = 'http://edev.openwave.com:8080/mm7';
$namespace= 'http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0';
$soapclient = new SOAP_Client($url,$namespace);
$method = 'SubmitReq';
$params = array('MM7Version'=>'5.3.0',
'SenderIdentification'=>array(
'VASPID'=>'1xxxxxxxxxx','VASID' =>'password',
'SenderAddress'=>array('RFC2822Address'=>'test@test.com')), 'Recipients'=> array('To'=>array('Number'=>'1617433848')), 'MessageClass'=>'Personal','DeliveryReport'=>'false',
'ReadReply'=>'false','Priority'=>'Low',
'Subject'=>'Test SOAP mm7','ChargedParty'=>'Sender');
$soapheader = new SOAP_Header('{urn:http://schemas.xmlsoap.org/soap/envelope/}Header',NULL, array('TransactionID'=>'ID_1234','ContentType'=>'multipart/related');
$soapclient->addHeader($soapheader);
$response = $soapclient->call($method,$params,$namespace);
print_r($response);
?>
I get a soap_fault object (a big array) with the message:
no operation SubmitReq in wsdl
I tried a lot of different method names MM7_Submit ... nothing seems to work.
I also tried with a nowsms test server, I have the same error.
If somebody has some ideas, I'd be really happy.
Thanks