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 "Nick Gallardo (JIRA)" <ji...@apache.org> on 2007/02/09 20:29:06 UTC

[jira] Created: (AXIS2-2155) Wrapped marshall/unmarshall without wrapper beans

Wrapped marshall/unmarshall without wrapper beans
-------------------------------------------------

                 Key: AXIS2-2155
                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nick Gallardo
         Assigned To: Nick Gallardo


We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.



-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle updated AXIS2-2155:
----------------------------------

    Attachment: patch5.txt

Added a test with a checked exception that is a compliant JAXWS exception.  
Using a compliant JAXWS exception is the reccommended usage.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt, patch4.txt, patch5.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle updated AXIS2-2155:
----------------------------------

    Attachment: patch3.txt

Added the following tests:
   * Unqualified element test
   * test that throws checked exception, WebServiceException, NPE

The checked exception test is initially not supported (it catches a non-support error).


> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle commented on AXIS2-2155:
---------------------------------------

Committed patch2.txt: revision 509869.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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] Assigned: (AXIS2-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle reassigned AXIS2-2155:
-------------------------------------

    Assignee: Rich Scheuerle  (was: Nick Gallardo)

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle commented on AXIS2-2155:
---------------------------------------

Committed patch3.text: revision 510104.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle resolved AXIS2-2155.
-----------------------------------

    Resolution: Fixed

Completed Initial Support

Committed revision 510367.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt, patch4.txt, patch5.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle updated AXIS2-2155:
----------------------------------

    Attachment: patch4.txt

Added a test that demonstrates support for a checked exception when a corresponding
JAXB bean is provided.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt, patch4.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle updated AXIS2-2155:
----------------------------------

    Attachment: patch2.txt

For this patch, I fixed up the DocLitMinimalMethodMarshaller processing.
The marshaller:
   1) Correctly marshals an element that has the correct name and namespace of the wrapper request/response.
   2) Correctly marshals the names of the child elements (params).  The testcase uses elementFormDefault=qualified.  We need to test this with unqualified.
   3) Correctly marshals and unmarshals the child elements (params).  It uses "JAXB type" marshalling/unmarshalling to do this.
   4) Added a Dispatch test to validate the elements that flow on the wire.

What is still missing.
    A) Similar processing for missing fault beans.
    B) Tests for qualified and unqualified child elements.
    C) Tests for parameters that are JAXB types.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle updated AXIS2-2155:
----------------------------------

    Attachment: patch.txt

Here is the first part of my work on this issue.

I will check this patch in soon.

Included in this patch:
   1) A stripped down Greeter test that is doc/lit wrapped but does not contain "wrapper classes".
   2)  A DocLitWrappedMinimalMethodMarshaller....Initially this is just a copy of the RPC marshaller...so it is incorrect.
   3) Code to detect the missing wrapper classes and automatically invoke the DocLitWrappedMinimalMethodMarshaller.

---------------------------------
Next steps.
    A) Add more tests...especially dispatch client tests to validate the message.
    B) Change the DocLitWrappedMinimalMethodMarshaller (and other code) to marshal/unmarshal correctly.
    C) Add similar processing for faults.



> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

-- 
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-2155) Wrapped marshall/unmarshall without wrapper beans

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

Rich Scheuerle commented on AXIS2-2155:
---------------------------------------

First Patch Committed.  Committed revision 509789.

> Wrapped marshall/unmarshall without wrapper beans
> -------------------------------------------------
>
>                 Key: AXIS2-2155
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2155
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nick Gallardo
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt
>
>
> We need to see if it is possible to add functionality to the JAX-WS MethodMarshallers that would allow a wrapped message to be marshalled or unmarshalled without the use of generated wrapper beans.

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