Re: cxf Image upload - multipart

2011-10-12 Thread kaushik
Okay..Thank you1 I will check and let you know. Also, can you please let me know, if these are possible with the headers and stuff? 1. Is there any way we could restrict the file type for the upload? 2. I am trying to find out the info about uploaded file like name, extension (.gif, jpg), mimetyp

Re: SpnegoContextToken - Security Token support for CXF

2011-10-12 Thread Sumit Pathak
Dan we are noticing one issue in our spnego implementation, because of some unknown reason security token issued from Microsoft Dynamics CRM is getting expired well before its expiry time (that is 10 hrs.) As per Microsoft folks we need to handle security token expiration exception and try reauthe

Re: cxf Image upload - multipart

2011-10-12 Thread Sergey Beryozkin
Hi Please see starting from here: http://cxf.547215.n5.nabble.com/JAXRS-Multipart-Form-Data-requiring-Content-ID-td4616470.html#a4623596 I think it's a RESTClient bug. Does posting with wget or curl work ? Cheers, Sergey On 12/10/11 20:22, kaushik wrote: Hey Guys, I am trying to upload an i

cxf Image upload - multipart

2011-10-12 Thread kaushik
Hey Guys, I am trying to upload an image using REST api. Below is my code: @POST @Consumes("multipart/mixed") @Path("/image") Response uploadImage(MultipartBody multipartBody) throws Exception; Implementation: public Response uploadImage(final MultipartBody multipartBody) throws Exception { Sy

Re: web servicew with no implementation

2011-10-12 Thread Daniel Kulp
Any chance you could take a small hello world type thing and create an example testcase? I've never played around with the advanced aspect things so wouldn't really know where to start. Dan On Wednesday, October 12, 2011 2:39:53 AM TON wrote: > thank you, > i try your suggestion, > i am get

AW: AW:Re: STSClient enhancement proposal

2011-10-12 Thread Oliver Wulff
hi Colm I've raised JIRA and attached the patch: https://issues.apache.org/jira/browse/CXF-3857 Thanks Oli Von: Oliver Wulff [owu...@talend.com] Gesendet: Montag, 10. Oktober 2011 19:44 Bis: users@cxf.apache.org; cohei...@apache.org Betreff: AW:Re: STSClie

Re: JaxWsClientProxy almost memory leak

2011-10-12 Thread Lorenzo Bolzani
2011/10/9 Freeman Fang > Hi, > > It's more like a servicemix issue so I reply to servicemix users list. > > Could you elaborate your working flow? Seems you use proxy in cxf se > endpoint, is it correct? If so, I believe this is a known issue and > already get fixed by SMXCOMP-855[1]. > Hi Fr

Re: BasicAuth - SoapHeaderInterceptor Nullpointer exception issue

2011-10-12 Thread prasad
Christian, I am running the service and the client test program from the same eclipse project. service is running on the tomcat (6.0) instance inside the eclipse workspace. I don't know where the second request is coming from. I noticed the behavior after i look at the logs that there is a second

Re: web servicew with no implementation

2011-10-12 Thread TON
thank you, i try your suggestion, i am getting http://schemas.xmlsoap.org/soap/envelope/";> soap:Server object is not an instance of declaring class while invoking public abstract com.services -- View this message in context: http://cxf.547215.n5.nabbl

Re: Is cxf client thread safe?

2011-10-12 Thread Freeman Fang
Hi, Our Faq should help here [1] [1]http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F Freeman On 2011-10-12, at 下午5:56, xuhb wrote: hi: After cxf client is initialized, Could it be used to invoke webservice in multi-thread concurrently? thanks any suggestion; ---