Using wsdl2java of cxf to generate set method of List attribute of POJO

2010-04-23 Thread HeJam
Hi All, Does any one know ways to generate the set mothed of List attribute of POJO when using the wsdl2java funciton of cxf? Thanks! Jam _ 想知道明天天气如何?必应告诉你! http://cn.bing.com/searc

Re: Using wsdl2java of cxf to generate set method of List attribute of POJO

2010-04-23 Thread Glen Mazza
Hmmm...I don't think that's allowed. If I recall the JAXB spec correctly, you're supposed to get() the list and add elements to it. CXF uses Sun's JAXB library, so that's the way it works. Glen HeJam wrote: > > Hi All, > > Does any one know ways to generate the set mothed of List attribute

Re: Support for using JMS MessageID as CorrelationID

2010-04-23 Thread Willem Jiang
Hi Seumas, I'm sorry to reply your mail so late, please check out my comments in the mail. Seumas Soltysik wrote: There are a couple of elements in the JMSConduit code on the trunk that are troublesome. First of all there is the use of the outstandingAsync data member. Effectively it keeps t

Re: Using WS-Security UsernameToken to authenticate users and populate SecurityContexts

2010-04-23 Thread Sergey Beryozkin
Hi David I've been thinking a bit more about your idea. As I said it looks interesting but what have not quite understood is how you're planning to hide the WSS4J specifics from the interceptors further in the chain. Example, the Principal that WSS4J UT processor returns has an info about the type

RE: Using WS-Security UsernameToken to authenticate users and populate SecurityContexts

2010-04-23 Thread David Valeri
I have attached the diagrams to the ticket in JIRA. The eventual interceptor that handles a profile would be specific to the security implementation used as it ultimately needs to look at results that are in a proprietary form (WSS4J, METRO, etc.). What the framework provides is some scaffolding

Re: Using WS-Security UsernameToken to authenticate users and populate SecurityContexts

2010-04-23 Thread Sergey Beryozkin
On Fri, Apr 23, 2010 at 2:53 PM, David Valeri wrote: > I have attached the diagrams to the ticket in JIRA. > thanks... > > The eventual interceptor that handles a profile would be specific to the > security implementation used as it ultimately needs to look at results that > are in a propriet

Re: Using wsdl2java of cxf to generate set method of List attribute of POJO

2010-04-23 Thread Daniel Kulp
There is an xjc plugin that would do it: https://jaxb2-commons.dev.java.net/collection-setter-injector/ Never tried it though. Dan On Friday 23 April 2010 5:14:44 am HeJam wrote: > Hi All, > > > > Does any one know ways to generate the set mothed of List attribute of POJO > when using the

RE: Using WS-Security UsernameToken to authenticate users and populate SecurityContexts

2010-04-23 Thread David Valeri
Good points. I think we could combine some of the things that my AbstractSecurityContextProvidingInterceptor does into the existing WSS4JInInterceptor and also hand it an AuthenticationStrategy. Where I think additional classes are still needed is with the concrete implementations of my AbstractS