Wrapped operation schema element has wrong structure (JAXB+JAXWS)
-----------------------------------------------------------------

                 Key: CXF-1232
                 URL: https://issues.apache.org/jira/browse/CXF-1232
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.1
            Reporter: Benson Margulies
            Assignee: Daniel Kulp


 @WebMethod
    void beanFunction(@WebParam(name = "bean1") TestBean1 bean, 
                      @WebParam(name = "beanArray") TestBean1[] beans);


The unwrapped operation in the service model has two parts with names as 
specified by the @WebParam annotations.

However, the 'parameters' part in the wrapped operation has an XML schema that 
loses these names, and I confess that I'm not entirely sure what it would take 
to fix it.

I think that it needs two local elements that reference the appropriate complex 
types. Instead, it has two ref elements, ...

<element ref='ns:testBean1'/>
</element minOccurs='0' ref='ns:testBean1'/>

net result is two elements of the same name in the XML isn't right.



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

Reply via email to