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

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

    [ 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