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 "Sameera Madushan Jayasoma (JIRA)" <ji...@apache.org> on 2007/07/08 16:18:04 UTC

[jira] Created: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
------------------------------------------------------------

                 Key: AXIS2-2920
                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
             Project: Axis 2.0 (Axis2)
          Issue Type: New Feature
          Components: codegen
    Affects Versions: 1.3
            Reporter: Sameera Madushan Jayasoma


Hi all,

Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..

1. Improve the usage of annotations.
2. Support for wrapper style mapping of method parameters.

Once these things are completed this feature can be put into the actual usage.

I would like to make a humble request to you all to use this feature and let me know your comments.

Sameera jayasoma.

-- 
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-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Davanum Srinivas updated AXIS2-2920:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513526 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2920:
-----------------------------------------------------

I'll commit this once we create the branch for Axis2 1.3

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Rich Scheuerle commented on AXIS2-2920:
---------------------------------------

Hi Sameera,

Some clarification.

The Axis 2 JAX-WS engine supports several fundamental style cases.
    * SOAP 1.1 and SOAP 1.2
          document/literal bare, document/literal wrapped, and rpc/literal
    * XML/HTTP

Wrappering refers to how the java webmethod declaration is mapped to the xml.
In document/literal bare, the java method parameter is the jaxb object.
In document/literal wrapped, the java method parameters are the child elements of a jaxb object.

The JAX-WS engine has utilities to properly wrap and unwrap parameters for document/literal wrapped processing.

Wrappering is a JAX-WS concept since it deals with java webmethods syntax.
Wrappering is not a JAX-B concept.  JAX-B defines the data model only.

I can provide more details upon request.

Thanks,
Rich


   

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Sameera Madushan Jayasoma updated AXIS2-2920:
---------------------------------------------

    Attachment: jaxws_patch_08_07_2007.txt

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Madushan Jayasoma
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Sameera Jayasoma commented on AXIS2-2920:
-----------------------------------------

Hi Rich,

thanks for the clarification.

>Wrappering is a JAX-WS concept since it deals with java webmethods syntax.
>Wrappering is not a JAX-B concept. JAX-B defines the data model only.

This is true. When generating code as specified the JAX-WS specification, the contents of input and output messages are mapped to Java method parameters using the different styles: non-wrapper style and wrapper style.  In the context of WSDL2Java, non-wrapper style mapping works well with the existing JAX-B data-binding implementation. 

When we use -uw option with ADB databinding, it unwraps the schema element and the method parameters will be the child elements of the corresponding schema element. But AFAIK this kind of unwrapping facility is not yet implemented in JAX-B databinding. In order to support wrapper style mapping of method parameters in JAX-WS, this unwrapping facility in JAX-B is needed.

Please correct me if I am wrong. 

Thanks
Sameera

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Sameera Jayasoma commented on AXIS2-2920:
-----------------------------------------

add following options to generate code which conforms to JAX-WS 2.0 specification.

-d jaxbri -l jax-ws   //this is a temporary solution. 

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Sameera Jayasoma commented on AXIS2-2920:
-----------------------------------------

Does jaxbri support unwrapping?. AFAIK it does not support unwrapping. 

In order to implement the support for wrapper style mapping of method parameters in JAXWS, jaxbri needs to support unwrapping.

Is there any plans to implement this feature for jaxbri ?

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516677 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2920:
-----------------------------------------------------

Sorry for the delay. we have to wait util the branch is cut and I was very busy last week.
I applied your patch. please take a new build. thanks sameera.

I generated code with a simple wsdl and it generated the code. I'll have more inputs and give you a feed back. Please keep on adding patches.

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Commented: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Nick Gallardo commented on AXIS2-2920:
--------------------------------------

Note: the JAX-WS runtime already supports both wrapper and non-wrapper style generated artifacts.  

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

-- 
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] Resolved: (AXIS2-2920) JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator

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

Amila Chinthaka Suriarachchi resolved AXIS2-2920.
-------------------------------------------------

    Resolution: Fixed

> JAX-WS 2.0 support for Apache Axis2 WSDL2Java Code Generator
> ------------------------------------------------------------
>
>                 Key: AXIS2-2920
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2920
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Sameera Jayasoma
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: jaxws_patch_08_07_2007.txt
>
>
> Hi all,
> Herewith I have attached a patch which will enable WSDL2Java to generate code based on JAX-WS 2.0 standard. I would like to mark this as experimental because there are several thins to be completed..
> 1. Improve the usage of annotations.
> 2. Support for wrapper style mapping of method parameters.
> Once these things are completed this feature can be put into the actual usage.
> I would like to make a humble request to you all to use this feature and let me know your comments.
> Sameera jayasoma.

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