Re: Embedding CXF

2011-08-08 Thread Freeman Fang
Hi, I think you can take a look at cxf-osgi example shipped with Apache Servicemix 4.3. With that example, when install the example bundle, the cxf service is started, when you uninstall the example bundle, the cxf service is down, which means you can deploy and undeploy individual servic

cxf.xml not recognized in 2.4.1.?

2011-08-08 Thread Anand Hemmige
Hi, I apologize if this question is not intended to CXF community since Im not really sure if the problem is with CXF or Spring. I have a web application where I use both Spring application context files as well as cxf.xml. The spring application context files are all named as beans-*-context.xml

Re: Interceptor For setting HTTPTimeout for individal operation

2011-08-08 Thread Freeman Fang
Hi, You can create a customer interceptor for client outgoing chain at early stage, in your customer interceptor do something like msg.getExchange().getBindingOperationInfo() to determine the operation name then do msg.put(Message.CONNECTION_TIMEOUT, "value_you_want") msg.put(Message.RECEIV

Re: NULL Pointer Exception while processing attachments

2011-08-08 Thread xuhb
Thanks Jim I just tried the latest version of CXF 2.4.1. This problem doesn't occurs in this version; I think maybe some issue fixed in 2.4.1 has fix the problem. But I am not know which one is.; > original - > Sender: Jim Ma [mailto:mail2ji...@gmail.com] > Date: 2011/8/9 11:03 > Rec

Re: NULL Pointer Exception while processing attachments

2011-08-08 Thread Jim Ma
>From the information you provided, we can not tell if it's really a CXF issue. Can you file a jira issue with your test case to help reproduce ? Cheers Jim On Tue, Aug 9, 2011 at 10:43 AM, xuhb wrote: > Hi: > When I use cxf webservice at following situation, there always a null > pointer except

NULL Pointer Exception while processing attachments

2011-08-08 Thread xuhb
Hi: When I use cxf webservice at following situation, there always a null pointer exception occurs 1)MTOM enabled, and multi attachments sent. 2)The first attachment is big enough (etc 2M). and the second attachments is very small (etc: several bytes); 3)the MTOM attachment is mapped to a byte[]

Re: Client timeouts

2011-08-08 Thread Freeman Fang
On 2011-7-25, at 下午11:27, BRUNO MELLONI wrote: We have a simple service that handles emailing for our web applications. It takes the request information and sends the email using SMTP through Exchange. It usually works great, but Web service call timeouts have been a nuisance from the be

CXF 2.4.1 does not recognize cxf.xml

2011-08-08 Thread Anand Hemmige
Hi, I apologize if this question is not intended to CXF community since Im not really sure if the problem is with CXF or Spring. I have a web application where I use both Spring application context files as well as cxf.xml. The spring application context files are all named as beans-*-context.xml

Re: Google App Engine

2011-08-08 Thread Sergey Beryozkin
Hi Philippe On Sat, Aug 6, 2011 at 1:59 AM, Philippe Merle wrote: > Hi Daniel, > > Le 05/08/11 16:20, Daniel Kulp a écrit : >> >> On Friday, August 05, 2011 4:08:32 PM Philippe Merle wrote: >>> >>> After checking documentation, I see that GAE supports client-side part >>> of JAX-WS but not server

Re: Tutorial for creation of RESTful interface with CXF?

2011-08-08 Thread Sergey Beryozkin
Hi Klaus thanks for the update, looks like things are going well :-), more comments inline On Mon, Aug 8, 2011 at 4:53 PM, Sperner, Klaus wrote: > Dear Antoine, Sergey, Glen, and Ron, > > thanks to all of you for responding to my mail. In the meantime I managed to > create the server-side of my

RE: TLSClientParameters

2011-08-08 Thread Penmatsa, Vinay
Hi Dan, Thanks for adding the feature. Meanwhile, I started to use spring configuration. The server is configured for X.509 Client certificate authentication to STS, and the client cert is added to server truststore. I followed the STSClient sample in http://cxf.apache.org/docs/ws-trust.html But

Re: TLSClientParameters

2011-08-08 Thread Daniel Kulp
On Monday, August 08, 2011 8:42:53 AM Penmatsa, Vinay wrote: > Hi Dan, > Thanks. > How can I set the TLS params in the STSClient? Is there an example of using > STSClient this way? I just checked the code and there isn't a way to access the underlying client from the STSClient. I just added a g

Re: Google App Engine

2011-08-08 Thread Daniel Kulp
On Monday, August 08, 2011 6:20:12 PM Philippe Merle wrote: > Hi Dan, > > Le 08/08/11 18:09, Daniel Kulp a écrit : > > On Saturday, August 06, 2011 2:59:00 AM Philippe Merle wrote: > >>> Have you looked at the SOAP server side yet?I'm wondering how > >>> they > >>> are restricting the server s

Re: Google App Engine

2011-08-08 Thread Philippe Merle
Hi Dan, Le 08/08/11 18:09, Daniel Kulp a écrit : On Saturday, August 06, 2011 2:59:00 AM Philippe Merle wrote: Have you looked at the SOAP server side yet?I'm wondering how they are restricting the server side but not the client side.Most likely, if you drop down to the CXF server facto

Re: Google App Engine

2011-08-08 Thread Daniel Kulp
On Saturday, August 06, 2011 2:59:00 AM Philippe Merle wrote: > > Have you looked at the SOAP server side yet?I'm wondering how they > > are restricting the server side but not the client side.Most > > likely, if you drop down to the CXF server factory instead of > > Endpoint.publish(...),

RE: Tutorial for creation of RESTful interface with CXF?

2011-08-08 Thread Sperner, Klaus
Dear Antoine, Sergey, Glen, and Ron, thanks to all of you for responding to my mail. In the meantime I managed to create the server-side of my RESTful interface with CXF on my own, using Maven and Spring, and of course googling many times. I learned quite a lot, especially about Maven, the mave

LoggingOutInterceptor shows wrong or no payload if StaxTransformFeature is active

2011-08-08 Thread akuhtz
Hi Aki, Hi Sergey, I've found another problem with the StaxTransformFeature in combination with the LoggingOutInterceptor. The setup is the same as in the project attached to http://cxf.547215.n5.nabble.com/Problem-with-new-transform-feature-td4599185.html. If the transform feature is configure

Re: Embedding CXF

2011-08-08 Thread Angelo zerr
Hi John, I suggets you to read http://cxf.apache.org/distributed-osgi.html Regards Angelo 2011/8/8 Angelo zerr > Hi John, > > I think this post > http://cxf.547215.n5.nabble.com/CXF-amp-Osgi-bundle-problem-td556037.htmlcould > interest you. > > To publish/unpublish your webservice, I wll do

Re: Tutorial for creation of RESTful interface with CXF?

2011-08-08 Thread Ron Wheeler
On 08/08/2011 9:20 AM, Glen Mazza wrote: The effort spent learning Maven will pay off rather quickly, and also web services--REST or SOAP--are an easy, pleasant way to quickly get up to speed with this fine build tool. CXF services are also an easy way to learn more about Spring--but Spring kn

Re: Tutorial for creation of RESTful interface with CXF?

2011-08-08 Thread Glen Mazza
The effort spent learning Maven will pay off rather quickly, and also web services--REST or SOAP--are an easy, pleasant way to quickly get up to speed with this fine build tool. CXF services are also an easy way to learn more about Spring--but Spring knowledge is not that important, it ultimat

RE: TLSClientParameters

2011-08-08 Thread Penmatsa, Vinay
Hi Dan, Thanks. How can I set the TLS params in the STSClient? Is there an example of using STSClient this way? -Vinay -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Friday, August 05, 2011 5:29 PM To: users@cxf.apache.org Cc: Penmatsa, Vinay Subject: Re: TLSClie

Re: Embedding CXF

2011-08-08 Thread Angelo zerr
Hi John, I think this post http://cxf.547215.n5.nabble.com/CXF-amp-Osgi-bundle-problem-td556037.htmlcould interest you. To publish/unpublish your webservice, I wll do modify the sample like this : - import javax.xml.ws.Endpoint; import org.*osgi*.