You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Edell Nolan (JIRA)" <ji...@apache.org> on 2008/02/20 19:17:43 UTC

[jira] Created: (CXF-1444) JBIOutWrapperInterceptor fails to find objects sequentially

JBIOutWrapperInterceptor fails to find objects sequentially 
------------------------------------------------------------

                 Key: CXF-1444
                 URL: https://issues.apache.org/jira/browse/CXF-1444
             Project: CXF
          Issue Type: Bug
          Components: Integration
    Affects Versions: 2.0.2
            Reporter: Edell Nolan


I have been trying to write a use case using java first and I have deployed my service provider into servicemix and run my consumer externally. 

>From debugging the code it seems that the HolderOutInterceptor inserts the objects into an ArrayList based on the part index - which means it doesn't necessarily put the items in sequential order into the array. 

and it reads them back based on the part index also. 

As I am trying to integrate with servicemix it will use the JBIWrapperOutInterceptor.java which then attempts to get the objects from the List class in sequential order and it will fail to find any parts after the first element as it may not necessarily have put them in order.

Is there a reason why cxf adds the objects in based on the part index ?

I have attached a patch with the file updated and my use case now works. 

thanks, Edell.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1444) JBIOutWrapperInterceptor fails to find objects sequentially

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

Daniel Kulp resolved CXF-1444.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.5

> JBIOutWrapperInterceptor fails to find objects sequentially 
> ------------------------------------------------------------
>
>                 Key: CXF-1444
>                 URL: https://issues.apache.org/jira/browse/CXF-1444
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.2
>            Reporter: Edell Nolan
>            Assignee: Daniel Kulp
>             Fix For: 2.0.5
>
>         Attachments: jbiOutWrapperInterceptor.patch
>
>
> I have been trying to write a use case using java first and I have deployed my service provider into servicemix and run my consumer externally. 
> From debugging the code it seems that the HolderOutInterceptor inserts the objects into an ArrayList based on the part index - which means it doesn't necessarily put the items in sequential order into the array. 
> and it reads them back based on the part index also. 
> As I am trying to integrate with servicemix it will use the JBIWrapperOutInterceptor.java which then attempts to get the objects from the List class in sequential order and it will fail to find any parts after the first element as it may not necessarily have put them in order.
> Is there a reason why cxf adds the objects in based on the part index ?
> I have attached a patch with the file updated and my use case now works. 
> thanks, Edell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-1444) JBIOutWrapperInterceptor fails to find objects sequentially

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

Daniel Kulp reassigned CXF-1444:
--------------------------------

    Assignee: Daniel Kulp

> JBIOutWrapperInterceptor fails to find objects sequentially 
> ------------------------------------------------------------
>
>                 Key: CXF-1444
>                 URL: https://issues.apache.org/jira/browse/CXF-1444
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.2
>            Reporter: Edell Nolan
>            Assignee: Daniel Kulp
>         Attachments: jbiOutWrapperInterceptor.patch
>
>
> I have been trying to write a use case using java first and I have deployed my service provider into servicemix and run my consumer externally. 
> From debugging the code it seems that the HolderOutInterceptor inserts the objects into an ArrayList based on the part index - which means it doesn't necessarily put the items in sequential order into the array. 
> and it reads them back based on the part index also. 
> As I am trying to integrate with servicemix it will use the JBIWrapperOutInterceptor.java which then attempts to get the objects from the List class in sequential order and it will fail to find any parts after the first element as it may not necessarily have put them in order.
> Is there a reason why cxf adds the objects in based on the part index ?
> I have attached a patch with the file updated and my use case now works. 
> thanks, Edell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-1444) JBIOutWrapperInterceptor fails to find objects sequentially

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

Edell Nolan updated CXF-1444:
-----------------------------

    Attachment: jbiOutWrapperInterceptor.patch

> JBIOutWrapperInterceptor fails to find objects sequentially 
> ------------------------------------------------------------
>
>                 Key: CXF-1444
>                 URL: https://issues.apache.org/jira/browse/CXF-1444
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.2
>            Reporter: Edell Nolan
>         Attachments: jbiOutWrapperInterceptor.patch
>
>
> I have been trying to write a use case using java first and I have deployed my service provider into servicemix and run my consumer externally. 
> From debugging the code it seems that the HolderOutInterceptor inserts the objects into an ArrayList based on the part index - which means it doesn't necessarily put the items in sequential order into the array. 
> and it reads them back based on the part index also. 
> As I am trying to integrate with servicemix it will use the JBIWrapperOutInterceptor.java which then attempts to get the objects from the List class in sequential order and it will fail to find any parts after the first element as it may not necessarily have put them in order.
> Is there a reason why cxf adds the objects in based on the part index ?
> I have attached a patch with the file updated and my use case now works. 
> thanks, Edell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.