You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "benson margulies (JIRA)" <ji...@apache.org> on 2007/09/19 04:00:43 UTC
[jira] Created: (CXF-1036) Fault when trying to receive a Map from
a service using Aegis
Fault when trying to receive a Map from a service using Aegis
-------------------------------------------------------------
Key: CXF-1036
URL: https://issues.apache.org/jira/browse/CXF-1036
Project: CXF
Issue Type: Bug
Components: Aegis Databinding
Affects Versions: 2.0.2
Reporter: benson margulies
Attachments: maptest.txt
I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1036) Fault when trying to receive a Map from
a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
benson margulies updated CXF-1036:
----------------------------------
Component/s: (was: Aegis Databinding)
Soap Binding
A variation without RPC fails quite differently, so let's call this a binding problem and move right along here.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1036) Fault when trying to receive a Map from
a service using Aegis
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1036.
------------------------------
Resolution: Invalid
Fix Version/s: Invalid
Assignee: Daniel Kulp
The problem is with the test case...
The server is created with the JAX-WS frontend:
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
but the client is created with the same interface, but the simple frontend:
ClientProxyFactoryBean proxyFac = new ClientProxyFactoryBean();
If you change the client creation to:
ClientProxyFactoryBean proxyFac = new JaxWsProxyFactoryBean();
to use the jaxws frontend, the annotation is used for the namespace and the test fails in the same way as CXF-1037. Thus, I'm marking this as invalid and we'll track that bug there.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Environment: Initial observation with jdk 1.6.
> Reporter: benson margulies
> Assignee: Daniel Kulp
> Fix For: Invalid
>
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1036) Fault when trying to receive a Map
from a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528634 ]
benson margulies commented on CXF-1036:
---------------------------------------
The test case I started from is RPC/Literal, and I bet that has something to do with this failure.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.0.2
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1036) Fault when trying to receive a Map
from a service using Aegis
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528639 ]
Daniel Kulp commented on CXF-1036:
----------------------------------
For some reason, the client side is not picking up the targetNamespace from the @WebService annotation. Not sure why, but that is what's causing it. It's sending {http://map.java5.type.aegis.cxf.apache.org}getStudentsMap, but the server expects it to be {http://client.webservice.crm.ecot.com/skeleton/StudentService}getStudentsMap
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Environment: Initial observation with jdk 1.6.
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1036) Fault when trying to receive a Map
from a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528631 ]
benson margulies commented on CXF-1036:
---------------------------------------
Sep 18, 2007 9:55:29 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Message part {http://map.java5.type.aegis.cxf.apache.org}getStudentsMap was not recognized.
at org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInterceptor.java:133)
at org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCInInterceptor.java:85)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
at org.apache.cxf.transport.MultipleEndpointObserver.onMessage(MultipleEndpointObserver.java:82)
at org.apache.cxf.transport.local.LocalConduit$1.run(LocalConduit.java:131)
at java.lang.Thread.run(Unknown Source)
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.0.2
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1036) Fault when trying to receive a Map
from a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528640 ]
benson margulies commented on CXF-1036:
---------------------------------------
Hmm. Well, 1037 is a completely different beast. I still see two different namespaces in the log, but the MapType is coming up with the same Type object for both key and value and that is causing the ClassCastException.
I'm going to continue with 1037 and then move back to this if I succeed at solving that.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Environment: Initial observation with jdk 1.6.
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1036) Fault when trying to receive a Map
from a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528815 ]
benson margulies commented on CXF-1036:
---------------------------------------
I'll apply the test fix to my current version and see where that gets me with 1037. The Map<x,y> treated as <x,x> sure looks comprehensively broken in the Java code.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Environment: Initial observation with jdk 1.6.
> Reporter: benson margulies
> Assignee: Daniel Kulp
> Fix For: Invalid
>
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1036) Fault when trying to receive a Map from
a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
benson margulies updated CXF-1036:
----------------------------------
Attachment: maptest.txt
Here is an expanded version of the test for Maps. It fails, but not the way I expected it to.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.0.2
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1036) Fault when trying to receive a Map from
a service using Aegis
Posted by "benson margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
benson margulies updated CXF-1036:
----------------------------------
Environment: Initial observation with jdk 1.6.
> Fault when trying to receive a Map from a service using Aegis
> -------------------------------------------------------------
>
> Key: CXF-1036
> URL: https://issues.apache.org/jira/browse/CXF-1036
> Project: CXF
> Issue Type: Bug
> Components: Soap Binding
> Affects Versions: 2.0.2
> Environment: Initial observation with jdk 1.6.
> Reporter: benson margulies
> Attachments: maptest.txt
>
>
> I expanded the test for returning a map to actually send some data around, and it fails with a fault. I will attach the improved test case for a start.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.