I'm sorry for the disparity of opinion here, but I have to quibble
with both of my colleagues. Aegis works fine with JAX-WS. If you've
got a case in which it fails, please file a JIRA. I can see Glen's
point that working with standards to start out has advantages, but
maps in JAX-B are a giant pain. We have no intention of 'deprecating'
Aegis or removing it. It might be CXF-specific, but it's not legacy. I
personally don't understand why the people at Snoracle can't be
bothered to enhance the standards to be less annoying (not to mention
advancing to XML 1.1).



On Thu, Jan 19, 2012 at 10:31 AM, Glen Mazza <[email protected]> wrote:
> Since you're a newbie starting out, I would be inclined to recommend working
> with standard JAX-WS and JAXB, it's what seemingly 90% use and you shouldn't
> have much problem implementing your business needs with it (Article #2 here
> will provide much of the non-JAXB boilerplate for you:
> http://www.jroller.com/gmazza/entry/blog_article_index, also article #46 for
> JAXB might help.)
>
> With googling the map/collection on JAXB issue can be resolved
> (http://blog.bdoughan.com/2010/09/jaxb-collection-properties.html, for
> example, of many such links), and sticking with these two also give you
> portability to other web service stacks like Metro if desired.  And a much
> greater proportion of user's list readers will be able to answer your
> questions that way.
>
> While they have their supporters, the simple front end and Aegis are legacy
> CXF-specific architectures.  It's possible, but I would say you would have a
> unusually rare business need if starting off with those two would be
> suggested.
>
> Glen
>
>
> On 01/19/2012 09:21 AM, Marc SCHNEIDER wrote:
>>
>> Thanks for your answer,
>>
>> Ok I'd rather use Aegis because it supports maps and collections out
>> of the box. So I'll switch to the simple frontend.
>>
>> Marc.
>>
>> On Thu, Jan 19, 2012 at 11:35 AM, Hannes Holtzhausen
>> <[email protected]>  wrote:
>>>
>>> Try using the JAXB databinding.
>>>
>>> CXF prefers:
>>>
>>> Simple Frontend ->  Aegis databinding
>>> JaxWs Frontend ->  JAXB databinding
>>>
>>>
>>> On Thu, Jan 19, 2012 at 12:20 PM, Marc SCHNEIDER
>>> <[email protected]>  wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm a newbie to cxf and I try to call a web service method with a
>>>> parameter but this one is not taken in account (null is received).
>>>>
>>>> I'm using :
>>>> cxf 2.5.1 with jax-ws front end
>>>> aegis databinding
>>>> spring 3.0.6
>>>>
>>>> Here is my Spring configuration :
>>>> http://pastebin.com/zJnAbF4n
>>>>
>>>> Java web service classes :
>>>> http://pastebin.com/jcdqiCUT
>>>>
>>>> So when calling the uniqueValues method, the fieldName parameter is
>>>> not taken in account.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks in advance,
>>>> Marc.
>
>

Reply via email to