Re: MTOM attachments question

2008-02-23 Thread Benson Margulies
2.0.4 doesn't know anything about xmime:expectedContentType, AFAIK. Do you have the @MTOM annotation in place to enable the threshold? On Fri, Feb 22, 2008 at 8:01 PM, Glen Mazza <[EMAIL PROTECTED]> wrote: > Some possibilities: > > 1.) From Step #5 of [1], make sure you have xmime:expectedContent

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
What version of CXF have you got? On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye <[EMAIL PROTECTED]> wrote: > The CXF document says that Aegis data binding can even works on Map. I > tried this, but it always return an empty one. Here's my testing codes. Did > I miss something? Or I need to write sp

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
I've reproduced this. On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye <[EMAIL PROTECTED]> wrote: > The CXF document says that Aegis data binding can even works on Map. I > tried this, but it always return an empty one. Here's my testing codes. Did > I miss something? Or I need to write special config

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
This is now CXF-1451. Please comment there, but mostly stand by whilst I try to make some sense of it. On Sat, Feb 23, 2008 at 1:11 PM, Benson Margulies <[EMAIL PROTECTED]> wrote: > I've reproduced this. > > On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye <[EMAIL PROTECTED]> wrote: > > > The CXF docum

Re: How to pass a HashMap

2008-02-23 Thread Benson Margulies
I'm fairly sure I see what the problem is here. You need to either declare your map with generic args, or use a .aegis.xml file to specify the types. On Fri, Feb 22, 2008 at 4:39 PM, Li, Weiye <[EMAIL PROTECTED]> wrote: > The CXF document says that Aegis data binding can even works on Map. I > tr

Re: MTOM attachments question

2008-02-23 Thread Glen Mazza
Really? Our MTOM docs mention the expectedContentType attribution in multiple places: http://cwiki.apache.org/CXF20DOC/mtom.html. I wonder if CXF could pass the TCK if it actually ignored it. Glen Am Samstag, den 23.02.2008, 12:33 -0500 schrieb Benson Margulies: > 2.0.4 doesn't know anything ab