XBinder XML Runtime  XBinder Version 3.0.x
rtSaxCppSoap.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2003-2018 Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
24 
29 #ifndef _RTSAXCPPSOAP_H_
30 #define _RTSAXCPPSOAP_H_
31 
32 #include "rtxsrc/rtxCppDynOctStr.h"
33 #include "rtxsrc/OSRTContext.h"
34 #include "rtxsrc/OSRTMemBuf.h"
35 #include "rtxsrc/rtxCppXmlString.h"
36 #include "rtxmlsrc/osrtxml.h"
37 #include "rtxmlsrc/rtSaxCppParser.h"
39 
40 class EXTERNXML OSXMLSoapHandler : public OSXMLDefaultHandler {
41  private:
42  OSXMLDefaultHandler* mpMsgSaxHandler;
43  OSXMLDefaultHandler* mpFaultMsgSaxHandler;
44  OSRTMemBuf mCurrElemValue;
45 // OSXMLStringClass mFaultCode;
46 // OSXMLStringClass mFaultString;
47  OSBOOL mbEnvelopeParsed;
48  OSBOOL mbFault;
49  OSBOOL mbProcessingDetailFault;
50  OSBOOL mbParsingHeader;
51 
52  public:
54  (OSXMLDefaultHandler* msgSaxHandler,
55  OSRTContext* pContext,
56  OSXMLDefaultHandler* faultSaxHandler = 0);
57  ~OSXMLSoapHandler ();
58 
59  virtual int startElement
60  (const OSUTF8CHAR* const uri,
61  const OSUTF8CHAR* const localname,
62  const OSUTF8CHAR* const qname,
63  const OSUTF8CHAR* const* attrs);
64 
65  virtual int characters
66  (const OSUTF8CHAR* const chars, unsigned int length);
67 
68  virtual int endElement
69  (const OSUTF8CHAR* const uri,
70  const OSUTF8CHAR* const localname,
71  const OSUTF8CHAR* const qname);
72 
73  OSBOOL isSoapEnv(const OSUTF8CHAR* uri);
74 } ;
75 
76 #endif /* _RTSAXCPPSOAP_H_ */
This file is deprecated.
virtual EXTXMLMETHOD int startElement(const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname, const OSUTF8CHAR *const *attrs)
Receive notification of the beginning of an element.
This class is derived from the SAX class DefaultHandler base class.
XML low-level C encode/decode functions.
virtual EXTXMLMETHOD int characters(const OSUTF8CHAR *const chars, unsigned int length)
Receive notification of character data.
virtual EXTXMLMETHOD int endElement(const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname)
Receive notification of the end of an element.