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 "NandanaMihindukulasooriya (JIRA)" <ji...@apache.org> on 2006/07/17 08:21:13 UTC

[jira] Created: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
-------------------------------------------------------------------------

                 Key: AXIS2-900
                 URL: http://issues.apache.org/jira/browse/AXIS2-900
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
            Reporter: NandanaMihindukulasooriya


These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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] Commented: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-900?page=comments#action_12421597 ] 
            
Davanum Srinivas commented on AXIS2-900:
----------------------------------------

Nandana,

According to this page:
http://sourceforge.net/mailarchive/forum.php?thread_id=14580953&forum_id=13102

You can use "javax.xml.@namespace.QName" instead of "javax.xml.namespace.QName" to overcode the reserved keyword problem.

Could you please try that and if that works submit a new set of sources/diffs?

thanks,
dims

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen_src.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

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

NandanaMihindukulasooriya updated AXIS2-900:
--------------------------------------------

    Attachment: csharp_codegen_src_2.tar.gz

Thanks dims,  it worked . So I removed to QNameWrapper class and and changed the templates to use  javax.xml.@namespace.QName instead of javax.xml.namespace.QName. 

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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] Commented: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "NandanaMihindukulasooriya (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-900?page=comments#action_12421531 ] 
            
NandanaMihindukulasooriya commented on AXIS2-900:
-------------------------------------------------

These files are attached .

Java Class Files

CSharpEmitter.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter

CSharpBeanWriter.java
Should be added to: 
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/writer

CSharpTypeMap.java
Should be added to: 
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/typemap
// This type map is used to convert xsd types in to CLR types

CSharpUtils.java
Should be added to: 
java_src_root/modules/common/src/org/apache/axis2/util
// This class is used to avoid C# keywords when creating C# class names 

QNameWrapper.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/csharp
// This class is used as a wrapper class as we can't use 
// javax.xml.namespace.QName as namespace is a keyword in c sharp

SchemaCompilerPropertiesExtension.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension
// This class is used to set org.apache.adb.properties property according the 
// output language selected
// Alternative :  -Dorg.apache.adb.properties=/org/apache/axis2/schema/csharp-schem-compile.properties 


XSL Templates

CallbackHandlerTemplate.xsl
InterfaceImplementationTemplate.xsl
InterfaceTemplate.xsl
Should be added to:
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/template/csharp
// Code generation templates , as for the time being these templates use 
// appropriate java writers. Will implement writers if necessary

CSHARPADBBeanTemplate.xsl
Should be added to:
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/template
// Bean template for abd code generation

Properties Files

codegen-config.properties
Should be added to:
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen

csharp-schema-compile.properties
Should be added to:
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema


> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen_src.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

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

NandanaMihindukulasooriya updated AXIS2-900:
--------------------------------------------

    Attachment: csharp_codegen_src.tar.gz

Java Class Files

CSharpEmitter.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter

CSharpBeanWriter.java
Should be added to: 
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/writer

CSharpTypeMap.java
Should be added to: 
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/typemap
// This type map is used to convert xsd types in to CLR types

CSharpUtils.java
Should be added to: 
java_src_root/modules/common/src/org/apache/axis2/util
// This class is used to avoid C# keywords when creating C# class names 

QNameWrapper.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/csharp
// This class is used as a wrapper class as we can't use 
// javax.xml.namespace.QName as namespace is a keyword in c sharp

SchemaCompilerPropertiesExtension.java
Should be added to: 
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/extension
// This class is used to set org.apache.adb.properties property according the 
// output language selected
// Alternative :  //-Dorg.apache.adb.properties=/org/apache/axis2/schema/csharp-schem-compile.properties 


XSL Templates

CallbackHandlerTemplate.xsl
InterfaceImplementationTemplate.xsl
InterfaceTemplate.xsl
Should be added to:
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen/template/csharp
// Code generation templates , as for the time being these templates use 
// appropriate java writers. Will implement writers if necessary

CSHARPADBBeanTemplate.xsl
Should be added to:
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema/template
// Bean template for abd code generation

Properties Files

codegen-config.properties
Should be added to:
java_src_root/modules/codegen/src/org/apache/axis2/wsdl/codegen

csharp-schema-compile.properties
Should be added to:
java_src_root/modules/adb-codegen/src/org/apache/axis2/schema


> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen_src.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-900.
------------------------------------

    Resolution: Won't Fix

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: https://issues.apache.org/jira/browse/AXIS2-900
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: NandanaMihindukulasooriya
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: csharp_codegen.rar, csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-900?page=all ]

Davanum Srinivas updated AXIS2-900:
-----------------------------------

    Component/s: codegen

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen.rar, csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

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

NandanaMihindukulasooriya updated AXIS2-900:
--------------------------------------------

    Attachment: csharp_codegen.rar

Files 

Constants.java
modules\codegen\src\org\apache\axis2\wsdl\util
Added the href key  "csharp-databindsupporter" which is used in the InterfaceImplementationTemplate.xsl

ExtensionUtility.java
\modules\adb-codegen\src\org\apache\axis2\schema
Added the template location to be used with XSLTIncludeResolver as a codegen cofigeration property when databinding framework is ADB

SchemaCompilerPropertiesExtension.java
modules\codegen\src\org\apache\axis2\wsdl\codegen\extension
Added the template location to be used with XSLTIncludeResolver as codegen configuration property when data-binding framework is none, Alternative was to put this in the DefaultDatabindingExtension but as this was C# specific property, it was set in SchemaCompilerPropertiesExtension.

CSharpADBDatabindingTemplate.xsl
CSHARPADBBeanTemplate.xsl
modules\adb-codegen\src\org\apache\axis2\schema\template
These are the templates which will be included when the databinding framework is ADB

NoneDatabindingTemplate.xsl
modules\codegen\src\org\apache\axis2\wsdl\template\csharp
This template will be included if the databinding framework is none

InterfaceImplementationTemplate.xsl
modules\codegen\src\org\apache\axis2\wsdl\template\csharp
Core template for the interface implementation code generation


> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: http://issues.apache.org/jira/browse/AXIS2-900
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: NandanaMihindukulasooriya
>         Attachments: csharp_codegen.rar, csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
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] Commented: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486990 ] 

Davanum Srinivas commented on AXIS2-900:
----------------------------------------

Unless we get a fresh patch against latest svn. we wont' be able to fix this.

-- dims

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: https://issues.apache.org/jira/browse/AXIS2-900
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: NandanaMihindukulasooriya
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: csharp_codegen.rar, csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-900) Support C# Stub code generation using WSDLs using Axis2/Java codegen tool

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-900:
-----------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Support C# Stub code generation using WSDLs using Axis2/Java codegen tool
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-900
>                 URL: https://issues.apache.org/jira/browse/AXIS2-900
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>            Reporter: NandanaMihindukulasooriya
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: csharp_codegen.rar, csharp_codegen_src.tar.gz, csharp_codegen_src_2.tar.gz
>
>
> These java files and xsl templates will extend the functionality of the Axis2-Java WSDL2Java code generation tool to generate C# client stubs. ADB databinding also supported.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org