[ http://issues.apache.org/jira/browse/AXIS2C-198?page=all ]

Dimuthu Chathuranga updated AXIS2C-198:
---------------------------------------

    Attachment: attachement.tar.gz

Hi,

    This contain intial code for support databinding for the axis2/c 
codegeneration tool which I was doing for Google summer of code project.
Currently Implemented features:
1. simple types ( *without* restriction)
2. complexTypes  Sequence and All( *without* complexContent 
extension/restriction)
3. attributesGroups 

Here I m attaching the changes to WSDL2Java C codegeneration templates and 
CEmitter, CStructWriter classes to use
 the same templates as the wsdl2c tool to generate code. Since the OO design 
used by Axis2/C is going to change,
Java templates can be used to generate code compatible with 0.93 release.

In addition to these patches  patches in JIRA -232 and JIRA-251 should be 
applied to compile and run axis2/c wsdl2c tool with databinding support.


The attachment contatin  following files

svn_diff_xml_schema - simple changes in xml_schema ( some correction to 
xml_schema macros)
                      This should be applied to run codegen with schema
                      diff Taken from xml_schema source root

c_svn_diff - changes in Axis2/C codegen tool currently in the svn
             diff Taken from Axis2C_source_root/tools/codegen

schema.tar.bz2 - code for databinding support

java_codegen_svn_diff - changes in the WSDL2Java codegen
                        diff Taken from 
Java_source_root/modules/codegen/src/org/apache/axis2/wsdl

java_schema_svn_diff  - changes for Databinding support using java tool
                        diff Taken from 
Java_source_root/modules/adb-codegen/src/org/apache/axis2/schema

demo.tar.gz  - some demostration of the generated code using Axis2/C codegen 
with databinding for both stub and skel. ( please check readme files)

Thank you
Dimuthu


> WSDL2C Code generation tool ( C Implementation )
> ------------------------------------------------
>
>                 Key: AXIS2C-198
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-198
>             Project: Axis2-C
>          Issue Type: New Feature
>    Affects Versions: Current (Nightly)
>         Environment: Windows / Linux
>            Reporter: Dimuthu Chathuranga
>            Priority: Minor
>         Attachments: attachement.tar.gz, Calculator.wsdl, 
> Calculator_changed.wsdl, codegen.tar.bz, codegen.tar.bz2, codegen.tar.bz2, 
> codegen.tar.bz2, codegen.tar.gz, codegen.tar.gz, codegen.tar.gz, 
> w2c_demo.tar.gz
>
>
> WSDL2C code generation tool would be implemented following the same 
> architecture of the Axis2/Java WSDL2Java tool.
> As discussed in axis-c dev mailing list it will be using following components
> XSLT Parser - both libxslt(http://xmlsoft.org/XSLT/intro.html)  and apache 
> Xalan ( build option to change the parser)
> WSDL Parser - Woden/C
> OM - Axiom/C
> In addition to these components, it would use axis2 util libraries for 
> utility functions.

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

Reply via email to