.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 22nd, 2003, 06:48 AM
angela_alviento angela_alviento is offline
Posh
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Philippines
Posts: 4 angela_alviento User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to angela_alviento Send a message via Yahoo to angela_alviento
Sending MMS

Hi there! I'm developing a system which connects to MMS Server, pass an image or truetone. I can do this via HTTPWebRequest, then pass a stream. My problem is, I don't know how to write to the stream of the request and how will i test if it worked or not. The following should be the format of the stream i will pass...

POST /vas HTTP/1.1
Authorization: Basic NjM5MjIyMDEwMDAxOkpMYXBpcmEwOQ==
Connection: Close, TE
Content-Length: 23938
Content-Type: multipart/related; boundary=pap-border; type="application/xml"
Host: 202.138.159.67
TE: trailers
User-Agent: RPT-HTTPClient/0.3-3
X-MMSC-Billingdata: news;0.5

--pap-border
Content-Type: application/xml

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.0//EN"
"http://www.wapforum.org/DTD/pap_2.0.dtd">
<pap>
<push-message push-id="MMSCAPI--305941948">
<address address-value="09229220534"/>
</push-message>
</pap>

--pap-border
Message-ID: <2775035.1066858934449.JavaMail.root@wireless>
From: 639222010001/TYPE=PLMN
To: Undisclosed-recipients
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_16_4667711.1066858934447"
X-Mms-Message-Type: m-send-req
X-Mms-transaction-ID: MMSCAPI--305941948
X-Mms-MMS-Version: 1.0
X-Mms-Delivery-Report: yes

------=_Part_16_4667711.1066858934447
Content-Type: application/octet-stream; name=buffalosoldier
content-transfer-encoding: binary
Content-Disposition: attachment; filename=buffalosoldier

#!AMR-WB
$

Any Help is appreciated..thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > Sending MMS

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap