Skip to content
Commits on Source (5)
......@@ -12,7 +12,12 @@ Build-Depends: debhelper (>= 11~),
libboost-math-dev,
libboost-thread-dev,
libboost-program-options-dev,
libboost-random-dev
libboost-random-dev,
libboost-tools-dev,
doxygen,
docbook-xsl,
docbook-website,
xsltproc
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/libzeep
Vcs-Git: https://salsa.debian.org/med-team/libzeep.git
......
......@@ -6,7 +6,7 @@ Description: assorted fixes
Author: Maarten L. Hekkelman <m.hekkelman@cmbi.ru.nl>
--- a/makefile
+++ b/makefile
@@ -8,16 +8,14 @@
@@ -8,20 +8,18 @@
# You may have to edit the first three defines on top of this
# makefile to match your current installation.
......@@ -19,7 +19,7 @@ Author: Maarten L. Hekkelman <m.hekkelman@cmbi.ru.nl>
-LIBDIR ?= $(PREFIX)/lib
-INCDIR ?= $(PREFIX)/include
-MANDIR ?= $(PREFIX)/man/man3
-DOCDIR ?= $(PREFIX)/share/libzeep
-DOCDIR ?= $(PREFIX)/share/doc/libzeep-doc
+LIBDIR = $(DESTDIR)/usr/lib
+INCDIR = $(DESTDIR)/usr/include
+MANDIR = $(DESTDIR)/usr/share/man/man3
......@@ -29,17 +29,15 @@ Author: Maarten L. Hekkelman <m.hekkelman@cmbi.ru.nl>
+CXXFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
BOOST_LIBS = system thread filesystem regex math_c99 random
-BOOST_LIBS = system thread filesystem regex math_c99 random
+BOOST_LIBS = system thread filesystem regex random
BOOST_LIBS := $(BOOST_LIBS:%=boost_%$(BOOST_LIB_SUFFIX))
@@ -25,20 +23,16 @@
-LIBS = $(BOOST_LIBS) stdc++ m pthread rt
+LIBS = $(BOOST_LIBS) stdc++ m pthread
LDFLAGS += $(BOOST_LIB_DIR:%=-L%) $(LIBS:%=-l%) -g
VERSION_MAJOR = 3.0
-VERSION_MINOR = 4
+VERSION_MINOR = 5
VERSION = $(VERSION_MAJOR).$(VERSION_MINOR)
DIST_NAME = libzeep-$(VERSION)
SO_NAME = libzeep.so.$(VERSION_MAJOR)
@@ -32,13 +30,9 @@
LIB_NAME = $(SO_NAME).$(VERSION_MINOR)
CXX ?= c++
......@@ -64,39 +62,53 @@ Author: Maarten L. Hekkelman <m.hekkelman@cmbi.ru.nl>
libzeep.a: $(OBJECTS)
ar rc $@ $(OBJECTS)
@@ -91,21 +85,17 @@
install-dev: doc libzeep.a
install -d $(MANDIR) $(LIBDIR) $(INCDIR)/zeep/xml $(INCDIR)/zeep/http $(INCDIR)/zeep/http/webapp
-
@@ -86,30 +80,28 @@
install-libs: libzeep.so
install -d $(LIBDIR)
install $(LIB_NAME) $(LIBDIR)/$(LIB_NAME)
- strip --strip-unneeded $(LIBDIR)/$(LIB_NAME)
ln -Tfs $(LIB_NAME) $(LIBDIR)/$(SO_NAME)
- ln -Tfs $(LIB_NAME) $(LIBDIR)/libzeep.so
- $(LD_CONFIG) -n $(LIBDIR)
+ strip --strip-unneeded $(LIBDIR)/$(LIB_NAME)
-install-dev: libzeep.a
- install -d $(LIBDIR) $(INCDIR)/zeep/xml $(INCDIR)/zeep/http $(INCDIR)/zeep/http/webapp
+install-dev: doc libzeep.a
+ install -d $(MANDIR) $(LIBDIR) $(INCDIR)/zeep/xml $(INCDIR)/zeep/http $(INCDIR)/zeep/http/webapp
for f in `find zeep -name "*.hpp"`; do install $$f $(INCDIR)/$$f; done
-
install doc/libzeep.3 $(MANDIR)/libzeep.3
- for d in . images libzeep zeep zeep/http zeep/http/preforked_server_base zeep/http/el \
- zeep/http/el/object zeep/xml zeep/xml/doctype zeep/xml/container zeep/xml/element \
- index; do install -d $(DOCDIR)/$$d; install doc/html/$$d/* $(DOCDIR)/$$d; done;
- install ./libzeep.a $(LIBDIR)/libzeep.a
- strip -SX $(LIBDIR)/libzeep.a
-
-install-doc: doc
- install -d $(MANDIR) $(DOCDIR)/html
install doc/libzeep.3 $(MANDIR)/libzeep.3
- cd doc; for d in `find html -type d`; do install -d $(DOCDIR)/$$d; done
- cd doc; for f in `find html -type f`; do install $$f $(DOCDIR)/$$f; done
+ install -d $(DOCDIR)
+ cd doc/html; for d in `find . -type d`; do install -d $(DOCDIR)/$$d; done
+ cd doc/html; for f in `find . -type f`; do install $$f $(DOCDIR)/$$f; done
ln -Tfs $(LIB_NAME) $(LIBDIR)/libzeep.so
$(LD_CONFIG) -n $(LIBDIR)
+ ln -Tfs $(LIB_NAME) $(LIBDIR)/libzeep.so
+ $(LD_CONFIG) -n $(LIBDIR)
install: install-libs install-dev
-install: install-libs install-dev install-doc
+install: install-libs install-dev
-dist: lib doc
+dist: lib
-dist: doc
+dist: lib doc
rm -rf $(DIST_NAME)
mkdir -p $(DIST_NAME)
git archive master | tar xC $(DIST_NAME)
@@ -116,25 +106,17 @@
- find doc/html -depth | cpio -pd $(DIST_NAME)
+
+ find doc/html -depth | cpio -pvd $(DIST_NAME)
+
rm -rf $(DIST_NAME)/tests
tar czf $(DIST_NAME).tgz $(DIST_NAME)
rm -rf $(DIST_NAME)
@@ -118,22 +110,18 @@
cd doc; bjam
-doc: FORCE
- cd doc; bjam
-
obj/%.o: %.cpp | obj
- $(CXX) -MD -c -o $@ $< $(CFLAGS)
+ $(CXX) -MD -c -o $@ $< $(CXXFLAGS)
......@@ -114,7 +126,9 @@ Author: Maarten L. Hekkelman <m.hekkelman@cmbi.ru.nl>
-
clean:
rm -rf obj/* libzeep.a libzeep.so* zeep-test $(DIST_NAME) $(DIST_NAME).tgz
- cd doc; bjam clean
cd doc; bjam clean
- rm -rf doc/bin doc/html
- $(MAKE) -C tests clean
+ rm -rf doc/bin
FORCE:
hurd-patch
makefile.diff
spelling.patch
jamfile-patch
extend-diff-ignore = "(^|/)(.vscode/.*|msvc|\.gitignore|\.travis\.yml|tests|zeep-test.*|webapp-test.cpp)$"
extend-diff-ignore = "(^|/)(.vscode/.*|msvc|\.gitignore|\.travis\.yml|tests|zeep-test.*|webapp-test.cpp|doc/bin)$"
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro SOAP_SERVER_HAS_PREFORK</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/config.hpp&gt;">
<link rel="prev" href="SOAP_XML_HAS_EXPAT_SUPPORT.html" title="Macro SOAP_XML_HAS_EXPAT_SUPPORT">
<link rel="next" href="zeep/dispatcher.html" title="Class dispatcher">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="SOAP_XML_HAS_EXPAT_SUPPORT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="zeep/dispatcher.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="SOAP_SERVER_HAS_PREFORK"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro SOAP_SERVER_HAS_PREFORK</span></h2>
<p>SOAP_SERVER_HAS_PREFORK</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/config.hpp&gt;">/home/maarten/projects/libzeep/zeep/config.hpp</a>&gt;
</span>SOAP_SERVER_HAS_PREFORK</pre></div>
<div class="refsect1">
<a name="idm1866"></a><h2>Description</h2>
<p>The http server implementation in libzeep can use a preforked mode. That means the main process listens to a network port and passes the socket to a client process for doing the actual handling. The advantages for a setup like this is that if the client fails, the server can detect this and restart the client thereby guaranteeing a better uptime. </p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="SOAP_XML_HAS_EXPAT_SUPPORT.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="zeep/dispatcher.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro SOAP_XML_ADD_ENUM</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">
<link rel="prev" href="SOAP_XML_SET_STRUCT_NAME.html" title="Macro SOAP_XML_SET_STRUCT_NAME">
<link rel="next" href="zeep/xml/unicode.html" title="Type definition unicode">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="SOAP_XML_SET_STRUCT_NAME.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="zeep/xml/unicode.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="SOAP_XML_ADD_ENUM"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro SOAP_XML_ADD_ENUM</span></h2>
<p>SOAP_XML_ADD_ENUM &#8212; A macro to add the name of an enum value to the serializer. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">/home/maarten/projects/libzeep/zeep/xml/serialize.hpp</a>&gt;
</span>SOAP_XML_ADD_ENUM(e, v)</pre></div>
<div class="refsect1">
<a name="idm22118"></a><h2>Description</h2>
<p>To be able to correctly use enum values in a schema file or when serializing, you have to specify the enum values.</p>
<p>E.g., if you have a struct name Algorithm with values 'vector', 'dice' and 'jaccard' you would write:</p>
<div class="blockquote"><blockquote class="blockquote"><p>enum Algorithm { vector, dice, jaccard }; SOAP_XML_ADD_ENUM(Algorithm, vector); SOAP_XML_ADD_ENUM(Algorithm, dice); SOAP_XML_ADD_ENUM(Algorithm, jaccard); </p></blockquote></div>
<p>An alternative (better?) way to do this is:</p>
<div class="blockquote"><blockquote class="blockquote"><p>zeep::xml::enum_map&lt;Algorithm&gt;::instance("Algorithm").add_enum() ("vector", vector) ("dice", dice) ("jaccard", jaccard); </p></blockquote></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="SOAP_XML_SET_STRUCT_NAME.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="zeep/xml/unicode.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro SOAP_XML_HAS_EXPAT_SUPPORT</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/config.hpp&gt;">
<link rel="prev" href="index/s05.html" title="Reference">
<link rel="next" href="SOAP_SERVER_HAS_PREFORK.html" title="Macro SOAP_SERVER_HAS_PREFORK">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="index/s05.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_SERVER_HAS_PREFORK.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="SOAP_XML_HAS_EXPAT_SUPPORT"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro SOAP_XML_HAS_EXPAT_SUPPORT</span></h2>
<p>SOAP_XML_HAS_EXPAT_SUPPORT</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/config.hpp&gt;">/home/maarten/projects/libzeep/zeep/config.hpp</a>&gt;
</span>SOAP_XML_HAS_EXPAT_SUPPORT</pre></div>
<div class="refsect1">
<a name="idm1852"></a><h2>Description</h2>
<p>Libzeep comes with its own XML parser implementation. If you prefer you can use expat instead. To do so you have to define the SOAP_XML_HAS_EXPAT_SUPPORT flag and then you can call the zeep::xml::document::set_parser_type function to specify expat. </p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="index/s05.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_SERVER_HAS_PREFORK.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro SOAP_XML_SET_STRUCT_NAME</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">
<link rel="prev" href="ZEEP_ATTRIBUTE_NAME_VALUE.html" title="Macro ZEEP_ATTRIBUTE_NAME_VALUE">
<link rel="next" href="SOAP_XML_ADD_ENUM.html" title="Macro SOAP_XML_ADD_ENUM">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="ZEEP_ATTRIBUTE_NAME_VALUE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_XML_ADD_ENUM.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="SOAP_XML_SET_STRUCT_NAME"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro SOAP_XML_SET_STRUCT_NAME</span></h2>
<p>SOAP_XML_SET_STRUCT_NAME &#8212; A macro to assign a name to a struct used in serialization. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">/home/maarten/projects/libzeep/zeep/xml/serialize.hpp</a>&gt;
</span>SOAP_XML_SET_STRUCT_NAME(s)</pre></div>
<div class="refsect1">
<a name="idm22102"></a><h2>Description</h2>
<p>By default, libzeep uses the typeid(s).name() as the name for an element. That's often not what is intented. Calling this macro will make sure the type name you used in your code will be used instead.</p>
<p>E.g., struct FindResult { ... } might end up with a mangled name in the schema. To use FindResult instead, call SOAP_XML_SET_STRUCT_NAME(FindResult);</p>
<p>An alternative is to call, which allows different schema and struct names: zeep::xml::struct_serializer&lt;FindResult&gt;::set_struct_name("FindResult"); </p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="ZEEP_ATTRIBUTE_NAME_VALUE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_XML_ADD_ENUM.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro ZEEP_ATTRIBUTE_NAME_VALUE</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">
<link rel="prev" href="ZEEP_ELEMENT_NAME_VALUE.html" title="Macro ZEEP_ELEMENT_NAME_VALUE">
<link rel="next" href="SOAP_XML_SET_STRUCT_NAME.html" title="Macro SOAP_XML_SET_STRUCT_NAME">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="ZEEP_ELEMENT_NAME_VALUE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_XML_SET_STRUCT_NAME.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="ZEEP_ATTRIBUTE_NAME_VALUE"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro ZEEP_ATTRIBUTE_NAME_VALUE</span></h2>
<p>ZEEP_ATTRIBUTE_NAME_VALUE</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">/home/maarten/projects/libzeep/zeep/xml/serialize.hpp</a>&gt;
</span>ZEEP_ATTRIBUTE_NAME_VALUE(name)</pre></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="ZEEP_ELEMENT_NAME_VALUE.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="SOAP_XML_SET_STRUCT_NAME.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Macro ZEEP_ELEMENT_NAME_VALUE</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="up" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">
<link rel="prev" href="zeep/xml/serializer.html" title="Struct serializer">
<link rel="next" href="ZEEP_ATTRIBUTE_NAME_VALUE.html" title="Macro ZEEP_ATTRIBUTE_NAME_VALUE">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="zeep/xml/serializer.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="ZEEP_ATTRIBUTE_NAME_VALUE.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="ZEEP_ELEMENT_NAME_VALUE"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Macro ZEEP_ELEMENT_NAME_VALUE</span></h2>
<p>ZEEP_ELEMENT_NAME_VALUE</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;">/home/maarten/projects/libzeep/zeep/xml/serialize.hpp</a>&gt;
</span>ZEEP_ELEMENT_NAME_VALUE(name)</pre></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="zeep/xml/serializer.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="ZEEP_ATTRIBUTE_NAME_VALUE.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>libzeep 3.0</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libzeep 3.0">
<link rel="next" href="libzeep/intro.html" title="Introduction">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav"><a accesskey="n" href="libzeep/intro.html"><img src="images/next.png" alt="Next"></a></div>
<div class="article">
<div class="titlepage">
<div>
<div><h2 class="title">
<a name="libzeep"></a>libzeep 3.0</h2></div>
<div><div class="authorgroup"><div class="author"><h3 class="author">
<span class="firstname">Maarten L.</span> <span class="surname">Hekkelman</span>
</h3></div></div></div>
<div><p class="copyright">Copyright &#169; 2012-2019 Maarten L. Hekkelman</p></div>
<div><div class="legalnotice">
<a name="libzeep.legal"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></div>
</div>
<hr>
</div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl class="toc">
<dt><span class="section"><a href="index.html#libzeep.overview">Overview</a></span></dt>
<dt><span class="section"><a href="libzeep/intro.html">Introduction</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="libzeep/intro.html#libzeep.intro.xml">XML Parser</a></span></dt>
<dt><span class="section"><a href="libzeep/intro.html#libzeep.intro.xml_serialization">XML Serialization</a></span></dt>
<dt><span class="section"><a href="libzeep/intro.html#libzeep.intro.xpath">XPath 1.0</a></span></dt>
<dt><span class="section"><a href="libzeep/intro.html#libzeep.intro.http">HTTP Server</a></span></dt>
<dt><span class="section"><a href="libzeep/intro.html#libzeep.intro.soap">SOAP Server</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="libzeep/soap.html">Creating a SOAP and REST server</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="libzeep/soap.html#libzeep.soap.intro">Introduction</a></span></dt>
<dt><span class="section"><a href="libzeep/soap.html#libzeep.soap.basics">A real world example</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="libzeep/webapp.html">Creating a Web Application</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.intro">Introduction</a></span></dt>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.basics">The building blocks</a></span></dt>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.hello">Hello world!</a></span></dt>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.forms">Using forms</a></span></dt>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.el">Using <code class="computeroutput"><span class="identifier">el</span></code>
script</a></span></dt>
<dt><span class="section"><a href="libzeep/webapp.html#libzeep.webapp.processing_tags">Processing Tags</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="index/s05.html">Reference</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.config_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/config.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.dispatcher_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/dispatcher.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.envelope_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/envelope.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.exception_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/exception.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.connection_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/connection.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.header_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/header.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.md5_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/md5.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.message_parser_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/message_parser.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.preforked-server_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/preforked-server.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.reply_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/reply.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.request_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/request.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.request_handler_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/request_handler.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.webapp_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/webapp.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.webapp.el_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/webapp/el.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.server_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/server.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.http.server_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/http/server.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.doctype_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/doctype.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.document_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/document.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.node_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/node.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.parser_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/parser.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.serialize_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/serialize.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.unicode_support_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/unicode_support.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.writer_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/writer.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="index/s05.html#header..home.maarten.projects.libzeep.zeep.xml.xpath_hpp">Header &lt;/home/maarten/projects/libzeep/zeep/xml/xpath.hpp&gt;</a></span></dt>
</dl></dd>
</dl>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="libzeep.overview"></a><a class="link" href="index.html#libzeep.overview" title="Overview">Overview</a>
</h2></div></div></div>
<p>
Libzeep is packaged as one library, but actually contains two different libraries.
The first part of libzeep consists of code to read, manipulate and write XML.
It contains a validating XML parser, an XPath implementation to query a DOM
tree, code to serialize objects into and out of XML and finally it contains
an XML writing module.
</p>
<p>
The second part of libzeep is targeted to writing SOAP and REST servers as
well as full web applications using C++. There is a simple HTTP server implementation,
code to create SOAP (and REST) servers out of existing C++ objects and there
is code to create complete web applications that work a bit like popular Java
web application frameworks. The libzeep web application framework turns page
templates consisting of XHTML with custom tags and a custom script language
into HTML.
</p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: May 09, 2019 at 09:05:48 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
<div class="spirit-nav"><a accesskey="n" href="libzeep/intro.html"><img src="images/next.png" alt="Next"></a></div>
</body>
</html>
This diff is collapsed.
index.html
libzeep/intro.html
libzeep/soap.html
libzeep/webapp.html
index/s05.html
SOAP_XML_HAS_EXPAT_SUPPORT.html
SOAP_SERVER_HAS_PREFORK.html
zeep/dispatcher.html
zeep/envelope.html
zeep/make_envelope.html
zeep/make_fault_idm2208.html
zeep/make_fault_idm2221.html
zeep/exception.html
zeep/http/connection.html
zeep/http/header.html
zeep/http/md5.html
zeep/http/parser.html
zeep/http/reply_parser.html
zeep/http/request_parser.html
zeep/http/preforked_server.html
zeep/http/reply.html
zeep/http/request.html
zeep/http/request_handler.html
zeep/http/basic_webapp.html
zeep/http/basic_webapp/mount_point.html
zeep/http/parameter_map.html
zeep/http/parameter_value.html
zeep/http/unauthorized_exception.html
zeep/http/webapp.html
zeep/http/el/object.html
zeep/http/el/object/basic_iterator.html
zeep/http/el/scope.html
zeep/http/el/process_el.html
zeep/http/el/evaluate_el_idm3682.html
zeep/http/el/evaluate_el_idm3705.html
zeep/server.html
zeep/http/server.html
zeep/http/decode_url.html
zeep/http/encode_url.html
zeep/xml/doctype/allowed_any.html
zeep/xml/doctype/allowed_base.html
zeep/xml/doctype/allowed_choice.html
zeep/xml/doctype/allowed_element.html
zeep/xml/doctype/allowed_empty.html
zeep/xml/doctype/allowed_repeated.html
zeep/xml/doctype/allowed_seq.html
zeep/xml/doctype/attribute.html
zeep/xml/doctype/element.html
zeep/xml/doctype/entity.html
zeep/xml/doctype/general_entity.html
zeep/xml/doctype/parameter_entity.html
zeep/xml/doctype/validator.html
zeep/xml/document.html
zeep/xml/attribute.html
zeep/xml/cdata.html
zeep/xml/comment.html
zeep/xml/container.html
zeep/xml/container/basic_iterator.html
zeep/xml/element.html
zeep/xml/element/attribute_iterator.html
zeep/xml/element/const_attribute_iterator.html
zeep/xml/name_space.html
zeep/xml/node.html
zeep/xml/processing_instruction.html
zeep/xml/root_node.html
zeep/xml/text.html
zeep/xml/invalid_exception.html
zeep/xml/not_wf_exception.html
zeep/xml/parser.html
zeep/xml/attribute_nvp.html
zeep/xml/deserializer.html
zeep/xml/element_nvp.html
zeep/xml/schema_creator.html
zeep/xml/serializer.html
ZEEP_ELEMENT_NAME_VALUE.html
ZEEP_ATTRIBUTE_NAME_VALUE.html
SOAP_XML_SET_STRUCT_NAME.html
SOAP_XML_ADD_ENUM.html
zeep/xml/unicode.html
zeep/xml/writer.html
zeep/xml/context.html
zeep/xml/xpath.html
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class dispatcher</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="libzeep 3.0">
<link rel="up" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.dispatcher_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/dispatcher.hpp&gt;">
<link rel="prev" href="../SOAP_SERVER_HAS_PREFORK.html" title="Macro SOAP_SERVER_HAS_PREFORK">
<link rel="next" href="envelope.html" title="Class envelope">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="../SOAP_SERVER_HAS_PREFORK.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.dispatcher_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="envelope.html"><img src="../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="zeep.dispatcher"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class dispatcher</span></h2>
<p>zeep::dispatcher</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.dispatcher_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/dispatcher.hpp&gt;">/home/maarten/projects/libzeep/zeep/dispatcher.hpp</a>&gt;
</span>
<span class="keyword">class</span> <a class="link" href="dispatcher.html" title="Class dispatcher">dispatcher</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// types</span>
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="zeep.dispatcher.handler_list"></a><span class="identifier">handler_list</span><span class="special">;</span>
<span class="comment">// <a class="link" href="dispatcher.html#zeep.dispatcherconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="dispatcher.html#idm2171-bb"><span class="identifier">dispatcher</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="dispatcher.html#idm2176-bb"><span class="special">~</span><span class="identifier">dispatcher</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="dispatcher.html#idm2128-bb">public member functions</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Class<span class="special">,</span> <span class="keyword">typename</span> Function<span class="special">&gt;</span>
<span class="keyword">void</span> <a class="link" href="dispatcher.html#idm2129-bb"><span class="identifier">register_action</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">Class</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">Function</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
<a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a class="link" href="dispatcher.html#idm2143-bb"><span class="identifier">dispatch</span></a><span class="special">(</span><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a class="link" href="dispatcher.html#idm2150-bb"><span class="identifier">dispatch</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">,</span> <a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a class="link" href="dispatcher.html#idm2159-bb"><span class="identifier">make_wsdl</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="dispatcher.html#idm2165-bb"><span class="identifier">set_response_name</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// public data members</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">m_ns</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">m_service</span><span class="special">;</span>
<span class="identifier">handler_list</span> <span class="identifier">m_handlers</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm2021"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm2023"></a><h3>
<a name="zeep.dispatcherconstruct-copy-destruct"></a><code class="computeroutput">dispatcher</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="idm2171-bb"></a><span class="identifier">dispatcher</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> ns<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> service<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm2176-bb"></a><span class="special">~</span><span class="identifier">dispatcher</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm2056"></a><h3>
<a name="idm2128-bb"></a><code class="computeroutput">dispatcher</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Class<span class="special">,</span> <span class="keyword">typename</span> Function<span class="special">&gt;</span>
<span class="keyword">void</span> <a name="idm2129-bb"></a><span class="identifier">register_action</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> action<span class="special">,</span> <span class="identifier">Class</span> <span class="special">*</span> server<span class="special">,</span> <span class="identifier">Function</span> call<span class="special">,</span>
<span class="emphasis"><em><span class="identifier">unspecified</span></em></span> arg<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a name="idm2143-bb"></a><span class="identifier">dispatch</span><span class="special">(</span><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> in<span class="special">)</span><span class="special">;</span></pre>Dispatch a SOAP message and return the result. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a name="idm2150-bb"></a><span class="identifier">dispatch</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> action<span class="special">,</span> <a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> in<span class="special">)</span><span class="special">;</span></pre>Dispatch a SOAP message and return the result. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a name="idm2159-bb"></a><span class="identifier">make_wsdl</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> address<span class="special">)</span><span class="special">;</span></pre>Create a WSDL based on the registered actions. </li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm2165-bb"></a><span class="identifier">set_response_name</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> action<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> name<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../SOAP_SERVER_HAS_PREFORK.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.dispatcher_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="envelope.html"><img src="../images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class envelope</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="libzeep 3.0">
<link rel="up" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.envelope_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/envelope.hpp&gt;">
<link rel="prev" href="dispatcher.html" title="Class dispatcher">
<link rel="next" href="make_envelope.html" title="Function make_envelope">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="dispatcher.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.envelope_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="make_envelope.html"><img src="../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="zeep.envelope"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class envelope</span></h2>
<p>zeep::envelope</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.envelope_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/envelope.hpp&gt;">/home/maarten/projects/libzeep/zeep/envelope.hpp</a>&gt;
</span>
<span class="keyword">class</span> <a class="link" href="envelope.html" title="Class envelope">envelope</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">noncopyable</span> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// <a class="link" href="envelope.html#zeep.envelopeconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="envelope.html#idm2186-bb"><span class="identifier">envelope</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="envelope.html#idm2188-bb"><span class="identifier">envelope</span></a><span class="special">(</span><a class="link" href="xml/document.html" title="Class document">xml::document</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="envelope.html#idm2181-bb">public member functions</a></span>
<a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a class="link" href="envelope.html#idm2182-bb"><span class="identifier">request</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm2240"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm2242"></a><h3>
<a name="zeep.envelopeconstruct-copy-destruct"></a><code class="computeroutput">envelope</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="idm2186-bb"></a><span class="identifier">envelope</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Create an empty envelope. </li>
<li class="listitem">
<pre class="literallayout"><a name="idm2188-bb"></a><span class="identifier">envelope</span><span class="special">(</span><a class="link" href="xml/document.html" title="Class document">xml::document</a> <span class="special">&amp;</span> data<span class="special">)</span><span class="special">;</span></pre>Parse a SOAP message received from a client, throws an exception if the envelope is empty or invalid. </li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm2265"></a><h3>
<a name="idm2181-bb"></a><code class="computeroutput">envelope</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><a class="link" href="xml/element.html" title="Class element">xml::element</a> <span class="special">*</span> <a name="idm2182-bb"></a><span class="identifier">request</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>The request element as contained in the original SOAP message. </li></ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="dispatcher.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.envelope_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="make_envelope.html"><img src="../images/next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class exception</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="libzeep 3.0">
<link rel="up" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.exception_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/exception.hpp&gt;">
<link rel="prev" href="make_fault_idm2221.html" title="Function make_fault">
<link rel="next" href="http/connection.html" title="Class connection">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="make_fault_idm2221.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.exception_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="http/connection.html"><img src="../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="zeep.exception"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class exception</span></h2>
<p>zeep::exception &#8212; <a class="link" href="exception.html" title="Class exception">zeep::exception</a> is a class used to throw zeep exception. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.exception_hpp" title="Header &lt;/home/maarten/projects/libzeep/zeep/exception.hpp&gt;">/home/maarten/projects/libzeep/zeep/exception.hpp</a>&gt;
</span>
<span class="keyword">class</span> <a class="link" href="exception.html" title="Class exception">exception</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">exception</span> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// <a class="link" href="exception.html#zeep.exceptionconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="exception.html#idm2243-bb"><span class="identifier">exception</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span><span class="special">,</span> <span class="special">...</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="exception.html#idm2249-bb"><span class="identifier">exception</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="exception.html#idm2252-bb"><span class="special">~</span><span class="identifier">exception</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="exception.html#idm2240-bb">public member functions</a></span>
<span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="exception.html#idm2241-bb"><span class="identifier">what</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm2475"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm2477"></a><h3>
<a name="zeep.exceptionconstruct-copy-destruct"></a><code class="computeroutput">exception</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="idm2243-bb"></a><span class="identifier">exception</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> message<span class="special">,</span> <span class="special">...</span><span class="special">)</span><span class="special">;</span></pre>Create an exception with vsprintf like parameters. </li>
<li class="listitem"><pre class="literallayout"><a name="idm2249-bb"></a><span class="identifier">exception</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> message<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm2252-bb"></a><span class="special">~</span><span class="identifier">exception</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm2517"></a><h3>
<a name="idm2240-bb"></a><code class="computeroutput">exception</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idm2241-bb"></a><span class="identifier">what</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li></ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2012-2019 Maarten L. Hekkelman<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="make_fault_idm2221.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index/s05.html#header..home.maarten.projects.libzeep.zeep.exception_hpp"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="http/connection.html"><img src="../images/next.png" alt="Next"></a>
</div>
</body>
</html>
This diff is collapsed.