• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

OT kind of. Axis2/C problem parsing CDATA

Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Bookmark Topic Watch Topic
  • New Topic