|
eZ Publish
[4.0]
|
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: 4.0.x 00010 // COPYRIGHT NOTICE: Copyright (C) 1999-2008 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 class eZSOAPEnvelope 00046 { 00047 const ENV = "http://schemas.xmlsoap.org/soap/envelope/"; 00048 const ENC = "http://schemas.xmlsoap.org/soap/encoding/"; 00049 const SCHEMA_INSTANCE = "http://www.w3.org/2001/XMLSchema-instance"; 00050 const SCHEMA_DATA = "http://www.w3.org/2001/XMLSchema"; 00051 00052 const ENV_PREFIX = "SOAP-ENV"; 00053 const ENC_PREFIX = "SOAP-ENC"; 00054 const XSI_PREFIX = "xsi"; 00055 const XSD_PREFIX = "xsd"; 00056 00057 const INT = 1; 00058 const STRING = 2; 00059 00060 /*! 00061 Constructs a new SOAP envelope object. 00062 */ 00063 function eZSOAPEnvelope( ) 00064 { 00065 $this->Header = new eZSOAPHeader(); 00066 $this->Body = new eZSOAPBody(); 00067 } 00068 00069 /// Contains the header object 00070 public $Header; 00071 00072 /// Contains the body object 00073 public $Body; 00074 } 00075 00076 ?>