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 "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org> on 2006/10/19 08:02:34 UTC

[jira] Created: (AXIS2C-355) When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type

When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type
--------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-355
                 URL: http://issues.apache.org/jira/browse/AXIS2C-355
             Project: Axis2-C
          Issue Type: Bug
          Components: code generation
            Reporter: Milinda Lakmal Pathirage


The generated code is like this

 axiom_node_t* axis2_skel_AllTest_echoAll (const axis2_env_t *env  ,
                                              org.apache.axiom.om.OMElement param0 )
        {
          /* TODO fill this with the necessary business logic */
          return NULL;
        }

{
         /* depending on the function name invoke the
          * corresponding  method
          */

          axiom_element_t *element = NULL;
          axiom_node_t *ret_node = NULL;

          
            axiom_node_t* ret_val1;
            org.apache.axiom.om.OMElement input_val1_1;
            
          if (content_node)
	      {
            if (AXIOM_NODE_GET_NODE_TYPE(content_node, env) == AXIOM_ELEMENT)
            {


-- 
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] Resolved: (AXIS2C-355) When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-355?page=all ]

Dinesh Premalal resolved AXIS2C-355.
------------------------------------

    Fix Version/s: 0.96
       Resolution: Fixed

this issue is fixed by the patch submitted by Milinda for axis2c-365

> When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-355
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-355
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>            Reporter: Milinda Lakmal Pathirage
>             Fix For: 0.96
>
>         Attachments: newPatch.txt, patch.txt
>
>
> The generated code is like this
>  axiom_node_t* axis2_skel_AllTest_echoAll (const axis2_env_t *env  ,
>                                               org.apache.axiom.om.OMElement param0 )
>         {
>           /* TODO fill this with the necessary business logic */
>           return NULL;
>         }
> {
>          /* depending on the function name invoke the
>           * corresponding  method
>           */
>           axiom_element_t *element = NULL;
>           axiom_node_t *ret_node = NULL;
>           
>             axiom_node_t* ret_val1;
>             org.apache.axiom.om.OMElement input_val1_1;
>             
>           if (content_node)
> 	      {
>             if (AXIOM_NODE_GET_NODE_TYPE(content_node, env) == AXIOM_ELEMENT)
>             {

-- 
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] Updated: (AXIS2C-355) When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type

Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-355?page=all ]

Milinda Lakmal Pathirage updated AXIS2C-355:
--------------------------------------------

    Attachment: patch.txt

Bug fixed with some modification to DefaultDatabindingExtension class, WSDL2C class and include new class CDefaultTypeMapper  and patch.txt is attached

> When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-355
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-355
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: patch.txt
>
>
> The generated code is like this
>  axiom_node_t* axis2_skel_AllTest_echoAll (const axis2_env_t *env  ,
>                                               org.apache.axiom.om.OMElement param0 )
>         {
>           /* TODO fill this with the necessary business logic */
>           return NULL;
>         }
> {
>          /* depending on the function name invoke the
>           * corresponding  method
>           */
>           axiom_element_t *element = NULL;
>           axiom_node_t *ret_node = NULL;
>           
>             axiom_node_t* ret_val1;
>             org.apache.axiom.om.OMElement input_val1_1;
>             
>           if (content_node)
> 	      {
>             if (AXIOM_NODE_GET_NODE_TYPE(content_node, env) == AXIOM_ELEMENT)
>             {

-- 
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] Updated: (AXIS2C-355) When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type

Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-355?page=all ]

Milinda Lakmal Pathirage updated AXIS2C-355:
--------------------------------------------

    Attachment: newPatch.txt

New patch after svn up

> When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-355
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-355
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: newPatch.txt, patch.txt
>
>
> The generated code is like this
>  axiom_node_t* axis2_skel_AllTest_echoAll (const axis2_env_t *env  ,
>                                               org.apache.axiom.om.OMElement param0 )
>         {
>           /* TODO fill this with the necessary business logic */
>           return NULL;
>         }
> {
>          /* depending on the function name invoke the
>           * corresponding  method
>           */
>           axiom_element_t *element = NULL;
>           axiom_node_t *ret_node = NULL;
>           
>             axiom_node_t* ret_val1;
>             org.apache.axiom.om.OMElement input_val1_1;
>             
>           if (content_node)
> 	      {
>             if (AXIOM_NODE_GET_NODE_TYPE(content_node, env) == AXIOM_ELEMENT)
>             {

-- 
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: (AXIS2C-355) When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-355?page=comments#action_12443474 ] 
            
Thilina Gunarathne commented on AXIS2C-355:
-------------------------------------------

Hi Milinda,
Looks like we have a problem with the patch... It has conflicts...
Please do a svn up and then create a new patch...

Thanks,
Thilina

> When use code generation tool with data binding null for c code gen it generates code that has java class name as parameter type
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-355
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-355
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: patch.txt
>
>
> The generated code is like this
>  axiom_node_t* axis2_skel_AllTest_echoAll (const axis2_env_t *env  ,
>                                               org.apache.axiom.om.OMElement param0 )
>         {
>           /* TODO fill this with the necessary business logic */
>           return NULL;
>         }
> {
>          /* depending on the function name invoke the
>           * corresponding  method
>           */
>           axiom_element_t *element = NULL;
>           axiom_node_t *ret_node = NULL;
>           
>             axiom_node_t* ret_val1;
>             org.apache.axiom.om.OMElement input_val1_1;
>             
>           if (content_node)
> 	      {
>             if (AXIOM_NODE_GET_NODE_TYPE(content_node, env) == AXIOM_ELEMENT)
>             {

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