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.

 View Only
  • 1.  SOAP encoding error

    Posted Thu September 16, 2004 09:29 PM

    Hi all,
    i have an encoding problem with my SOAP client. I want to call a webservice (SOAP via http). My input XML document for this service contains characters like & or ü in UTF-8.

    If i call the webservice, I get an XML - SOAP error. It tells me, that i have to decode the & to &. If i do that, the SOAP call is successful, but my ü-character was gone to an other character.

    It would be nice if anyone can explain me the way to encode my XML document in the right way.

    Thanks!


    #soa
    #webMethods
    #API-Management


  • 2.  RE: SOAP encoding error

    Posted Thu September 16, 2004 10:07 PM

    Thilo,

    Before posting to webservice,use the DocumentToXMLString and set encode=true this setting makes & to & and ü- character remain as it is(no change) in the xmldata.

    HTH,
    RMG.


    #webMethods
    #API-Management
    #soa


  • 3.  RE: SOAP encoding error

    Posted Fri September 17, 2004 01:11 PM

    RMG,

    thanks for your help.

    I did it in your way and it works fine. The ‘lost’ ü - character was a deconding problem of the partner system.

    We provide the XML data string now correct.

    Greetz,

    Thilo


    #API-Management
    #soa
    #webMethods


  • 4.  RE: SOAP encoding error

    Posted Sun September 19, 2004 11:08 PM

    Hi,

    the problem comes back to me. Our partner system is not able to process special german characters like ‘ü’, ‘ä’ etc.

    My Idea is now to provide those characters in HTML. Does webMethods support those transformations or is it necessary to write an own service which is looking for the specific characters in my XML - string?

    I tried to do the transformation with the pub.XML:DocumentToXMLString service but this services does not transform the needed characters in HTML. The service pub.string:HTMLEncode ignors the special characters too.

    Has anyone an idea or a tip for me?

    Thanks in advanced!

    Thilo


    #API-Management
    #soa
    #webMethods


  • 5.  RE: SOAP encoding error

    Posted Tue September 27, 2005 04:33 PM

    Hello,

    We have the same problem. Our final system is returning a XML (via SOAP HTTP) with special characters and we always are getting wrong characters. For example: from Jesús to Jes?s.

    Anyone for help?
    Thanks.


    #webMethods
    #soa
    #API-Management


  • 6.  RE: SOAP encoding error

    Posted Mon October 03, 2005 08:11 PM

    Hi,

    the reason for our problem was resolved by Fix37 for IS 6.1. This fix is also provided by IS 6.1 SP1.

    Regards,

    Thilo


    #API-Management
    #webMethods
    #soa