Concurrent Problem of CXF on tomcat?

2011-10-14 Thread xuhb
Hi: I build a simple proxy with cxf(2.4.3) camel(2.8.1) on tomcat, and trying to test the performance with HP LoadRunner; the proxy program is build with pay-load model of camel-cxf; If the concurrent client is only 1, there is nothing wrong, the throughput capacity is very stable

Re: Child elements in wsdl:documentation

2011-10-14 Thread Olivier Costet
Would something like: @WSDLDocumentation { String text Format format = Format.TEXT Placement placement Class? faultClass enum Format { TEXT, XML }; } be easier to write?If it's Format.XML, we parse the string as XML. It certainly would be

Re: How to get WS-security interceptors dependency into a maven project?

2011-10-14 Thread Freeman Fang
Hi, My comment inline On 2011-10-14, at 下午6:29, Kent Närling wrote: Hi! I found this documentation how to add WS-security in a client using CXF: http://cxf.apache.org/docs/ws-security.html However I tried hard to find out what maven dependencies I need to get this working, but is hard

Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Blue Diamond
Hi, We are using CXF 2.3.x, and we have our WS-SecurityPolicy that has something like: sp:EncryptedParts sp:Body / /sp:EncryptedParts sp:EncryptedElements sp:XPath/wsse:Security/wsse:SecurityContextToken/sp:XPath /sp:EncryptedElements Requirement is that, we have our custom security token in

Re: Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Colm O hEigeartaigh
Hi Anil, Could you paste the SOAP response to the client? Maybe the returned encrypted token is not in the security header or something? Colm. On Fri, Oct 14, 2011 at 1:46 PM, Blue Diamond gvnan...@gmail.com wrote: Hi, We are using CXF 2.3.x, and we have our WS-SecurityPolicy that has

Re: Exposing input arguments to ExceptionMapper.

2011-10-14 Thread Sergey Beryozkin
Hi You can get CXF MessageContext injected and then do OperationResourceInfo ori = (OperationResourceInfo)context.get(OperationResourceInfo.class); ori.getMethodToInvoke() HTH, Sergey On 14/10/11 15:07, Kiren Pillay wrote: Hi all! Is there a way to access the values/arguments of a JAX-RS

Re: Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Blue Diamond
Hi Colm, I am pretty sure the header is added on the server side is present on the client side in encrypted format. I have soap message with without the security policy entry EncryptedElements (NO OTHER CHANGES) and I have the response coming in with added header. And more over, when I add

Re: osgi problem since 2.4.0

2011-10-14 Thread bst
Hi Freeman, well I did some debugging lately and found out what really caused my problem. Actually it is the org.apache.cxf.transport.servlet.CXFNonSpringServlet who gets spring-initiated with the empty DestinationRegistry which doesn't have reference to any TransportFactory respectively no

Re: Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Colm O hEigeartaigh
Could you paste the entire SOAP header of the response? Colm. On Fri, Oct 14, 2011 at 3:39 PM, Blue Diamond gvnan...@gmail.com wrote: Hi Colm, I am pretty sure the header is added on the server side is present on the client side in encrypted format. I have soap message with without the

Re: osgi problem since 2.4.0

2011-10-14 Thread Daniel Kulp
I think this is similar to what Freeman and I spent a couple hours debugging yesterday. I couldn't reproduce it at first as it didn't seem to appear when using Equinox (which is what I normally use). It only appeared with Felix. I was finally able to reproduce it with Felix and put a

Re: Exposing input arguments to ExceptionMapper.

2011-10-14 Thread Kiren Pillay
Thanks, will give it a try! On Fri, Oct 14, 2011 at 4:35 PM, Sergey Beryozkin sberyoz...@gmail.com wrote: Hi You can get CXF MessageContext injected and then do OperationResourceInfo ori = (OperationResourceInfo)context.get(OperationResourceInfo.class); ori.getMethodToInvoke() HTH, Sergey

Re: osgi problem since 2.4.0

2011-10-14 Thread bst
Hi Daniel, I do use Equinox 3.6 for my tests; I will checkout the snapshots as you've suggested and post the results; Cheers, Boris -- View this message in context: http://cxf.547215.n5.nabble.com/osgi-problem-since-2-4-0-tp4786635p4903079.html Sent from the cxf-user mailing list archive at

CXF interceptors - dynamic usage?

2011-10-14 Thread nkunkov
Hi, I'm adding an WSS4JInInterceptor and WSS4JOutInterceptor to my server that will host the web services. I realize I can either add the interceptors to the cxf.xml or add them in manually if I'm using JaxWsServerFactoryBean to create a server etc... I will have multiple clients making requests

Re: CXF interceptors - dynamic usage?

2011-10-14 Thread nkunkov
I think i have to clarify my message a bit. My application will be both a web service client and a web service server. I implemented web service security using the interceptors and it works when my application is a client. Since it knows where it sends the request it can give the interceptor an