0
|
1 /*
|
|
2 sp.h
|
|
3
|
|
4 WS-SecurityPolicy 1.2 binding schemas
|
|
5
|
|
6 --------------------------------------------------------------------------------
|
|
7 gSOAP XML Web services tools
|
|
8 Copyright (C) 2001-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
|
9 This software is released under one of the following licenses:
|
|
10 GPL or Genivia's license for commercial use.
|
|
11 --------------------------------------------------------------------------------
|
|
12 GPL license.
|
|
13
|
|
14 This program is free software; you can redistribute it and/or modify it under
|
|
15 the terms of the GNU General Public License as published by the Free Software
|
|
16 Foundation; either version 2 of the License, or (at your option) any later
|
|
17 version.
|
|
18
|
|
19 This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
20 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
21 PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
22
|
|
23 You should have received a copy of the GNU General Public License along with
|
|
24 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
|
25 Place, Suite 330, Boston, MA 02111-1307 USA
|
|
26
|
|
27 Author contact information:
|
|
28 engelen@genivia.com / engelen@acm.org
|
|
29 --------------------------------------------------------------------------------
|
|
30 A commercial use license is available from Genivia, Inc., contact@genivia.com
|
|
31 --------------------------------------------------------------------------------
|
|
32
|
|
33 */
|
|
34
|
|
35 //gsoap sp schema documentation: WS-SecurityPolicy binding
|
|
36 //gsoap sp schema namespace: http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
|
|
37 // 1.1 //gsoap sp schema namespace: http://schemas.xmlsoap.org/ws/2005/07/securitypolicy
|
|
38 //gsoap sp schema elementForm: qualified
|
|
39 //gsoap sp schema attributeForm: unqualified
|
|
40
|
|
41 #import "imports.h"
|
|
42 #import "wsam.h"
|
|
43 #import "wst.h"
|
|
44
|
|
45 class sp__Header
|
|
46 { public:
|
|
47 @xsd__NCName Name;
|
|
48 @xsd__anyURI Namespace;
|
|
49 };
|
|
50
|
|
51 class sp__Parts
|
|
52 { public:
|
|
53 xsd__string Body;
|
|
54 std::vector<sp__Header> Header;
|
|
55 xsd__string Attachments;
|
|
56 };
|
|
57
|
|
58 class sp__Elements
|
|
59 { public:
|
|
60 @xsd__anyURI XPathVersion;
|
|
61 std::vector<xsd__string> XPath;
|
|
62 };
|
|
63
|
|
64 class sp__Token : public wsp__Assertion
|
|
65 { public:
|
|
66 @xsd__anyURI IncludeToken;
|
|
67 wsa__EndpointReferenceType *Issuer;
|
|
68 xsd__anyURI IssuerName;
|
|
69 wst__Claims *wst__Claims_;
|
|
70 };
|