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 "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org> on 2006/11/23 05:28:01 UTC

[jira] Created: (AXIS2-1762) "org.apache.axiom.om.OMElement" inside generated C code using WSDL2C tool

"org.apache.axiom.om.OMElement" inside generated C code using WSDL2C  tool
--------------------------------------------------------------------------

                 Key: AXIS2-1762
                 URL: http://issues.apache.org/jira/browse/AXIS2-1762
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Milinda Lakmal Pathirage


When I use Axis2 Java Code Generation tool to generate server side
code for DataHandlerService.wsdl (see the attachment) with data
binding adb, it generates code that has Java Default Class name inside
some C source and header file which cause some compilation errors.

Example:




 struct axis2_echoContent_impl

 {

 axis2_echoContent_t echoContent;

 axis2_qname_t* qname;

 org.apache.axiom.om.OMElement attrib_arg_0_2;

 };




 /**

 * setter for arg_0_2

 */

 axis2_status_t AXIS2_CALL

 axis2_echoContent_set_arg_0_2(

 axis2_echoContent_t* echoContent,

 const axis2_env_t *env,

 org.apache.axiom.om.OMElement param_arg_0_2);




I figured out that this error occur, because there are language
specific DEFAULT_CLASS_NAME, DEFAULT_CLASS_ARRAY_NAME,
DEFAULT_ATTRIB_CLASS_NAME and DEFAULT_ATTRIB_ARRAY_CLASS_NAME final
Strings are declared inside the
org.apache.axis2.schema.SchemaCompiler.

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1762) "org.apache.axiom.om.OMElement" inside generated C code using WSDL2C tool

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1762?page=all ]

Amila Chinthaka Suriarachchi resolved AXIS2-1762.
-------------------------------------------------

    Resolution: Fixed

applied the patch (revision 478499). thanks milinda

> "org.apache.axiom.om.OMElement" inside generated C code using WSDL2C  tool
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-1762
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1762
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: modification.patch
>
>
> When I use Axis2 Java Code Generation tool to generate server side
> code for DataHandlerService.wsdl (see the attachment) with data
> binding adb, it generates code that has Java Default Class name inside
> some C source and header file which cause some compilation errors.
> Example:
>  struct axis2_echoContent_impl
>  {
>  axis2_echoContent_t echoContent;
>  axis2_qname_t* qname;
>  org.apache.axiom.om.OMElement attrib_arg_0_2;
>  };
>  /**
>  * setter for arg_0_2
>  */
>  axis2_status_t AXIS2_CALL
>  axis2_echoContent_set_arg_0_2(
>  axis2_echoContent_t* echoContent,
>  const axis2_env_t *env,
>  org.apache.axiom.om.OMElement param_arg_0_2);
> I figured out that this error occur, because there are language
> specific DEFAULT_CLASS_NAME, DEFAULT_CLASS_ARRAY_NAME,
> DEFAULT_ATTRIB_CLASS_NAME and DEFAULT_ATTRIB_ARRAY_CLASS_NAME final
> Strings are declared inside the
> org.apache.axis2.schema.SchemaCompiler.

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1762) "org.apache.axiom.om.OMElement" inside generated C code using WSDL2C tool

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

Milinda Lakmal Pathirage updated AXIS2-1762:
--------------------------------------------

    Attachment: modification.patch

This patch fixes the above error by introducing new methods to BeanWriter interface and removing some stuffs in SchemaCompiler


> "org.apache.axiom.om.OMElement" inside generated C code using WSDL2C  tool
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-1762
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1762
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: modification.patch
>
>
> When I use Axis2 Java Code Generation tool to generate server side
> code for DataHandlerService.wsdl (see the attachment) with data
> binding adb, it generates code that has Java Default Class name inside
> some C source and header file which cause some compilation errors.
> Example:
>  struct axis2_echoContent_impl
>  {
>  axis2_echoContent_t echoContent;
>  axis2_qname_t* qname;
>  org.apache.axiom.om.OMElement attrib_arg_0_2;
>  };
>  /**
>  * setter for arg_0_2
>  */
>  axis2_status_t AXIS2_CALL
>  axis2_echoContent_set_arg_0_2(
>  axis2_echoContent_t* echoContent,
>  const axis2_env_t *env,
>  org.apache.axiom.om.OMElement param_arg_0_2);
> I figured out that this error occur, because there are language
> specific DEFAULT_CLASS_NAME, DEFAULT_CLASS_ARRAY_NAME,
> DEFAULT_ATTRIB_CLASS_NAME and DEFAULT_ATTRIB_ARRAY_CLASS_NAME final
> Strings are declared inside the
> org.apache.axis2.schema.SchemaCompiler.

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org