Re: RESTful versus Servlet

2011-08-22 Thread Raj Floyd
Thanks all. On Sat, Aug 20, 2011 at 8:35 PM, wrote: > > RESTful services are almost exclusively used over the HTTP protocol. I > suppose you *could* use a different protocol if you were determined to do so > but, speaking for myself, if you need another protocol I'd recommend using > SOAP. > > T

A question about CXF chain interceptor mechanism

2011-08-22 Thread xuhb
Hi: CXF Chain Interceptor is simple and good mechanism for protocol interpret; But sometimes it seem "Chain Interceptor " mechanism is not very suitable for things such as system resource release; To illustrate this, following is a sample: 1) Recently I am using CXF to expose an existing sys

RE: setting wsa:addressing feature in cxf:bus causes wrong action header to be sent when using Dispatch API

2011-08-22 Thread Jesse Pangburn
I don't think that will work because the WSAddressingFeature doesn't have that method signature, it has: protected void initializeProvider(InterceptorProvider provider, Bus bus) { Client is a subclass of InterceptorProvider, but although you could do something like: if (provider instanceof C

RE: Can Dispatch API be used with jaxws:client Spring configuration?

2011-08-22 Thread Jesse Pangburn
There's now a bug for these configuration problems: https://issues.apache.org/jira/browse/CXF-3754. I've submitted a patch and debugged through it to verify it allows setting properties, address, and bus now. However, I could not find where to get the handler information. I believe it should

RE: Problem with WADL generation and returning a List of objects

2011-08-22 Thread Timothy Paul Hanna
It actually isn't hard to fix. I am using the @ElementClass annotation to show that the service returns elements of that. And your WADLGenerator already handles that. The issue is that ResourceUtils.getAllRequestResponseTypes doesn't include the SomeObject in the list returned. I overrode th

Re: A mysteriously deadlock of CXF OnewayProcessorInterceptor

2011-08-22 Thread Daniel Kulp
On Monday, August 22, 2011 10:26:36 AM Aki Yoshida wrote: > Hi Dan, > I was confused about the original intention of this wait(20) code. I > didn't understand why it was important to wait 20msec and let the > executor thread start instead of not waiting. The comment in the code > says the intention

Re: Enum as one of the query params in wadl

2011-08-22 Thread Sergey Beryozkin
Will be fixed in CXF 2.3.7/2.4.3/ As usual, patches are welcome too Sergey On Fri, Aug 19, 2011 at 10:54 PM, Jason Chaffee wrote: > Any timeline on this? > > -Original Message- > From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] > Sent: Thursday, August 18, 2011 1:29 AM > To: users@cxf

cxf-codegen-plugin, wsdl2java and spaces in wsdl path

2011-08-22 Thread Stevo Slavić
Hello cxf users, cxf-codegen-plugin v 2.1.x (tried 2.1.3 & 2.1.10), 2.2.12 and 2.3.6 have issue with spaces in wsdl path when generating Java classes (tried with 2.4.2 too but dependencies of plugin and project are not compatible). In use case where issue is reproduced there are two child modules

Re: Problem with WADL generation and returning a List of objects

2011-08-22 Thread Sergey Beryozkin
Hi The reason SomeObject from List is not currently checked in for the purpose of the WADL grammar generation is that a SomeObject schema element instance can not be used to describe the actual value represented by List. For example, assuming SomeObject can be represented as , List (say with a si

Re: Replacing the WadlGenerator doesn't work

2011-08-22 Thread Sergey Beryozkin
HI On Thu, Aug 18, 2011 at 9:46 PM, Timothy Paul Hanna wrote: > I attempted to replace the WadlGenerator with one of my own by adding it as a > provider to my JAXRS server in spring.  The server  didn't see the new > WadlGenerator unless it extending the WadlGenerator that comes with CXF. The

Re: A mysteriously deadlock of CXF OnewayProcessorInterceptor

2011-08-22 Thread Aki Yoshida
Hi Dan, I was confused about the original intention of this wait(20) code. I didn't understand why it was important to wait 20msec and let the executor thread start instead of not waiting. The comment in the code says the intention is to try to keep the ordering of the messages from the client. But

Re: setting wsa:addressing feature in cxf:bus causes wrong action header to be sent when using Dispatch API

2011-08-22 Thread Aki Yoshida
Hi Jesse, Sorry, I was asking to the group and also not very specific about what I meant. What I meant was that the current problem is that this operation determination code is only invoked when the addressing feature is enabled for the jaxws endpoint but it is not invoked when the addressing feat