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.  Charset in http post ignored by tomcat

    Posted 11/25/10 12:56 PM

    Hi,

    I’m working on a solution that is posting XML data via http post to an application running on a tomcat server. We are running version 7.1.2 of the IS.
    It seems as the charset in the http header is being ignored when doing a http post (pub.client.http) but there is no issues with the content-type.
    The output in the log on the receiving end looks like this:

    2010-11-24 08:37:33,422 INFO [http-31580-1 ] controller.WebController (WebController.java:66) - Content-Type => text/xml

    For other applications posting data the charset is seen in the log:
    2010-11-22 17:22:30,216 INFO [http-31580-1 ] controller.WebController (WebController.java:66) - Content-Type => text/xml; charset=utf-8

    Is there some additional setting required in order to pass the charset variable from the IS to the receiving application.

    Regards,
    dezer


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 2.  RE: Charset in http post ignored by tomcat

    Posted 11/25/10 04:28 PM

    If you’re not already doing so, set the header when calling pub.client:http. The key would be content-type and the value would be text/xml;charset=utf-8


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB