java.util.Queue is not supported as web service operation parameter
-------------------------------------------------------------------

                 Key: XFIRE-781
                 URL: http://jira.codehaus.org/browse/XFIRE-781
             Project: XFire
          Issue Type: Bug
    Affects Versions: 1.2.2
         Environment: Windows 2003,XFire 1.2.2, jboss-4.0.3SP1
            Reporter: Victor Trakhtenberg
         Assigned To: Dan Diephouse
         Attachments: ArrayListSRVWS.java, ArrayListSRVWS.java

Hello,
I've developed a web service using XFire JSR181.

the return type of the operation is: Queue<String>
and I get 
java.lang.ClassCastException: java.util.ArrayList
        at $Proxy7.getstrList(Unknown Source)
        at com.jacada.ArrayListSRVClient.getstrList(ArrayListSRVClient.java:31)
        at com.jacada.ArrayListTestClient.testWab1(ArrayListTestClient.java:21)
        at com.jacada.ArrayListTestClient.main(ArrayListTestClient.java:30)

I understand that java.util.Queue is not supported as parameter.

Please see attached the WS interface: ArrayListSRVWS.java
and implementation: ArrayListSRVImpl.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to