projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reducing header overuse, non-inlining selected methods (CPPOST-35).
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
soap
/
SOAP.h
diff --git
a/xmltooling/soap/SOAP.h
b/xmltooling/soap/SOAP.h
index
8ef5de0
..
429f54f
100644
(file)
--- a/
xmltooling/soap/SOAP.h
+++ b/
xmltooling/soap/SOAP.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 2001-200
7
Internet2
+ * Copyright 2001-200
9
Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-23,10
+23,9
@@
#ifndef __xmltooling_soap_h__
#define __xmltooling_soap_h__
#ifndef __xmltooling_soap_h__
#define __xmltooling_soap_h__
+#include <xmltooling/ConcreteXMLObjectBuilder.h>
#include <xmltooling/ElementProxy.h>
#include <xmltooling/ElementProxy.h>
-#include <xmltooling/XMLObjectBuilder.h>
#include <xmltooling/util/XMLConstants.h>
#include <xmltooling/util/XMLConstants.h>
-#include <xercesc/util/XMLUniDefs.hpp>
/**
* Macro for declaring SOAP builders.
/**
* Macro for declaring SOAP builders.
@@
-51,13
+50,13
@@
namespace soap11 {
/** Sets the QName content of the element. */
virtual void setCode(const xmltooling::QName* qname)=0;
/** Client Fault code. **/
/** Sets the QName content of the element. */
virtual void setCode(const xmltooling::QName* qname)=0;
/** Client Fault code. **/
- static xmltooling::QName CLIENT;
\r
- /** Server Fault code. **/
\r
- static xmltooling::QName SERVER;
\r
- /** MustUnderstand Fault code. **/
\r
- static xmltooling::QName MUSTUNDERSTAND;
\r
- /** Version Mismatch Fault code. **/
\r
- static xmltooling::QName VERSIONMISMATCH;
\r
+ static xmltooling::QName CLIENT;
+ /** Server Fault code. **/
+ static xmltooling::QName SERVER;
+ /** MustUnderstand Fault code. **/
+ static xmltooling::QName MUSTUNDERSTAND;
+ /** Version Mismatch Fault code. **/
+ static xmltooling::QName VERSIONMISMATCH;
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Detail,xmltooling::ElementProxy,SOAP 1.1 detail element);
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Detail,xmltooling::ElementProxy,SOAP 1.1 detail element);
@@
-75,14
+74,17
@@
namespace soap11 {
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Body,xmltooling::ElementProxy,SOAP 1.1 Body element);
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Body,xmltooling::ElementProxy,SOAP 1.1 Body element);
- DECL_STRING_ATTRIB(EncodingStyle,ENCODINGSTYLE);
+ /** encodingStyle attribute name */
+ static const XMLCh ENCODINGSTYLE_ATTRIB_NAME[];
/** Body (type) local name */
static const XMLCh TYPE_NAME[];
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Header,xmltooling::ElementProxy,SOAP 1.1 Header element);
/** Body (type) local name */
static const XMLCh TYPE_NAME[];
END_XMLOBJECT;
BEGIN_XMLOBJECT(XMLTOOL_API,Header,xmltooling::ElementProxy,SOAP 1.1 Header element);
- DECL_BOOLEAN_ATTRIB(MustUnderstand,MUSTUNDERSTAND,false);
- DECL_STRING_ATTRIB(Actor,ACTOR);
+ /** Actor header block attribute name */
+ static const XMLCh ACTOR_ATTRIB_NAME[];
+ /** mustUnderstand header block attribute name */
+ static const XMLCh MUSTUNDERSTAND_ATTRIB_NAME[];
/** Header (type) local name */
static const XMLCh TYPE_NAME[];
END_XMLOBJECT;
/** Header (type) local name */
static const XMLCh TYPE_NAME[];
END_XMLOBJECT;
@@
-95,13
+97,13
@@
namespace soap11 {
END_XMLOBJECT;
DECL_SOAP11OBJECTBUILDER(Body);
END_XMLOBJECT;
DECL_SOAP11OBJECTBUILDER(Body);
- DECL_SOAP11OBJECTBUILDER(Detail);
DECL_SOAP11OBJECTBUILDER(Envelope);
DECL_SOAP11OBJECTBUILDER(Fault);
DECL_SOAP11OBJECTBUILDER(Envelope);
DECL_SOAP11OBJECTBUILDER(Fault);
- DECL_SOAP11OBJECTBUILDER(Faultactor);
- DECL_SOAP11OBJECTBUILDER(Faultcode);
- DECL_SOAP11OBJECTBUILDER(Faultstring);
DECL_SOAP11OBJECTBUILDER(Header);
DECL_SOAP11OBJECTBUILDER(Header);
+ DECL_XMLOBJECTBUILDER(XMLTOOL_API,Detail,NULL,NULL);
+ DECL_XMLOBJECTBUILDER(XMLTOOL_API,Faultactor,NULL,NULL);
+ DECL_XMLOBJECTBUILDER(XMLTOOL_API,Faultcode,NULL,NULL);
+ DECL_XMLOBJECTBUILDER(XMLTOOL_API,Faultstring,NULL,NULL);
/**
* Registers builders and validators for SOAP 1.1 classes into the runtime.
/**
* Registers builders and validators for SOAP 1.1 classes into the runtime.