You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "vijay valeti (JIRA)" <ji...@apache.org> on 2009/12/08 13:50:18 UTC

[jira] Issue Comment Edited: (CXF-2569) Consuming a wsdl file which is having a nested complex types in xsd

    [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787440#action_12787440 ] 

vijay valeti edited comment on CXF-2569 at 12/8/09 12:50 PM:
-------------------------------------------------------------

Added attachments...you can find the stack trace and the source for replicating the issue

      was (Author: vvvijayvaleti):
    you can find the stack trace and the source for replicating the issue
  
> 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.