soap.h

00001 /*
00002 
00003 soap.h
00004 
00005 WSDL/SOAP binding schema
00006 
00007 --------------------------------------------------------------------------------
00008 gSOAP XML Web services tools
00009 Copyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
00010 
00011 GPL license.
00012 
00013 This program is free software; you can redistribute it and/or modify it under
00014 the terms of the GNU General Public License as published by the Free Software
00015 Foundation; either version 2 of the License, or (at your option) any later
00016 version.
00017 
00018 This program is distributed in the hope that it will be useful, but WITHOUT ANY
00019 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
00020 PARTICULAR PURPOSE. See the GNU General Public License for more details.
00021 
00022 You should have received a copy of the GNU General Public License along with
00023 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
00024 Place, Suite 330, Boston, MA 02111-1307 USA
00025 
00026 Author contact information:
00027 engelen@genivia.com / engelen@acm.org
00028 --------------------------------------------------------------------------------
00029 
00030 */
00031 
00032 //gsoap soap schema documentation:      WSDL/SOAP binding schema
00033 //gsoap soap schema namespace:          http://schemas.xmlsoap.org/wsdl/soap/
00034 
00035 #import "imports.h"
00036 
00037 class wsdl__definitions;                // forward declaration
00038 class wsdl__message;                    // forward declaration
00039 class wsdl__part;                       // forward declaration
00040 
00041 enum soap__styleChoice { rpc, document };
00042 
00043 class soap__binding
00044 { public:
00045         @xsd__anyURI                    transport;
00046         @enum soap__styleChoice         *style;
00047 };
00048 
00049 class soap__operation
00050 { public:
00051         @xsd__anyURI                    soapAction;
00052         @enum soap__styleChoice         *style;
00053 };
00054 
00055 enum soap__useChoice { literal, encoded };
00056 
00057 class soap__body
00058 { public:
00059         @xsd__anyURI                    encodingStyle;
00060         @xsd__NMTOKENS                  parts;
00061         @enum soap__useChoice           use;
00062         @xsd__anyURI                    namespace_;
00063 };
00064 
00065 class soap__fault
00066 { public:
00067         @xsd__NMTOKEN                   name;
00068         @xsd__anyURI                    encodingStyle;
00069         @enum soap__useChoice           use;
00070         @xsd__anyURI                    namespace_;
00071 };
00072 
00073 class soap__headerfault
00074 { public:
00075         @xsd__QName                     message;
00076         @xsd__NMTOKEN                   part;
00077         @enum soap__useChoice           use;
00078         @xsd__anyURI                    encodingStyle;
00079         @xsd__anyURI                    namespace_;
00080   private:
00081         wsdl__message                   *messageRef;
00082         wsdl__part                      *partRef;
00083   public:
00084         int                             traverse(wsdl__definitions&);
00085         void                            messagePtr(wsdl__message*);
00086         void                            partPtr(wsdl__part*);
00087         wsdl__message                   *messagePtr() const;
00088         wsdl__part                      *partPtr() const;
00089 };
00090 
00091 class soap__header
00092 { public:
00093         @xsd__QName                     message;
00094         @xsd__NMTOKEN                   part;
00095         @enum soap__useChoice           use;
00096         @xsd__anyURI                    encodingStyle;
00097         @xsd__anyURI                    namespace_;
00098         std::vector<soap__headerfault>  headerfault;            // <soap:headerfault>*
00099   private:
00100         wsdl__message                   *messageRef;
00101         wsdl__part                      *partRef;
00102   public:
00103         int                             traverse(wsdl__definitions&);
00104         void                            messagePtr(wsdl__message*);
00105         void                            partPtr(wsdl__part*);
00106         wsdl__message                   *messagePtr() const;
00107         wsdl__part                      *partPtr() const;
00108 };
00109 
00110 class soap__address
00111 { public:
00112         @xsd__anyURI                    location;
00113 };

Generated on Mon Jun 5 10:20:42 2006 for Intelligence.kdevelop by  doxygen 1.4.6