[ 
https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

vijay valeti updated CXF-2569:
------------------------------

    Attachment: org.zip

> Consuming a wsdl file which is having a nested complex types in xsd
> -------------------------------------------------------------------
>
>                 Key: CXF-2569
>                 URL: https://issues.apache.org/jira/browse/CXF-2569
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>         Environment: jdk 1.5 ,windows xp,IBM websphere server
>            Reporter: vijay valeti
>            Priority: Blocker
>         Attachments: org.zip, Stack trace.txt
>
>   Original Estimate: 0.03h
>  Remaining Estimate: 0.03h
>
> When we are trying to consume a wsdl file which is having a nested complex 
> type xsd element we are getting an exception
> IllegalArgumentException:Wrong Number of Arguments provided
> when ever you have a nested complex type in xsd,in the ObjectFactory.java 
> class will be having two create methods for the nested element.i feel cxf is 
> not implemented properly to handle this kind of situation . i believe that 
> cxf developers/community assuemd that there wont be any overloaded create 
> methods in the OBjectFactory.java class
> sample XSD
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element>
> <xsd:complexType name="testList">
> <xsd:sequence>
> <xsd:element name="test" type="xsd:string" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:element>
> <xsd:element  name="name"  type="xsd:string"/>
> </xsd:sequence>
> </xsd:complexType>

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