Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > How to write WML from MMIT?

Reply
Thread Tools

How to write WML from MMIT?

 
 
Vijooo
Guest
Posts: n/a
 
      07-02-2003


Hi

How can we write a WML file from MMIT?

Actually i used Mobile Web Application in VS.NET 2003 to create a
MobileForm.
It works fine in Internet Explorer. But if i call the same URL from a
Openwave
Mobile Browser, i get an error message saying that "UnSupoported Content
Type."

Is there anyway by which i can write WML files without using VS.NET?
If i do so, is that worth doing?

THX in advance

Cordially
Vijooo



 
Reply With Quote
 
 
 
 
Baccarin
Guest
Posts: n/a
 
      07-03-2003
Vijooo,

> How can we write a WML file from MMIT?


I can be wrong, but you don’t need to do anything to use MIT pages in WML
browser/phones, and you don’t need to write your ‘own WML’. ASP.NET Mobile
runtimes have the capability of identify the current request browser and
then to generate the correct markup language (WML/HTML/cHTML).

> ... But if i call the same URL from a Openwave
> Mobile Browser, i get an error message saying that "UnSupoported Content
> Type."


You could try to verify if ASP.NET Mobile runtimes is installed correctly in
your IIS server.

Regards,

Baccarin.

"Vijooo" <> escreveu na mensagem
news:...
>
>
> Hi
>
> How can we write a WML file from MMIT?
>
> Actually i used Mobile Web Application in VS.NET 2003 to create a
> MobileForm.
> It works fine in Internet Explorer. But if i call the same URL from a
> Openwave
> Mobile Browser, i get an error message saying that "UnSupoported Content
> Type."
>
> Is there anyway by which i can write WML files without using VS.NET?
> If i do so, is that worth doing?
>
> THX in advance
>
> Cordially
> Vijooo
>
>
>



 
Reply With Quote
 
 
 
 
vijooo k
Guest
Posts: n/a
 
      07-04-2003


Hi Bacarin

Thanks for your resposne. It really helped me a lot.
As you said the problem is with ASP.NET Mobile controls.
Now everything works fine.

And i need a tiny help from you again. I have done the
Mobile Pages and now i need to test it in the real internet
world. Is there any Free WAP Servers available in this
world to do the testing?


THX a million.

Cordially
Vijooo



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
ericvdb
Guest
Posts: n/a
 
      07-14-2003
What did you do in order to get it working ?

Thanks - Eric

"vijooo k" <> wrote in message
news:...
>
>
> Hi Bacarin
>
> Thanks for your resposne. It really helped me a lot.
> As you said the problem is with ASP.NET Mobile controls.
> Now everything works fine.
>
> And i need a tiny help from you again. I have done the
> Mobile Pages and now i need to test it in the real internet
> world. Is there any Free WAP Servers available in this
> world to do the testing?
>
>
> THX a million.
>
> Cordially
> Vijooo
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
vijooo k
Guest
Posts: n/a
 
      07-22-2003

Hi

Normally MMIT returns the appropriate file type for the
respective Browsers from which the request has been
initiated. So no problem, if u r working with MMIT.

But if you want to an aspx file to return a WML file,
Then you will have to follow thiss....

'' WML Code starts here..

<%@ Page Language=VB%>
<%
response.ContentType="text/vnd.wap.wml" ' content type
response.write("<?xml version=""1.0"" encoding=""ISO-8859-1""?>")

Dim mstrReturnMesssage as String

Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs)

mstrReturnMesssage = request.QueryString("ret")
End Sub

%>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="ReturnMessage">
<p>
<%=mstrReturnMesssage%>
</p>
</card>
</wml>


'' WML code Ends here

This works fantastically.

Cordially
Vijooo



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Problem: Loosing Session Data in WML/Struts App gilgantic Java 0 10-17-2005 03:14 PM
Lot of good questions on WML, WAP [Push] / HTTP, Cell-carrier / Telco, SMSC / MMSC, Servlet for wireless developer experts to answer ... Jimmy Java 2 11-30-2004 05:01 PM
Developer's needed fin SF Bay Area, for Embedded HTML/WML programming Morgan Strickland HTML 0 12-20-2003 09:04 PM
WML JMMB ASP .Net 3 08-20-2003 07:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57