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

[jira] Commented: (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=12787179#action_12787179 ] 

Daniel Kulp commented on CXF-2569:
----------------------------------


Can you create a testcase for this?    CXF never uses the ObjectFactory things.    All of that stuff is delegated down to JAXB.   Thus, I'd like to see a testcase to see what is happening.

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