users@glassfish.java.net

RE: Unsupported Content-Type: text/html; charset=iso-8859-1

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Wed, 27 May 2009 15:06:16 -0400

please indicate your application web.xml mime-mapping for html extensions e.g.

  <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
  </mime-mapping>

in your $GF_HOME/domains/domain1/config/domain1.xml you have any params in the
protocol which would not use default-type="text/html" such as this default-type?

<http-protocol default-type="text/html......./>
?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Wed, 27 May 2009 10:51:03 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Unsupported Content-Type: text/html; charset=iso-8859-1
>
> Hello -
> I am working on a problem that has some information posted here:
>
> http://forums.sun.com/thread.jspa?messageID=10722812
>
> I am dynamicly invoking an EJB from a BPEL. It works fine at 8080, but I need to move to HTTPS and this is proving very difficult. The exception is:
>
> Caused by: com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html; charset=iso-8859-1 Supported ones are: [text/xml]
>
> Any ideas on this? Thank you.
> [Message sent by forum member 'jsexton' (jsexton)]
>
> http://forums.java.net/jive/thread.jspa?messageID=347935
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009