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 Response Error

    Posted Mon October 01, 2007 03:02 PM

    Hi,

    I have been trying to send SOAP messages from webMethods to specific Interfaces but I am getting the following error after using the Webservices.

    Server was unable to read request. → There is an error in XML document (6, 4). → ‘’, hexadecimal value 0x11, is an invalid character. Line 6, position 20.

    I have tried manipulating the XML Data as well as trying with separate XML Data but for every data it is showing the same error.

    Can you please provide the solution to this problem.


    #webMethods
    #soa
    #API-Management


  • 2.  RE: SOAP Response Error

    Posted Mon October 01, 2007 03:17 PM

    When you call pub.xml:documentToXMLString set “encode” to true.

    But the root question you may want to investigate is why there is an 0x11 character in the data? That doesn’t seem typical for XML data.


    #soa
    #webMethods
    #API-Management


  • 3.  RE: SOAP Response Error

    Posted Mon October 08, 2007 10:55 PM

    <faultcode>soapenv:Client</faultcode>
    <faultstring>An invalid XML character (Unicode: 0x1d) was found in the element content of the document.</faultstring>

    I get the above error when foreign characters are sent to the client.
    Any suggestion on how to handle these ?


    #soa
    #API-Management
    #webMethods


  • 4.  RE: SOAP Response Error

    Posted Tue October 09, 2007 06:07 PM


  • 5.  RE: SOAP Response Error

    Posted Tue October 09, 2007 07:11 PM

    Did you try setting the encode variable in the call to documentToXMLString?


    #webMethods
    #API-Management
    #soa


  • 6.  RE: SOAP Response Error

    Posted Tue October 09, 2007 09:28 PM

    Yes. That did not help.
    I was going through another forum
    [URL=“http://forums.pentaho.org/archive/index.php/t-51962.html”]http://forums.pentaho.org/archive/index.php/t-51962.html[/URL]
    where some people encountered the same error and someone has mentioned about base64encode.
    I am not sure if that is the right path.


    #webMethods
    #soa
    #API-Management