(261705413) Q RPCC-21 Missing text/xml MIME-type for WSDL files?

Q<RPCC-21> Would it mess up the SOAP operations that clients do when using the
WSDL in a dynamic client to put a text/xml mime type in the WSDL-providing jsp?
A<RPCC-21>: It is a known issue that the MIME-type for WSDL files is not appropriately
transmitted so some web browsers will not identify an appropriate helper application
when they are viewed (for Netscape just press Ctrl-U to view the source). This,
however, does not affect the dynamic client as evidenced by the example code seen
in the code demonstration.
Adam

SR,
You probably already have the answer by now, but I just came across the same problem and found the answer elsewhere.
The trick is to have the JavaMail jar in your classpath BEFORE the JAF jar. Given the habit of my development environment to sort jars alphabetifally it had me stumped for a bit.
Good luck
Marc

Similar Messages

  • How to set Mime Type for Static Files

    Hi All,
    I am working on Apex 3.2.1.00.10.
    When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
    Please help me to change the Mime type of .js file.
    Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
    Thanks in advance.
    Umesh

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • Oracle text search not working for  WSDL files

    I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
    I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
    Please advise me whether oracle text can work for WSDL files also ?
    Query details
    ===========
    create index myIndex on resources (xml_data) indextype is ctxsys.context;
    select * from resources where contains(xml_data, 'searchword') > 0
    Thanks a lot,
    Santhi

    Even though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
    Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
    Long term you might want to consider using section groups so that you can search "within" tags.
    -Ron

  • The MIME type for xslx file is different in Mozilla 13.0.1

    The MIME type for a xslx file is coming as "application/vnd.ms-excel.12" in Mozilla 13.0.1 instead of the "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" which comes in other browsers when using fileUpload.PostedFile.ContentType

    Firefox usually gets the MIME type from the MIME database registry key.
    * HKEY_CLASSES_ROOT\.xslx
    * HKEY_CLASSES_ROOT\MIME\Database\Content Type

  • Mime Types for .ps1 files

    I am trying to setup IIS to display .ps1 files in text format (i.e. same way it deals with .txt files, where it displays the contents in the browser). I set it up to be a text/plain but it still prompts me to download the file when I browse to it.
    What else am I missing?

    Hi Daniel,
    Agree with Mr X, in addition, you can also refer to this similar disscusion:
    In your IIS Manager, select the server node on the tree, and click "MIME Types". Then click "Add..." on the right panel. For extension, set it to .ps1, and set the MIME type to text/plain.
    You can do this for a specific web application or virtual directory, too. If you are doing this through web.config, it would look something like this, please backup this configuration file before edit:
    <configuration>
    <system.webServer>
    <staticContent>
    <mimeMap fileExtension=".ps1" mimeType="text/plain" /><!-- or application/octet-stream -->
    </staticContent>
    </system.webServer>
    </configuration>
    Refer to:
    Download powershell (.ps1) file via ASP.NET
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Standard mime type for .acsm file

    What is the standard mime type that should be used for an .acsm file?
    Is it this? - application/vnd.adobe.adept+xml
    I can see few eBook sellers sharing this mime type: application/vnd.adobe.adept (without the +xml).  I can see in such cases few of the free reader apps availbale in android / iOS are not recognizing the file.
    Pl advice.
    Thanks, Sundar

    I believe from looking around on the web, just the following is used:
    application/xml
    Take care, Mike
    Message was edited by: MikeWenzloff

  • Mime Type for document class when archiving outlook emails

    Hello team,
    can anybody fill me in how to configue the mime type for .msg files (outlook emails) in the document class msg?

    1) Use SE16 to change table V_TOADD
    2) Add:
    Document Class                 - MSG
    Description                         - Outlook Mail
    MIME type of a Web object - message/rfc822
    You can then associate the MSG document class to document types.
    Eli.

  • Incorrect MIME type for XML Data Connection POST requests

    It appears that Xcelsius 2008u2019s XML Data Connection logic does not specify the correct MIME type for the data it sends to the server in its POST request.  Using an HTTP debug proxy, I was able to see that Xcelsius sends XML data in the POST, but is setting a content-type of u201Cx-www-form-urlencodedu201D.  According to the W3C spec:
      http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
    Data sent with a MIME type of u201Cxxu201D should be encoded as key?value pairs, like this:
      key1=val1&key2=val2&Submit=Submit
    So, what Xcelsius is doing is clearly incorrect.  Worse, if your server process is a Java servlet, you may find that the POSTed data will be gobbled up by the servlet container and you wonu2019t be able to read it using a getInputStream(), or getReader() call because itu2019s already been processed by a call to the getParameter() method.
    The correct mime type for POSTing an XML formatted request from Xcelsius should be "text/xml".
    Wayne

    Hi,
    The Error #2032 your getting is due to the Flash player security.
    To remove this this error you need one crossdomain Xml file in the root directory which actually provides a lot more control over who has access to your data from a SWF. The cross domain policy is attached as crossdomain.xml.
    In the XML file, it is used a wildcard (*). This allows a SWF located on any machine to access your data source. You can certainly use an IP address or domain name to restrict access rather to opening it up completely. I always start with the wildcard to make sure my dashboard works, then start restricting access as necessary.
    Here is a whitepaper with everything you need to know about Flash player security:
    http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
    Please let me know if you need any more clarification.
    Regards,
    Sanjay

  • Is there a way to simultaneously add text to Comments field for multiple files?

    Is there a way to simultaneously add text to Comments field for multiple files? I know I can use Option+Comman+i to bring up the Inspector window but it doesn't have a Comments field. For example, in iTunes you can select multiple files and change metadata for any field simultaneously and easily yet when it comes to the Comments field in the Finder, this seems to be missing.
    In our production environment, Comments field is important because we place notes about what drive the file originated then when it gets transferred to LTO-6 tape via LTFS, we can quickly trace it in the event we needed to recreate the hard drive. Because tape archiving is linear, we can't store all of the files on the same tape.
    We've tried using Apple's Automator but it too seems to not have a way to batch change text in the Comments field. Any help is appreciated.

    What is "order data"?

  • Any code available to get mime-type for file?

    Hi,
    at this link http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html you can find a huge listing of content-types for files. What I'd like to know is, if there's any code available for getting the right mime-type for a given file-extension. E.g given a filename "Document.doc" returns mime-type "application/msword".
    Thanks in advance,
    Tom

    U can use the isMimeType() method to compare various types.
    Eg. isMimeType("text/plain") or isMimeType("multipart/*") etc.

  • What is the correct MIME type for an AD RMS protected PFILE?

    Hi,
     The context of why this question is asked is as follows: In an SAP Webdynpro application (the UI is displayed in a web browser). We intercept the file with SAP data that is being downloaded, encrypt it using AD RMS and then send the modified (encrypted)
    file back to be downloaded by the browser into the user's downloads folder.
     Because of this interception and modification of the text file being downloaded (.txt), which is now a .PTXT file (PFILE) there is a conflict in the MIME TYPE. 
    So could you let me know what the MIME type for a PFILE would be? Is there a standard MIME Type for all these PFILES? (.ptxt, .pfile etc..)? And is it by any chance "application/octet-stream"?

    Hi,
    I also noticed this - it seems that Microsoft's 4 char extensions like .docx are not being recognized by application type so that either the web server or mod-plsql is defaulting to the "application/octet-stream" mime type which refers to a file with binary content - instead of the traditional "application/msword" mime type you would expect.
    If you know, at the point of insert into your database table, both the mime type and file name, one workaround would be to check if the mime type is 'application/octet-stream' and the file's extension is ".docx" or other likely extensions and then treat it as mime type 'application/msword", etc.
    Not really a solution but might be sufficient workaround depending on your situation.
    Ted
    Edited by: Ted Martin on Oct 25, 2012 7:27 PM

  • How To Get FileType and MIME Type from a File

    Hi,
    I am using following ways to get FileType and MIME Type.
    I am able to get file type, but I am getting MIME Type as */*
    Can any one please let me know how to get MIME Type, but it should not be time consuming process.
    For File Type I am using following Code:
    private String getFileData(InputStream inStream) {
    fileName = C:\temp\temp.tiff
    String filePath = Util.createTempFile(fileName);
    RandomAccessFile raf = new RandomAccessFile(filePath, "rw");
    while (inStream.available() > 0) {
         byte[] buf = new byte[inStream.available()];
         inStream.read(buf);
         raf.write(buf);
    inStream.close();
    raf.close();
    File file = new File(filePath);
    JFileChooser chooser = new JFileChooser();
    String fileType = chooser.getTypeDescription(file);
    file.delete();
    //MIME Type I am getting from
    DataHandler data = new DataHandler(new DocumentSource(inStream));
    data.getContentType();
    data.getContentType() is not working well in all cases.
    Can any one help me on this.
    Thanks in advance,
    Ram.
    Edited by: javausers07 on Apr 15, 2009 4:25 PM

    javausers07 wrote:
    Hi,
    I am using following ways to get FileType and MIME Type.
    I am able to get file type, but I am getting MIME Type as */*
    Can any one please let me know how to get MIME Type, but it should not be time consuming process.
    For File Type I am using following Code:
    private String getFileData(InputStream inStream) {
    fileName = C:\temp\temp.tiff
    String filePath = Util.createTempFile(fileName);
    RandomAccessFile raf = new RandomAccessFile(filePath, "rw");
    while (inStream.available() > 0) {
         byte[] buf = new byte[inStream.available()];
         inStream.read(buf);
         raf.write(buf);
    inStream.close();
    raf.close();
    File file = new File(filePath);Why do you do all above?
    JFileChooser chooser = new JFileChooser();
    String fileType = chooser.getTypeDescription(file);
    file.delete();
    //MIME Type I am getting from
    DataHandler data = new DataHandler(new DocumentSource(inStream));
    data.getContentType();
    data.getContentType() is not working well in all cases.That's because there's no way to get MIME type of all files on all filesystems.
    Kaj

  • How to determine the MIME types of the files?

    I'm making an application, in which I've to upload the files to the database. Now I want to insert into the database the MIME type of the files. Now how can I know that which type of the file is having which MIME type?
    where can I get the list of all supported MIME types?
    Even if I get the list, then every time I update the file in the database, so every time I have to check the file extension and then insert the MIME type...
    this seems to be a tedioius job..
    Is there any simple way to do this?

    I could ask "supported by what?" but I assume you will
    be the one supporting them. Here's a link to the
    latest list of registered MIME types.HERE's the link...
    ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types

  • How to set MIME type for JNLP in Windows2000 IIS

    Hi!
    I try to set up my windows 2000 IIS's MIME type for JNLP to test java web start, but I have no idea how to set
    the MIME type. Can anybody help me???
    Best wishes

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • Mime type for xml

    i am writing a code in jsp which should download a xml file in client machine. now the problem is while loading it is showing to store the .jsp file to be stored which is storing it in xml format , but the alert message shown is showning to save as storexml.jsp which is a jsp extension. i want it to show as a xml extension
    response.setContentType("application/vnd.xml");
    filename="xyz.xml";
    try{     
    int i;
    FileInputStream f=new FileInputStream(filename);
    while((i = f.read()) != -1){
         out.write((char)i);
    }catch(Exception e){
         Log.debug("can not write file in viewxml.jsp,exception :"+e);
         System.out.println("can not write");
    i think the mime type should be something to deal with. could anyone tell me the correct one which will store it showing a .xml format by default.

    but usually in some sites i have seen to upload files which gives a setting , if i dont have a text editor tehn i get the file window to save as document type but i if i have a editor then it should give to save as xml by default.
    even that itried with storing as xls file which works fine there mime type is 'application/vnd-excel'
    but it should work same as well in xml instead of it showing jsp document

Maybe you are looking for

  • Adobe pdf printer save dialog box opens in the background - progress bar shows Not Responding

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he use

  • Open DashBoard Report from SAP Business ByDesign

    Dear All , Can any one help me , I need to run DashBoard on IPAD I Download SAP Business ByDesign from ITunes but he just asking me about system and there is any important information like CMS Name , Authentication Mode . So I need help to know what

  • Strange Error in error.log possibly Internet-Sharing related

    I recently got this error message repeating every 2 Seconds or so (date and hostname clipped): +InternetSharing[524]: Internet Sharing shutting down+ +com.apple.launchd[1] (com.apple.InternetSharing[524]): Exited with exit code: 1+ +com.apple.launchd

  • Manage System Center Endpoint Protection (SCEP) policies for Internet-based clients

    Hi, I've recently change my SCCM configuration in order to allow internet-based clients registered in our domain to communicate with our primary site server. The objectives were to let us manage the SCEP policies of these clients and receive alerts w

  • BAPI_BATCH_CHANGE

    Hi everybody, I am trying to modificate the expiration date of a batch of a material with the BAPI_BATCH_CHANGE function module, in the se37 transaction it works fine, but when i use it in the program the system show me a run time error. Runtime Erro