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/02 06:05:20 UTC

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

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


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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "vijay valeti (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "vijay valeti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: Stack trace.txt
                org.zip

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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2569.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.6
                   2.1.9

> 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
>    Affects Versions: 2.2.3, 2.2.4, 2.2.5
>         Environment: jdk 1.5 ,windows xp,IBM websphere server
>            Reporter: vijay valeti
>            Assignee: Daniel Kulp
>            Priority: Blocker
>             Fix For: 2.1.9, 2.2.6
>
>         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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-2569:
--------------------------------

    Assignee: Daniel Kulp

> 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
>    Affects Versions: 2.2.3, 2.2.4, 2.2.5
>         Environment: jdk 1.5 ,windows xp,IBM websphere server
>            Reporter: vijay valeti
>            Assignee: Daniel Kulp
>            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.


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

Posted by "vijay valeti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: 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.


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

Posted by "vijay valeti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Affects Version/s: 2.2.3
                       2.2.4
                       2.2.5

> 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
>    Affects Versions: 2.2.3, 2.2.4, 2.2.5
>         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.


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

Posted by "vijay valeti (JIRA)" <ji...@apache.org>.
     [ 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.