[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]