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 "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2005/09/20 12:41:28 UTC

[jira] Commented: (AXIS2-229) When using -d 0 option (that is codegen with no data binding), it has no meaning to generate databinding code

    [ http://issues.apache.org/jira/browse/AXIS2-229?page=comments#action_12329985 ] 

Ajith Harshana Ranabahu commented on AXIS2-229:
-----------------------------------------------

Since the code is generated from a template, introducing this kind of 'default' databind supporter helps to keep the template simpler :)

> When using -d 0 option (that is codegen with no data binding), it has no meaning to generate databinding code
> -------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS2-229
>          URL: http://issues.apache.org/jira/browse/AXIS2-229
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Minor

>
> With -d 0 option (that is no data binding) I see that some code is generated in the databinding subdolder.
> I get some code similar to :
> public  static org.apache.axis2.om.OMElement  toOM(org.apache.axis2.om.OMElement param){
>             //Just return the object as it is. it's supposed to be an OMElement
>                     return param;
>           }
> public static org.apache.axis2.om.OMElement fromOM(org.apache.axis2.om.OMElement param,
>                java.lang.Class type){
>                //Just return the OMElement as it is
>                return param;
>           }
> What is the use of having this param echo code here?

-- 
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