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:34:03 UTC
[jira] Updated: (AXIS2-1762) "org.apache.axiom.om.OMElement" inside
generated C code using WSDL2C tool
[ 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