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 "nadir amra (JIRA)" <ax...@ws.apache.org> on 2006/07/18 22:01:13 UTC

[jira] Created: (AXISCPP-985) Add methods to determine anonymous types and whether Type should be externalized

Add methods to determine anonymous types and whether Type should be externalized
--------------------------------------------------------------------------------

                 Key: AXISCPP-985
                 URL: http://issues.apache.org/jira/browse/AXISCPP-985
             Project: Axis-C++
          Issue Type: Improvement
          Components: Basic Architecture
    Affects Versions:  1.6 Beta
            Reporter: nadir amra
         Assigned To: nadir amra
             Fix For:  1.6 Beta


The code related to this issue is simply new infrastructure that includes:

--ability to determine if an object of class Type is an anonymous type via method isAnonymous()
--ability to indicate whether object of class Type should be generated or not via method externalize()

Due to the enhancements above, various parts of the code was changed to use the new methods instead of using code such as atype.getLanguageSpecificName().startsWith(">").

The new infrastructure is needed so that eventually the languageSpecific name can be made nicer for anonymous types (e.g.  for an anonymous type of >>Item>sometype, we currently generate __Item_sometype class.  It would be nice to generate a simpler name - such as sometype. 

In addition, the support was added in preparation to correct the problem where not all required types are being generated, as well as simplifying how we externalize a Type object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXISCPP-985) Add methods to determine anonymous types and whether Type should be externalized

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-985?page=all ]

nadir amra closed AXISCPP-985.
------------------------------

    Resolution: Fixed

Work is complete. 

> Add methods to determine anonymous types and whether Type should be externalized
> --------------------------------------------------------------------------------
>
>                 Key: AXISCPP-985
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-985
>             Project: Axis-C++
>          Issue Type: Improvement
>          Components: Basic Architecture
>    Affects Versions:  1.6 Beta
>            Reporter: nadir amra
>         Assigned To: nadir amra
>             Fix For:  1.6 Beta
>
>
> The code related to this issue is simply new infrastructure that includes:
> --ability to determine if an object of class Type is an anonymous type via method isAnonymous()
> --ability to indicate whether object of class Type should be generated or not via method externalize()
> Due to the enhancements above, various parts of the code was changed to use the new methods instead of using code such as atype.getLanguageSpecificName().startsWith(">").
> The new infrastructure is needed so that eventually the languageSpecific name can be made nicer for anonymous types (e.g.  for an anonymous type of >>Item>sometype, we currently generate __Item_sometype class.  It would be nice to generate a simpler name - such as sometype. 
> In addition, the support was added in preparation to correct the problem where not all required types are being generated, as well as simplifying how we externalize a Type object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXISCPP-985) Add methods to determine anonymous types and whether Type should be externalized

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-985?page=comments#action_12421932 ] 
            
nadir amra commented on AXISCPP-985:
------------------------------------

I also removed unneeded code and added more trace statements in the wsdl2ws tool to help in debugging what is being generated during wsdl file processing.

> Add methods to determine anonymous types and whether Type should be externalized
> --------------------------------------------------------------------------------
>
>                 Key: AXISCPP-985
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-985
>             Project: Axis-C++
>          Issue Type: Improvement
>          Components: Basic Architecture
>    Affects Versions:  1.6 Beta
>            Reporter: nadir amra
>         Assigned To: nadir amra
>             Fix For:  1.6 Beta
>
>
> The code related to this issue is simply new infrastructure that includes:
> --ability to determine if an object of class Type is an anonymous type via method isAnonymous()
> --ability to indicate whether object of class Type should be generated or not via method externalize()
> Due to the enhancements above, various parts of the code was changed to use the new methods instead of using code such as atype.getLanguageSpecificName().startsWith(">").
> The new infrastructure is needed so that eventually the languageSpecific name can be made nicer for anonymous types (e.g.  for an anonymous type of >>Item>sometype, we currently generate __Item_sometype class.  It would be nice to generate a simpler name - such as sometype. 
> In addition, the support was added in preparation to correct the problem where not all required types are being generated, as well as simplifying how we externalize a Type object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org