Hi, I'm still looking for feedback on this in case someone has got a minute. --Erik
-----Original Message----- From: Ostermueller, Erik [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 8:30 AM To: Daniel Kulp; [email protected] Subject: RE: [revisiting] jax-ws @WebParam "Required" annotation? With our setup, CXFServlet loads with web.xml. I'm thinking I should subclass CXFServlet and then configure the services (like you showed me below) in that subclass after my beans.xml is loaded. Does that sound right? -----Original Message----- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:21 PM To: [email protected] Cc: Ostermueller, Erik Subject: Re: [revisiting] jax-ws @WebParam "Required" annotation? If you use the ServerFactoryBeans (and not just "Endpoint.publish(...)"), you can call: factory.getServiceFactory().getConfigurations() or setConfigurations() to manipulate the list of configurations. In general, you would do something like: factory.getServiceFactory().getConfigurations().add(0, yourConfig); Dan On Monday 27 October 2008 1:05:22 pm Ostermueller, Erik wrote: > http://www.nabble.com/[EMAIL PROTECTED] > 83 > 7631.html > > In the above thread, Dan wrote: > >> With 2.1.3, you will be able to write a ServiceConfiguration object > > that > > >> can override the getWrapperPartMinOccurs method to return 1 instead > > of > > >> 0. You can try the 2.1.3 snapshots if you want to play with that. > > I'm doing java-first and would like to take a look at trying this. > How do you associate a custom ServiceConfiguration with the service? > Perhaps you could point me to a particular junit test that does this... > -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________
