JAX-WS: Passing a null to a web method that List parameter for a Doc/Lit 
Wrapped Min scenario fails
---------------------------------------------------------------------------------------------------

                 Key: AXIS2-4796
                 URL: https://issues.apache.org/jira/browse/AXIS2-4796
             Project: Axis2
          Issue Type: Bug
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


Background:
JAX-WS supports Document/Literal Wrapped style operations.  The JAX-WS runtime 
uses the generated wrapper beans to marshal and unmarshal the parameters for 
the web method.
If the wrapper beans cannot be found, the JAX-WS uses an alternative marshaling 
algorithm called "Document/Literal Wrapped Minimal".

Problem:
If a scenario requires the Document/Literal Wrapped Minimal scneario and the 
user's web method passes a null object for a parameter that requires a 
java.util.List object, the marshaling will fail.

Solution:
A change is made to the existing Document/Literal Wrapped Minimal List/Array 
testing to recreate the failing scenario.
A small change is made to the Document/Literal Wrapped Minimal algorithm to 
tolerate this usage.
I am currently running tests on the solution.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to