Customization of the XML parsing in a web service 
Author Message
 Customization of the XML parsing in a web service

I would like to be able to somehow hook my code in the parsing process.

Here is the scenario: a web service accepts SOAP message where the
parameters (in and out) could be quite complex XML messages that are pretty
hard to describe in C++ arrays and structs (lots of choices, patterns
matching, etc.).  For now my solution is to pass strings that are in fact
XML documents and work it from there but it just doesn't feel right, does
it?  The ideal solution would be to somehow hook my code in the parsing
process (in terms of IXMLContentHandler perhaps) and when the parsing is
finished and the method code is invoked instead of BSTR to pass VARIANT or
IUnknown which somehow reflects the complex XML document.  Of course I would
like to be able to do the same in the other direction - to return objects
that can be serialized as XML.

Needless to say that the passed in/out XML documents will be validated
against an existing schema.

Val Melamed

Sun, 13 Nov 2005 08:59:53 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Hidden properties and methods in inherited classes over XML Web services

2. XML Web Service client using C++ - A problem

3. Formatting xml web service response via http

4. IXMLDocument2 parsing .NET web service dataset

5. How to set XML Web Service time out

6. event callback using XML Web Service

7. Fedex Tracking Info Web Service - XML problem

8. Visual C++ Web Service & ASP Web Controls

9. Output types for web methods in c# web service

10. Deploying web applications with a web service

11. Namespace Conflict - c# Class Library used by Web Service and ASP.NET Web App

12. ATL Server - Web Application/Web Service


Powered by phpBB® Forum Software