You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/11/16 11:09:32 UTC

cvs commit: ws-axis/c/src/common SoapEnvVersions.cpp

samisa      2004/11/16 02:09:32

  Added:       c/src/common SoapEnvVersions.cpp
  Log:
  File containing gs_SoapEnvVersionsStruct definition.
  
  Revision  Changes    Path
  1.1                  ws-axis/c/src/common/SoapEnvVersions.cpp
  
  Index: SoapEnvVersions.cpp
  ===================================================================
  /*
   *   Copyright 2003-2004 The Apache Software Foundation.
   *
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
   *
   *       http://www.apache.org/licenses/LICENSE-2.0
   *
   *   Unless required by applicable law or agreed to in writing, software
   *   distributed under the License is distributed on an "AS IS" BASIS,
   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *   See the License for the specific language governing permissions and
   *   limitations under the License.
   *
   *
   * @author Samisa Abeysinghe (sabeysinghe@virtusa.com)
   *
   */
  
  #include <axis/server/SoapEnvVersions.hpp>
  
  SoapEnvVersionsStruct gs_SoapEnvVersionsStruct[VERSION_LAST]=
  {
      /* SOAP_VER_1_1 */
      { 
          "http://schemas.xmlsoap.org/soap/envelope/",
          "SOAP-ENV",
          {
  /*SKW_ENVELOPE*/        "Envelope",
  /*SKW_HEADER*/            "Header",
  /*SKW_BODY*/            "Body",
  /*SKW_MUSTUNDERSTAND*/    "mustUnderstand",
  /*SKW_ACTOR*/            "actor",
  /*SKW_ENCODING_STYLE*/    "encodingStyle",
  /*SKW_FAULT*/            "Fault",
  /*SKW_FAULT_CODE*/        "faultcode",
  /*SKW_FAULT_STRING*/    "faultstring",
  /*SKW_FAULT_ACTOR*/        "faultactor",
  /*SKW_DETAIL*/            "detail",
  /*SKW_MULTIREF*/        "multiRef",
  
  /*SKW_TYPE*/            "type",
  /*SKW_ARRAYTYPE*/        "arrayType",
  /*SKW_HREF*/            "href",
  /*SKW_ID*/                "id"
          },
      },
  
      /*SOAP_VER_1_2*/
      { 
          "http://www.w3.org/2003/05/soap-envelope",
          "env",
          {
  /*SKW_ENVELOPE*/        "Envelope",
  /*SKW_HEADER*/            "Header",
  /*SKW_BODY*/            "Body",
  /*SKW_MUSTUNDERSTAND*/    "mustUnderstand",
  /*SKW_ACTOR*/            "actor",
  /*SKW_ENCODING_STYLE*/    "encodingStyle",
  /*SKW_FAULT*/            "Fault",
  /*SKW_FAULT_CODE*/        "Code",
  /*SKW_FAULT_STRING*/    "Reason",
  /*SKW_FAULT_ACTOR*/        "Role",
  /*SKW_DETAIL*/            "Detail",
  /*SKW_MULTIREF*/        "multiRef",
  
  /*SKW_TYPE*/            "type",
  /*SKW_ARRAYTYPE*/        "arrayType",
  /*SKW_HREF*/            "href",
  /*SKW_ID*/                "id"
          },
      }
  };