Thanks for your help...I was setting up the serializer wrongly for the
wml..was using the wrong encoding..your snippet worked perfectly..

Regards

Pierre


> ho,
>
> if you haven't setup a serializer for wml (specifying the doctype, etc.),
> then you should do so.
>
> that would look something like:
>
> ...
>             <map:serializer logger="sitemap.serializer.wml"
> mime-type="text/vnd.wap.wml" name="wml"
> src="org.apache.cocoon.serialization.XMLSerializer">
>                 <doctype-public>-//WAPFORUM//DTD WML
> 1.1//EN</doctype-public>
>
> <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
>                 <encoding>ISO-8859-1</encoding>
>             </map:serializer>
> ...
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]
>> Auftrag von [EMAIL PROTECTED]
>> Gesendet: Montag, 30. Juni 2003 13:09
>> An: [EMAIL PROTECTED]
>> Betreff: problems with a real mobile phone
>>
>>
>> Hi..
>>
>> I'm trying to access my cocoon application on my computer with a real
>> mobile device (a panasonic GD67 GPRS) but I'm always getting
>> 'unsupported
>> content type'.
>> With emulators it all worked properly but now I'm getting this problem
>> on
>> a real mobile. I'm using custom generators to create XML and then I'm
>> using xsl to convert the xml into WML.
>> I'm managing to connect to the application with my mobile but it seems
>> that the problem is that no proper WML is given out.
>>
>> Maybe I have to arrange something in the serializer of the
>> sitemap for wml?
>>
>> I would appreciate any hints and help..
>>
>> I'm using Jdk 1.4.1 , Tomcat 4.1.18, Cocoon 2.0.4
>>
>> (The mobile's user agent string is: Panasonic-GAD67/1.0
>> UP.Browser/5.0.3.5
>> (GUI))
>>
>>
>> ------------------------------------------------------------------
>> -----------------
>> Donate to YMCA's Help The Homeless Campaign at http://shop.di-ve.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-----------------------------------------------------------------------------------
Donate to YMCA's Help The Homeless Campaign at http://shop.di-ve.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to