You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Franz Fehringer <fe...@isogmbh.de> on 2006/01/03 15:30:28 UTC

AXISCPP-753 strikes again

Hello John,

According to my investigations AXISCPP-753 regarding anonymous types is
solved only for special cases.
The working case is
         <xs:element name="PruebaDatosCabecera"> 
            <xs:complexType> 
            ...
            </xs:complexType> 
         </xs:element> 
But if this construct is contained in another complexType wsdl2ws does it
all wrong.
With
    <xsd:complexType
xmlns="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1" name="t_Warning">
           ...
           <xsd:element name="Description">
                <xsd:complexType>
                ...
               </xsd:complexType>
           </xsd:element>
           ...
    </xsd:complexType>
wsdl2ws tries to generate an artificial type t_Warning_Description.
This fails in at least two ways:
*	The infamous gt sign reappears:
#include ">t_Warning_Description.hpp"
class >t_Warning_Description;
>t_Warning_Description* Description;
>t_Warning_Description* getDescription();
void setDescription(>t_Warning_Description* InValue);
*	Code generation is completely omitted for this artificial type, i.e.
there is no t_Warning_Description.hpp ore something alike.
The content of the "Description" element is therefore not accessible from
Axis generated source code.

Can you reopen AXISCPP-753 and have a look at it?

Thanks and best regards

Franz   

Dr. Franz Fehringer (Dipl. Math.)
____________________________________
ISO Software Systeme
Eichendorffstrasse 29
90491 Nürnberg
Deutschland

Tel. : +49/(911) - 99594-0
Fax  : +49/(911) - 99594-580

mailto:feh@isogmbh.de
http://www.isogmbh.de