Incorrect content-type found 'text/html'

Hello,
I am trying to print a BI report result from portal. I get the error message "Error while generating PDF".
When I see the detail of the message, I could find the mesage "Incorrect content-type found 'text/html'"
We are using web templates of BI7.0.
I have followed the note 1004321. Nothing happened.
Is this the rite note or am i misdiagnosing the issue?
Please help !
Thanks,
Abhishek

Did you change the password?
Maybe a restart of the J2EE engine will solve this (in case you didn't restart it already
cheers,
Noë

Similar Messages

  • Java.lang.Exception:Incorrect content-type found text/html

    Dear All,
    While opening a PCR throught MSS, which is PDF based service, I am getting following error.
    java.lang.Exception: Incorrect content-type found 'text/html'.
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF     at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
    I have refered previous posts aslo related to this but no solution. Please try to help me.
    <removed_by_moderator>
    Read the "Rules of Engagement"
    Thanks.
    Roshan
    Edited by: Juan Reyes on Mar 31, 2009 3:40 PM

    hi,
    Most probable reson for this issue is the expiry of the password for ADSUser.
       Go to Visual Admin:
       -> server -> service -> security provider service -> user management tab, then select user ADSUser.
       If option 'No password change is required' is not selected, please check it.
    Hope this helps!!

  • Client found response content type of 'text/html;charset=iso-8859-1', but expected 'text/xml'.

    Hello All,
    I am on BI 4.0 SP6.
    I am login to Advance Analysis Office using sso with Authentication : Windows AD, but when i login errors occurs:
    Client found response content type of 'text/html;charset=iso-8859-1', but expected 'text/xml'.
    The request failed with the error message:
    I have done all settings and configuration for SSO as per following notes:
    http://service.sap.com/sap/support/notes/1631734
    http://service.sap.com/sap/support/notes/1646920
    http://service.sap.com/sap/support/notes/1794675
    Earlier i was getting Login Exception Error WSE : 99999, i did some changes, after that the above error is coming
    Does anybody knows the solution?
    KR,
    MD

    refer the below note
    1785270 - How to configure AD SSO for Advance Analysis for MS Office with Business Objects BI 4.0

  • Client found response content type of 'text/plain', but expected 'text/xml'

    Hi All
    We have developed a J2EE- JAX-RPC web service using Weblogic's 'ServiceGenTask'.
    Invoking web service via java client and SOAP UI works like charm but fails when the
    service invoked via .NET client.
    Below is the .NET sample code and the Stack Trace:
    .NET CODE:
    System.Net.ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate {      return true;  });
    testwebservice.ESI est1 = new testwebservice.ESI();
    esi_detail = est1.getDetails("someuserid", "password"<Details> <Id>" + txt_eino.Text +"</Id> </Details>");
    Stack Trace:
    System.InvalidOperationException was unhandled by user code
    Message=Client found response content type of 'text/plain', but expected 'text/xml'.
    The request failed with the error message:
    HTTP/1.1 100 Continue
    <env:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Header/><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:getCertificateDetailsForWSUResponse xmlns:m="http://mynamespace"><result xsi:type="xsd:string"><CertificateStatus>valid</CertificateStatus>
    </m:getCertificateDetailsForWSUResponse></env:Body></env:Envelope>
    Source=System.Web.Services
    StackTrace:
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at shcilestamp.EstampIndia.getCertificateDetailsForWSU(String string, String string0, String string1) in c:\Users\Revenue\AppData\Local\Temp\Temporary ASP.NET Files\sra\6fd93bb3\8d227466\App_WebReferences.iojpamot.0.cs:line 105
    at default_1.btn_verify_estamp_Click(Object sender, EventArgs e) in c:\Users\Revenue\Desktop\OFFICE\sra\default.aspx.cs:line 1006
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    InnerException:
    Note: The same client code is able to access the service deployed in our DR site without any fault.
    However it fails to invoke service deployed in Production site.
    Is this anything to do with the Content-type settings at the web/app server layer?
    Any help will be appreciated.
    Thanks & Best Regards
    Avinash

    Make sure you're using the Reverse Proxy Plugin for Web Server, not the Application Server Connector (they are VERY similar, but not the same). The RPP knows how to handle 100 Continue, the Connector does not.
    Or use Web Server 7 and its built-in reverse proxy feature.

  • Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html

    Hi All,
    I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
    Can someone help me in this ...
    i) Can i configure my printer for this Mime-type , if yes then HOW?
    ii) Is there any work around ?
    Thank you all in advance :)

    I reposted this question in the Database forum. Admin can feel free to delete this thread.
    The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
    Thanks,
    T.
    Edited by: 855677 on May 3, 2011 9:35 AM

  • Content type is text\xml - 400 Bad Request, Content Type - Blank - success

    Hi,
    I have a send port subscribing to a message from the Message Box and sending the message to a service.
    The content type is text\xml, and it fails with a 400-Bad Request.
    If the send port picks up the message from a folder , Content Type is Blank, the service returns a response.
    How do I make the message picked up from the Message Box ( with Content Type text\xml)  work. Can I change the Content Type of the message at the Send Port (WCF-Custom, Basic HTTP Binding).
    Regards,
    Sharmishtha Sarkar

    You issue is not with Content Type text\xml  On the wire web request is passed as text\xml as content type and  issues is neither with send port folder .
    I would say you need to check your send port binding and  SOAP Action header inside your Send Handler . Best way to import the binding generated while consuming service through BizTalk WCF Service Consuming Wizard.
    I suspect you are sending wrong message to web service and thus due to data contract conflict you are getting exception from the service .
    There are various articles which can guide you how to consume web service in BizTalk .Some of them are listed below .
    How to Use the BizTalk WCF Service Consuming Wizard to Consume a WCF Service
    BizTalk and WCF: Part I, Operation Patterns
    Consuming WCF Service in BizTalk 2010 Orchestration
    Thanks
    Abhishek

  • Incorrect Content Type Error

    hi all,
    I am working with WEBSERVICES.I created a web service and I tested it .When I was testing in the webservice navigation it is showing an error i.e. incorrect content type error.
    Can any body tell me what is the problem?

    Hi
    I had the same problem. Go to http://<J2ee server>:<port>/useradmin    login as administrator. enter the user ID e.g. ADSUSER. Select the user and choose modify.  On the first tab, towards the bottom, you will see the type is set to default, change it to technical, save and retest, it should work. Well, it did for me
    I hope this helps
    Ronny

  • Multiple "Workflow Task (SharePoint 2013)" content type found

    Users on one specific sub-site reported that they are unable to add site columns to content type. When user clicks "add existing site column" user get error message - upon looking up on ULS, it indicate there were duplicate column "System.ArgumentException:
    No two choices should have the same ID". I came across similar issue on different site before and resolved it by deleting duplicate column, plus that site column was not used on any list or associated with any content type but this time duplicate
    column is "Task outcome" column which is associated with "Workflow Task(SharePoint2013)" content type. So looking up these two specific site column and content type I noticed there are 8 occurrence of each at affected site
    level (see below on image).
    Similarly there are 8 "Task Outcome" columns under Site Columns. So I refreshed staging env with prod copy and tried to delete "Workflow Task(SharePoint 2013" content type and got error message as shown below. Under Site features, I noticed
    "SharePoint 2013 Task List" feature was enabled, hoping this will do the trick I disabled it as we still use SharePoint 2010 workflows, but to no avail.
    Sorry, something went wrong
    The content type "Workflow Task (SharePoint 2013)" is part of an application feature.
    Not sure how it got started and something will try to find out but any advise on how to fix this issue?
    Thanks,
    MK Sin

    Hi Sin,
    According to your description, my understanding is that the users got an error when clicking “add existing site column”.
    For deleting the duplicate “Task outcome”column, you need to go to the “Workflow Task(SharePoint 2013)” content type, click the “Task outcome” column, and remove it from the content type.
    Then go to site columns, find the duplicate columns, and delete them and make sure only one “Task outcome” column exists.
    After the above, re-add the “Task outcome” into the “Workflow Task(SharePoint 2013)” content type.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Gatewaying and adaptive tags expansion in content types other than html

    I notice that the default configuration of the portal does not transform adaptive tags / URLs when the content type is Javascript (ie I am gatewaying a .js file loaded from a <javascript src=&#034;..&#034;/> tag  in which I want some transformations).  Is there a configuration option which determines what file types / content types are transformed which I can set to get transformation in my .js files?

    The problem stems from the fact that ProductInformationView_Browse.jsp is blindly executing the <jbo:ViewCriteria> tag on each page rendering.
    Internally, the view criteria tag is issuing an executeQuery() on the view object, and this basically sets the current record pointer back to zero. This is why we're never able to scroll more than one page full beyond the initial page full.
    I fixed the problem by making the <jbo:ViewCriteria> tag
    execute conditionally based on the lack of presence of the jboEvent parameter.
    I added the following snippet before the <jbo:ViewCriteria> tag...
    <%
    String jboEvent = request.getParameter("jboEvent");
    if (jboEvent == null || jboEvent.equals("")) {
    %>
       <jbo:ViewCriteria id="vc" datasource="ds" action="new">And the following snippet after the closing tag:
       </jbo:ViewCriteria>
    <% } %><%-- end if --%>And this then allows me to scroll next and previous as expected.
    I'll try to have the author of this sample fix its source code so others don't hit this problem.

  • SSRS email subscription uses incorrect content-type header

    We are using SSRS to deliver emails with reports attached as PDF.
    Some mail clients are fine with this and use the correct filename. However other mail clients get confused  specially mobile phone clients. For example, the Android web mail app thinks the filename is "application/pdf" - it is actually reading
    the "name" portion of the Content-Type header. Our Goldmine mail client reads the correct filename but changes the dot to an underscore... e.g. "myreport_pdf".
    Can anyone help me?
    Thank you
    Nuno Ferreira

    Sorry for the mix up, sql server is 2014, but reports is 2012.
    Nuno Ferreira

  • Invalid content type for SOAP: TEXT/HTML:communication channel modification

    Hello ,
    While delivering an async message from XI to thirdparty, getting an error 'invalid content type for SOAP: TEXT/HTML' in the RWB/adapter engine
    I need to modify Module tab for MessageTransformBean / content type as text/html.
    Can anyone tell me how to do this in SOAP communication channel?
    Thanks in advance

    Hi,
    Thanks for ur help...
    I've tested with soapUI and it is working fine. When I send the data from soapUI , it is reaching to third party and I get response as 'success' So the url is also fine.
    The same data when XI is sending it is throwing an error.
    One more thing here -- The XI server is in intranet and TP is in DMZ .... there is a firewall in between them...
    1. When I execute thr soapUI (from intranet) it is reaching to TP (DMZ)
    2. When I execute thr XI (intranet) its throwing an error.
    Is this because of firewall settings ?
    Thanks..

  • SOAP Rx Adapter... 401 Unauthorized.. Content Type: Text/HTML

    Hi,
    I get 401 unauthorized error while trying to invoke Webservice using Receiver SOAP Adapter..
    I know this error is b'cos Content-type = text/html instead of text/xml... So i used the MessageTransform bean with the required parameters... I even downloaded SOAP sniffer tool (suggested by Stefan grube & the log even says content type as text/html).. But still i keep getting text/html error...
    I don't have any problem invoking from my PI Server using SOAP testing tool.. I don't have a proxy between PI & Webservice as they are in the same network. I am able to reach the webservice but is failing b'cos of 'text/html'
    I am on PI7.1. Find the screenshots of the error in the below location...
    http://picasaweb.google.com/siva.maranani/SOAP_RxAdapter#5361872782883678738
    http://picasaweb.google.com/siva.maranani/SOAP_RxAdapter#5361872786622656386
    -Siva Maranani

    >
    Siva Maranani wrote:
    > I was able to use connect to Webservice using SOAP test tool ( on PI server) using the username/password. When i tested it it was sucess (I analyzed Header params- Content-type - text/xml). When i changed it to text/html, it throws an error... (not exactly 401 unauthorized.. but a different one)
    >
    > Even after i had the module, i am still not sure why it still compalins about Content-Type Text/HTML??
    >
    > -Siva Maranani
    it seems odd that you have the 401 error throwing up.
    one suggestion, if your network has a proxy, have you given the particulars in the adapter?
    ref:
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

  • File Download box appears despite content being text/html .....

    Hi
    I am supporting a set of web pages which display data to the user based on XML transformed by a set of style sheets. Currently when the user does something and fires the doPost method we get the "File Download" box appear with the message "Some files can harm your computer .................... ". The downloaded file is just the HTML used to display info to the user (with the appropriate embedded stuff from the stylesheet)
    I was under the impression that this dialogue box only appears when the content type is not understood by the browser. However, the content type is text/html ... so i am a bit stumped.
    can anyone suggest other ways in which this message can appear?
    cheers
    chris

    Just on the off chance anyone else ever has this problem and fins this post ( the problem was solved a long time and i forgot to update the post).
    The application in question attempts to log into a database via OC4J. The connection information in the data-sources.xml file was incorrect (specifically the database listener port). This was generating some bizarre exception which was propogated up and resulted in the above behaviour. I suspect that you could get the same effect thogh for many other reasons, so if you are having this problem i wouldnt get too hung up on this as a possible cause,.

  • How to change the HTTP Response as XML (Content Type "text\xml") ?

    Hi Friends ,
                     I have created one RFC Destination TYPE H . When i am trying to post some XML Message to that particular HTTP Service using POST method . It succesfully accepted the XML File but , it is returning the String as  " OK" . In the connection test trace i have seen the Content Type as "text/html" but *  I need to get as "text\xml" .* 
                     I need to get response back as XML not plain text . 
            1  Any Configuration setting  do we need to do on Service (SICF )  ?
             2. Or any other place we need to modify to get the HTTP Response as XML not plain text
                  Can you please help to solve the problem . Any clue ?
    Thanks & Regards.,
    V.Rangarajan
    Edited by: ranga rajan on Jan 2, 2008 2:07 PM

    Dear users,
    we have requirement sending SMS to the customers mobiles. I am successfully sending the messages to the customers mobiles by using the above method. Facing issues with response message. The response messages is in plain text fromat in single line like...Sent
    Using HTTP_AAE Receiver adapter.
    The response message was failed while excution of the message mapping with the error
    Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_MM_SMS_CUST_RES_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog.
    please share the comments how to pass the Status of the message to SAP ECC from SAP HTTP adapter
    Regards,
    Sudir.

  • How to change the HTTP Response as XML (Content Type "text\xml")  When Post

    Hi Friends ,
    I have created one RFC Destination TYPE H . When i am trying to post some XML Message to that particular HTTP Service using POST method . It succesfully accepted the XML File but , it is returning the String as " OK" . In the connection test trace i have seen the Content Type as "text/html" but * I need to get as XML format no Srting    ( Type "text\xml" . ) *
    I need to get response back as XML not plain text .
    1 Any Configuration setting do we need to do on Service (SICF ) ?
    2. Or any other place we need to modify to get the HTTP Response as XML not plain text
    Can you please help to solve the problem . Any clue ?
    Thanks & Regards.,
    V.Rangarajan

    Dear users,
    we have requirement sending SMS to the customers mobiles. I am successfully sending the messages to the customers mobiles by using the above method. Facing issues with response message. The response messages is in plain text fromat in single line like...Sent
    Using HTTP_AAE Receiver adapter.
    The response message was failed while excution of the message mapping with the error
    Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_MM_SMS_CUST_RES_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog.
    please share the comments how to pass the Status of the message to SAP ECC from SAP HTTP adapter
    Regards,
    Sudir.

Maybe you are looking for

  • Vendor line item query

    Hi gurus Is it possible to create query which gives you same information as FBL3N, FBL1N or FBL5N? The problem is that i cannot get the header information right in the standard reports. If someone knows the help is warmly welcome. The infoset creatio

  • TS3697 error msg items could not be synced

    i'm trying to upload my photos from my 4s to my laptop. i was able to upload a few but can't get them all to upload! itunes acts like its going to work and finishes but then i get an error msg on my iphone. it says itunes sync then lists the entire a

  • Need a quant specific attribute

    I am looking for a way to maintain country of origin at the quant leve.  Since we dual source many materials, the MM setting only allows one COO.  We are using WMS so I need to be able to track that at the bin level x10 of material 123 is COO = US an

  • Regarding Error handling

    Hi Experts, We have an Issue. where and Error messages comes in the Shopping Cart where that error messages is not coming from  "Check" Badi. I've checked the ET_MESSAGES of the Signature of BADI there this error messages does not exist but once the

  • Please comment - we are planning to use GG in unconventional way to replica

    Please comment - we are planning to use GG in unconventional way to replicate all changes except the purge on source      Hi we have source and target DB. We want GG to replicate all changes on source to target. But we purge monthly data from source