cancel
Showing results for 
Search instead for 
Did you mean: 

Mime type XSL

Former Member
0 Kudos

Hi,

We use an AJAX web application to retreive data (in XML format) from the SAP environment via the SAP Portal in Firefox. Now we use xsl to transform the XML to xhtml. But is seems that the mime type for the xsl is not correct. In the response header, the content type for the returned xsl is text/plain and should be text/xml. So the application is not working in firefox.

I did a little research and found that the table SDOKMIME contains the mime types.Extension .xsl is in it and it seems the correct type (text/xml) is linked with it .

So can anyone help me with how to setup the server so the correct content type is returned?

Kr

Ward

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Ward,

Where exactly is your XSL stored? What is the exact access URL for the XSL? (If it is stored in the backend (and not in the portal), this is the wrong forum to ask.)

Best regards

Detlev

Former Member
0 Kudos

Hi Detlev,

The xsl is definitely stored in the portal.

Kr,

Ward

Edited by: Ward Berckmans on Nov 2, 2009 3:50 PM

detlev_beutner
Active Contributor
0 Kudos

Hi Ward,

Then please answer question #2: What is the exact access URL for the XSL? (Which will clarify which component is responsible for delivering it and setting the mime type.)

Regards

Detlev

Former Member
detlev_beutner
Active Contributor
0 Kudos

Hi Ward,

This is not a portal URL... (these always start with "/irj" for being irj (iView Runtime Java) the servlet name implementing the portal).

Best regards

Detlev

Former Member
0 Kudos

Ok That I cannot determine unfortunatly.

The code in the application that is launched via the portal is calling the xsl file via the link I mentioned above.

So maybe we understand different things when you asked if the xsl is on the portal.

In fact the in the portal there is an iframe with our application in it...So I guess this is the wrong forum then.

detlev_beutner
Active Contributor
0 Kudos

Hi Ward,

> maybe we understand different things when you asked if the xsl is on the portal

The question was meant technically, as it is the server which delivers the XSL which is responsible to set the mime type.

> in the portal there is an iframe with our application in it

... and if the URL given above is called within it, you have to check which server delivers it and how on that server mime type mappings are done.

> I guess this is the wrong forum then

That it seems to be, sorry.

Hope it helped to track this down nevertheless

Detlev