00001 <?php 00002 // 00003 // Definition of eZSOAPEnvelope class 00004 // 00005 // Created on: <28-Feb-2002 15:54:36 bf> 00006 // 00007 // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00008 // SOFTWARE NAME: eZ publish 00009 // SOFTWARE RELEASE: 3.9.x 00010 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 00011 // SOFTWARE LICENSE: GNU General Public License v2.0 00012 // NOTICE: > 00013 // This program is free software; you can redistribute it and/or 00014 // modify it under the terms of version 2.0 of the GNU General 00015 // Public License as published by the Free Software Foundation. 00016 // 00017 // This program is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 // GNU General Public License for more details. 00021 // 00022 // You should have received a copy of version 2.0 of the GNU General 00023 // Public License along with this program; if not, write to the Free 00024 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00025 // MA 02110-1301, USA. 00026 // 00027 // 00028 // ## END COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00029 // 00030 00031 /*! \defgroup eZSOAP SOAP communication library */ 00032 00033 /*! 00034 \class eZSOAPEnvelope ezsoapenvelope.php 00035 \ingroup eZSOAP 00036 \brief SOAP envelope handling and definition 00037 00038 */ 00039 00040 include_once( "lib/ezxml/classes/ezxml.php" ); 00041 00042 include_once( "lib/ezsoap/classes/ezsoapheader.php" ); 00043 include_once( "lib/ezsoap/classes/ezsoapbody.php" ); 00044 00045 define( "EZ_SOAP_ENV", "http://schemas.xmlsoap.org/soap/envelope/" ); 00046 define( "EZ_SOAP_ENC", "http://schemas.xmlsoap.org/soap/encoding/" ); 00047 define( "EZ_SOAP_SCHEMA_INSTANCE", "http://www.w3.org/2001/XMLSchema-instance" ); 00048 define( "EZ_SOAP_SCHEMA_DATA", "http://www.w3.org/2001/XMLSchema" ); 00049 00050 define( "EZ_SOAP_ENV_PREFIX", "SOAP-ENV" ); 00051 define( "EZ_SOAP_ENC_PREFIX", "SOAP-ENC" ); 00052 define( "EZ_SOAP_XSI_PREFIX", "xsi" ); 00053 define( "EZ_SOAP_XSD_PREFIX", "xsd" ); 00054 00055 define( "EZ_SOAP_INT", 1 ); 00056 define( "EZ_SOAP_STRING", 2 ); 00057 00058 00059 class eZSOAPEnvelope 00060 { 00061 /*! 00062 Constructs a new SOAP envelope object. 00063 */ 00064 function eZSOAPEnvelope( ) 00065 { 00066 $this->Header = new eZSOAPHeader(); 00067 $this->Body = new eZSOAPBody(); 00068 } 00069 00070 /// Contains the header object 00071 var $Header; 00072 00073 /// Contains the body object 00074 var $Body; 00075 } 00076 00077 ?>
1.6.3