Announcement

Collapse
No announcement yet.

trouble with a SOAP sender

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • trouble with a SOAP sender

    Hi,

    I have a SOAP sender that needs to handle the symbols '<' and '>' literally. For example,
    it needs to handle values like '<123.3' and '>453.2'

    It does so without problems for '>" but not for '<'. When dealing with the latter, it errors
    out, saying that my xml is malformed.

    I'm logging the messages, so looking there I see, for example:
    ********************************************
    <entry>
    <string>value</string>
    <string>&gt;2000.0</string>
    </entry>
    **********************************************
    That message is processed without a problem.

    I also see, for example:
    *************************************************
    <entry>
    <string>value</string>
    <string>&lt;125.0</string>
    </entry>
    **************************************************
    That message is accompanied with errors like the following:
    ************************************************** ****
    ERROR MESSAGE: Error invoking WebService
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTracerg.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
    ************************************************** *******
    Why the problem with &lt; and not with &gt; ?

    Any insights would be greatly appreciated!

  • #2
    Hi,

    I was able to fix the problem with the strategic placement
    of a CDATA tag ... my apologies.

    Thanks

    Comment

    Working...
    X