Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-525

wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5 Beta
    • 1.5 Final
    • WSDL processing - RPC
    • None

    Description

      Hi

      the following type:
      <xs:complexType name="QualifierType">
      <xs:sequence>
      <xs:element name="qualifier-name" type="xs:string"/>
      <xs:any namespace="##any" processContents="lax" minOccurs="0"/>
      </xs:sequence>
      </xs:complexType>

      generates for a server side, the class

      /*

      • This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
      • This file contains functions to manipulate complex type QualifierType
        */

      #if !defined(_QUALIFIERTYPE_PARAM_HINCLUDED)
      #define _QUALIFIERTYPE_PARAM_HINCLUDED

      #include <axis/AxisUserAPI.hpp>
      AXIS_CPP_NAMESPACE_USE

      /Local name and the URI for the type/
      static const char* Axis_URI_QualifierType = "http://www.webservicestransactions.org/schemas/wstxn/2003/03";
      static const char* Axis_TypeName_QualifierType = "QualifierType";

      class STORAGE_CLASS_INFO QualifierType
      {
      public:
      xsd__string qualifier-name;
      AnyType* any;
      QualifierType();
      ~QualifierType();
      };

      #endif /* !defined(_QUALIFIERTYPE_PARAM_HINCLUDED)*/

      which does not compile due to the class member: qualifier-name

      Regards

      FA

      Attachments

        1. WS-CAF.zip
          1.38 MB
          Francis ANDRE
        2. ComplexTypeAll.wsdl
          2 kB
          Chinthana Dinapala
        3. changes.zip
          3 kB
          Chinthana Dinapala

        Activity

          People

            samisa Don Samisa Abeysinghe
            francisandre Francis ANDRE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: