This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes OT kind of.  Axis2/C problem parsing CDATA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "OT kind of.  Axis2/C problem parsing CDATA" Watch "OT kind of.  Axis2/C problem parsing CDATA" New topic
Author

OT kind of. Axis2/C problem parsing CDATA

Doug Slattery
Ranch Hand

Joined: Sep 15, 2007
Posts: 294
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OT kind of. Axis2/C problem parsing CDATA