Мне нужно сгенерировать сообщение MM7 Soap точно так же, как следующее. Я мог бы сгенерировать мыло MM7, но часть сообщения SMIL и вложения изображения / текста представляют собой проблемы. Кто-нибудь знает, как сгенерировать эти части?
<?xml version="1.0" encoding="UTF-8"?>
<P:Envelope xmlns:P="http://schemas.xmlsoap.org/soap/envelope/">
<P:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0" P:mustUnderstand="1" >1343706064118205</mm7:TransactionID>
</P:Header>
<P:Body>
<mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0">
<mm7:MM7Version>6.3.0</mm7:MM7Version>
<mm7:SenderIdentification>
<mm7:VASPID>1000</mm7:VASPID>
<mm7:VASID>0005</mm7:VASID>
<mm7:SenderAddress>
<mm7:Number>Dialog MMS</mm7:Number>
</mm7:SenderAddress>
</mm7:SenderIdentification>
<mm7:Recipients>
<mm7:Bcc>
<mm7:Number>94773087654/TYPE=PLMN</mm7:Number>
</mm7:Bcc>
</mm7:Recipients>
<mm7:ServiceCode>105</mm7:ServiceCode>
<mm7:DeliveryReport>true</mm7:DeliveryReport>
<mm7:Subject>DailyMirror News Service</mm7:Subject>
<mm7:ChargedParty>Neither</mm7:ChargedParty>
<mm7:ChargedPartyID></mm7:ChargedPartyID>
</mm7:SubmitReq></P:Body></P:Envelope>
- ========== fBS6FtL4PDKimRjInCAaIDytdJ9ulmContent-Transfer-Encoding: 8bitContent-Type: multipart / related; type = "приложение / улыбка"; start = ""; border = 481bf3d684924bbee13179cd4576eda8--481bf3d684924bbee13179cd4576eda8Content-Transfer-Encoding: 8bitContent-ID: ‹35_1> Content-Type: text / plain; name = "35_1.txt" Content-Disposition: attachment; filename = "35_1.txt" 1.ABC 2. XYZ
--481bf3d684924bbee13179cd4576eda8 Content-Transfer-Encoding: 8bitContent-ID: ‹35_2> Content-Type: image / jpeg; name = "35_2.jpg" Content-Disposition: вложение; filename = "35_2.jpg" ...... Exif..II * ................. Даки ....... ‹...... Adobe.d ................................
Content-Transfer-Encoding: 8bitContent-ID: Content-Type: приложение / smil; name = "mms.smill" Content-Disposition: attachment; filename = "mms.smill"
<?xml version="1.0" encoding="UTF-8"?>
<smil xmlns="http://www.w3.org/2000/SMIL20/CR/Language">
<head>
<layout>
<root-layout width="300" height="300" background-color="white"/>
<region id="Item0" top="125" left="1" width="99%" height="49%" fit="fill"/>
</layout>
</head>
<body>
<par dur="10s">
<text region="Item0" src="cid:35_1"/>
<img region="Item1" src="cid:35_2"/>
</par>
</body>
</smil>