Re: client apache cxf-2.2 jar dependencies: cxf-http-jetty required backtrace

2009-03-30 Thread Vassilis Virvilis
Hi, On Friday 27 March 2009, Daniel Kulp wrote: > > > 5) Is > > cxf-rt-transports-http-jetty-2.2.jar really required for a client. It was > > not required in 2.1.3 > > It shouldn't be required for 2.2 either and in my tests, it isn't. I've > been > trying to get a testcase that shows that it

Re: Non-MTOM attachment NOT defined in WSDL

2009-03-30 Thread Roderic Green
Thank your for your answer. Does it mean, that I have to modify wsdl and add a new parameter for data I want to be sent as attachment? And - is there any documentation on how to use CXF with services which don't support MTOM ? -- Roderic 2009/3/30 Freeman Fang > Hi, > > Take a look at [1] >

Re: client apache cxf-2.2 jar dependencies: geronimo activation required backtrace

2009-03-30 Thread Vassilis Virvilis
Hi, On Friday 27 March 2009, Daniel Kulp wrote: > > 3) Is it somehow > > possible to further trim the list of the dependencies especially the maven > > modules ones since the other are documented? > > 4) For example do I need > > geronimo-javamail_1.4_spec-1.5.jar (I don't use attachments) > > Y

Re: client apache cxf-2.2 jar dependencies: jax_ws required backtrace

2009-03-30 Thread Vassilis Virvilis
On Friday 27 March 2009, Daniel Kulp wrote: > > > > 1) Why I do need geronimo-jaxws_2.1_spec-1.0.jar? It is not mentioned in > > WHICH jars? Without it I get a javax/xml/ws/Holder class not found > > exception in JRE 1.5 > > Hmmm... That's not good.Is there a stack trace or similar? Not su

Re: [CXF2.2][wsdl2java][RPC/Lit] Unable to create stubs

2009-03-30 Thread Gabo Manuel
Hi Dan, I saw your latest comments re the jira. Would that mean that CXF has a problem generating the WSDL properly? Or is there an annotation I should fix? Gabo Daniel Kulp (JIRA) wrote: [ https://issues.apache.org/jira/browse/CXF-2136?page=com.atlassian.jira.plugin.system.issuetabpan

[JAX-RS] Nested parameter injection into a bean

2009-03-30 Thread crmuchin
I would like to leverage the CXF extension for parameter injection into a bean, however my bean structure is more than 1 level deep. Take the following example: class Name { String first; String last; } class Address { String city; String state; } class Person { Name legalNa

Obtaining HttpSession from JAX-WS OutInterceptor

2009-03-30 Thread Morgan Rachell
I'm having a problem where every client request on a web service endpoint logs in (using WS-Security), does some processing that completes quickly, but leaves their session active. I want to log them out and kill their HttpSession at the end of the process. The problem is that the session remains a

RE: Interceptors

2009-03-30 Thread Morgan Rachell
Thanks Dan. That helps. -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Monday, March 30, 2009 3:12 PM To: users@cxf.apache.org Cc: Morgan Rachell Subject: Re: Interceptors On Mon March 30 2009 1:02:19 pm Morgan Rachell wrote: > I have two questions about intercepto

CXF Connection timeout using BindingProvider

2009-03-30 Thread smodekurti
I was reading the documentation for developing a consumer (http://cwiki.apache.org/CXF20DOC/developing-a-consumer.html). There was a paragraph where it was mentioned that BindingProvider's getRequestContext() can be used to set connection timeouts. Can someone provide me with an example on how thi

Re: Logging/Debugging Question

2009-03-30 Thread Daniel Kulp
I just added a simple atomically incrementing integer "ID" to the the logging interceptors to make this work easier without resorting to using ws- addressing. Also made it log the URI of the request on the incoming requests so you can tell which service it's intended for. Dan On Tue March 3

Re: CXF-1997 ?

2009-03-30 Thread Daniel Kulp
On Fri March 13 2009 5:57:56 am nicolas de loof wrote: > I also updated the wiki with some more examples. > The maven_plugin package is not included in CXF javadoc > http://cxf.apache.org/javadoc/latest/ > Could you please add it from build script so that wiki could link to this > doc ? Getting ba

Re: Interceptors

2009-03-30 Thread Daniel Kulp
On Mon March 30 2009 1:02:19 pm Morgan Rachell wrote: > I have two questions about interceptors: > > > > 1) What is the difference between when an inFaultInterceptor and an > outFaultInterceptor get called? For example, if I receive a message on a > jaxws:endpoint, a business object does some

Re: JAXWS Asynchronous consumption of webservice

2009-03-30 Thread Daniel Kulp
On Mon March 30 2009 2:33:25 pm Rao, Sameer V wrote: > Thanks Dan, > > So does it mean that the default WorkQueue used by the Bus is registered > with the container's mbean server? It is, kind of. :-) The workqueue isn't created until the first time it's needed. Thus, if you just startup the

RE: JAXWS Asynchronous consumption of webservice

2009-03-30 Thread Rao, Sameer V
Thanks Dan, So does it mean that the default WorkQueue used by the Bus is registered with the container's mbean server? -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Monday, March 30, 2009 1:02 PM To: users@cxf.apache.org Cc: Rao, Sameer V Subject: Re: JAXWS Asyn

Re: JAXWS Asynchronous consumption of webservice

2009-03-30 Thread Daniel Kulp
On Mon March 30 2009 1:21:32 pm Rao, Sameer V wrote: > Per the JAXWS specs, a service can be consumed asynchronously > (SOAP/HTTP). In this case WSDL2Java generates the required code in > Service Interface (i.e. Future<>. > > I am not able to figure out how to configure CXF to use a specific > Thre

JAXWS Asynchronous consumption of webservice

2009-03-30 Thread Rao, Sameer V
Per the JAXWS specs, a service can be consumed asynchronously (SOAP/HTTP). In this case WSDL2Java generates the required code in Service Interface (i.e. Future<>. I am not able to figure out how to configure CXF to use a specific ThreadPool or Does CXF internally manage the ThreadPool and also reg

Interceptors

2009-03-30 Thread Morgan Rachell
I have two questions about interceptors: 1) What is the difference between when an inFaultInterceptor and an outFaultInterceptor get called? For example, if I receive a message on a jaxws:endpoint, a business object does some processing as a result, then that throws some exception based on

RE: CXF and JAMON integration?

2009-03-30 Thread Jeffrey.Constantin
FYI: Found the solution: Spring has a JamonPerformanceMonitorInteceptor you can easily wire into your web services beans as follows. This is an Aspect Oriented Programming (AOP) solution that works great. For every method call in my bean we get stats like hits, execution time, min and max ti

strange dependency error

2009-03-30 Thread nicolas de loof
Hi some guys in my dev team repport an error during CXF code generation : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] org/apache/xml/serializer/TreeWalker

Re: CXF JMS WebSphere 6.1 - client loses connection

2009-03-30 Thread Daniel Kulp
The 2.1.5 snapshots (and the 2.2 release version) has a new JMS transport based on Spring JMS. One of the things this DOES have is a reconnect on failure setting for the JMS transport. Thus, if the connection goes down, the client will automatically try to reconnect to the broker. Migh

Re: [JAX-RS] pb while passing array as parameter

2009-03-30 Thread Sergey Beryozkin
Hi I fixed it on Friday evening but could not merge so merged only today...Arrays can now be supported for all the parameter types (query, path, header, etc)There's no need to register a ParameterHandler for say String[] or Long[], only needed when we have something like Customer[], on whic

Re: HTTPS: custom keystore: regression in 2.2 from 2.1.3

2009-03-30 Thread Vassilis Virvilis
On Friday 27 March 2009, Daniel Kulp wrote: > > If you CAN make a JIRA with a test case, that would be great. Would > definitely help debugging it. > > For a workaround, you could try using the URL for the name: > > > name="https://foo.com.*";> > > . > > > (the .* is a patt

Re: Attachment not defined in WSDL

2009-03-30 Thread Freeman Fang
Hi, Take a look at [1] [1]http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html Freeman Roderic Green wrote: Hi, I need to write a client to external web service - one of the methods requires that some data are sent as SOAP Attachment - but it seems that it is not defined in anyn

Re: Version of WSRM

2009-03-30 Thread Bryan Kearney
Eoghan Glynn wrote: Hi Bryan, Did you mean the 2006/08 version (as opposed to 2005)? Otherwise known as WS-RM 1.1. Sorry... wsAddressing. I dont know the relationship between addressing ans WSRm.I was playing with WCF wsDualHttp binding.. and it is sending http://www.w3.org/2005/08/addressin

Attachment not defined in WSDL

2009-03-30 Thread Roderic Green
Hi, I need to write a client to external web service - one of the methods requires that some data are sent as SOAP Attachment - but it seems that it is not defined in anynway in wsdl. How can I attach the file to soap request in this situation? Is it possible to achieve using Spring configuratio