IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  What is the content type for nonXML objects storing 'binary'

    Posted 08/12/02 08:39 AM

    I’m trying to save nonXML data to Tamino. I want to try and save straight binary (for example a gif or jpg file).

    The help documentation and samples use the “nonXMLGreeting” sample using ‘text/plain’ content type to save text.

    I guess I have 2 questions:

    1) What are the various content types that can be defined when creating the nonXMLObject (and where are these defined - I can’t find any info in the API docs).

    2) what is the content type to use when saving binary data? I’ve tried “binary” and “Binary”. Neither work.

    Thanks.


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 2.  RE: What is the content type for nonXML objects storing 'binary'

    Posted 08/12/02 01:16 PM

    The contenttype is a standard mime type, which are defined by IANA (www.iana.org). Find a complete list here.
    A nice and more practical listing combining file extensions and mime type can be found here.


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 3.  RE: What is the content type for nonXML objects storing 'binary'

    Posted 10/04/02 10:50 AM

    From SAG:

    ‘doc’ //ContentType=‘application/msword’
    ‘rtf’ //ContentType=‘application/msword’
    ‘pdf’ //ContentType='application/pdf '
    ‘xml’ //ContentType='application/xml '
    ‘gif’ //ContentType='image/gif '
    ‘jpg’ //ContentType='image/jpg '
    ‘jpeg’ //ContentType='image/jpeg '
    ‘htm’ //ContentType='text/htm '
    ‘html’ //ContentType='text/html '
    ‘txt’ //ContentType='text/plain '
    ‘xml’ //ContentType='text/xml '

    From MSDN:

    //ContentType='text/richtext '
    //ContentType='text/html '
    //ContentType='audio/x-aiff '
    //ContentType='audio/basic '
    //ContentType='audio/wav '
    //ContentType='image/gif '
    //ContentType='image/jpeg '
    //ContentType='image/pjpeg '
    //ContentType='image/tiff '
    //ContentType='image/x-png '
    //ContentType='image/x-xbitmap '
    //ContentType='image/bmp '
    //ContentType='image/x-jg '
    //ContentType='image/x-emf '
    //ContentType='image/x-wmf '
    //ContentType='video/avi '
    //ContentType='video/mpeg '
    //ContentType='application/postscript '
    //ContentType='application/base64 '
    //ContentType='application/macbinhex40 '
    //ContentType='application/pdf '
    //ContentType='application/x-compressed '
    //ContentType='application/x-zip-compressed '
    //ContentType=‘application/x-gzip-compressed’
    //ContentType='application/java '
    //ContentType='application/x-msdownload '



    Goodbye.
    CBH.
    :slight_smile:


    #webMethods
    #API-Management
    #webMethods-Tamino-XML-Server-APIs