[ 
https://issues.apache.org/jira/browse/CXF-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489594
 ] 

Freeman Fang commented on CXF-538:
----------------------------------

Chris should be correct
the RI also generate the example as wrapped style, so I believe only direct 
descendant should be checked 

> if element include wildcards such as xs:any, according to jaxws specs, should 
> not generated code using wrapper style
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-538
>                 URL: https://issues.apache.org/jira/browse/CXF-538
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Freeman Fang
>
> <element name="sayHi">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element name="port" minOccurs="0" 
> maxOccurs="unbounded">
>                             <xs:complexType>
>                                 <xs:sequence>
>                                     <xs:any namespace="##other" 
> processContents="lax"><!-- minOccurs="0" maxOccurs="unbounded"-->
>                                     </xs:any>
>                                     <!--element name="requestType" 
> type="string"/-->
>                                 </xs:sequence>
>                             </xs:complexType>
>                         </xs:element>
>                     </xs:sequence>
>                 </xs:complexType>
>             </element>
> this element include xs:any, which is a kind of wildcard, according to 
> jaxws-specs, shouldn't generate code using wrapper style

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