Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OT kind of. Axis2/C problem parsing CDATA

 
Doug Slattery
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this may be off topic, but I was curious if any fellow ranchers have come across this in their coding ventures.

I'm working on a 'C' project changing an interface from a vendor api that only supports HP to a SOAP interface on Linux to access a web service. The response object has CDATA in the XML stream that Axis2/C is not deserializing. From doing some googling, I get the impression that others have encountered issues with CDATA and Axis2 in general, and am wondering if it is even supported.?.?

The only work around that I've found that might work, is to add a callback where the raw xml is being read from the response and calling it so my app can parse it out manually. There is only a single CDATA element in the response, so it will be pretty simple. I'd rather not do that for obvious reasons.

I'm using version 1.6.0

Any thoughts are appreciated.
- Doug

-- Nothing is impossible if I'mPossible
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic