RE: How to transprot by HttpClient

2017-03-28 Thread Sonam Samdupkhangsar
It will also work with CXF 3.1.11 to be released in a few weeks Sergey On 28/03/17 16:19, Sonam Samdupkhangsar wrote: > When will the CXF 3.2.0 cxf-spring-boot-starter-jaxrs be realeased to maven > central? > > I am using SpringBoot 1.5.2 with cxf jaxrs 3.1.7 and I

RE: How to transprot by HttpClient

2017-03-28 Thread Sonam Samdupkhangsar
When will the CXF 3.2.0 cxf-spring-boot-starter-jaxrs be realeased to maven central? I am using SpringBoot 1.5.2 with cxf jaxrs 3.1.7 and I keep getting ClassNotFoundException: org.springframework.boot.context.embedded.ServletRegistrationBean error. 3.2.0-SNAPSHOT fixes the error. Thanks

jaxrs client with beanparam service

2015-05-26 Thread Sonam Samdupkhangsar
I have a jaxrs service using beanparam: @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_FORM_URLENCODED) @Path("/save") public Object save(@BeanParam MyForm myForm); MyForm.java Class MyForm { @FormParam("firstName") private

RE: jaxrs with angularjs file upload question

2015-04-21 Thread Sonam Samdupkhangsar
I am uploading a file using a form to a JAXRS service using CXF 3.0.0 but now I keep getting this error "Couldn't find MIME boundary: --WebKitFormBoundary" My upload form looks like this: I have the following bean declared in my class that extends WebMvcConfiguereAdapter: Public c

RE: jaxrs with angularjs file upload question

2015-04-16 Thread Sonam Samdupkhangsar
? Cheers, Sergey On 16/04/15 13:34, Sonam Samdupkhangsar wrote: > This topic is a little off CXF Forum but I thought I would try anyways to see > if someone has come across this. > > > I am working on a JAXRS method to upload a file with AngularJS client. I > followed the sample

RE: jaxrs with angularjs file upload question

2015-04-16 Thread Sonam Samdupkhangsar
? Cheers, Sergey On 16/04/15 13:34, Sonam Samdupkhangsar wrote: > This topic is a little off CXF Forum but I thought I would try anyways to see > if someone has come across this. > > > I am working on a JAXRS method to upload a file with AngularJS client. I > followed the sample

jaxrs with angularjs file upload question

2015-04-16 Thread Sonam Samdupkhangsar
This topic is a little off CXF Forum but I thought I would try anyways to see if someone has come across this. I am working on a JAXRS method to upload a file with AngularJS client. I followed the sample found here for the AngularJS code https://uncorkedstudios.com/blog/multipartformdata-file-

java date returning different date on client

2015-03-20 Thread Sonam Samdupkhangsar
I have a jaxrs service that returns a JPA entity called Person with a "dob" property of type java.util.Date. On the service side, the date is dob=2015-03-20 However, on the client side, it comes across as dob=Thu Mar 19 18:00:00 MDT 2015 The following is my jaxrs client config with service cal

returning a object's byte array

2015-02-24 Thread Sonam Samdupkhangsar
Hi, I have a Java Object: class MyFile { Long id; byte[] myBytes; } I have a JAXRS service that returns MyFile objects: @GET @Produces ( "application/json" ) @Path("/new") public Set getMyFiles(); On the Javascript-client side, the contents of MyFile.myBytes is encoded in Base64 (not sure

Jaxrs local-transport testing with Spring Security Basic Authentication

2014-10-21 Thread Sonam Samdupkhangsar
I have a webapp that has Basic-Authentication support thru Spring-Security configuration. I want to test my JAXRS (using CXF) based services using local-transport with Basic-Auth enabled. The following is my java-config where I have expression based Spring-Security config which does enable Bas

CXF Jaxrs client on Android

2014-10-13 Thread Sonam Samdupkhangsar
I have a RESTful service developed using CXF Jaxrs. I have been attempting to create and run a JAXRS client created using CXF Jaxrs on a Android app. I have been running into a class-not-found-exception during runtime for "javax.xml.bind" package. I really like the way Jaxrs client creation wo

sending csrf spring-security token for cxf jaxrs post method service

2014-06-12 Thread Sonam Samdupkhangsar
My webapp is secured using Spring Security with CSRF protection. I have a CXF Jaxrs webservice that has a post method. Is there a way for a CXF Jaxrs (2.0) client to send in a csrf token to the Jaxrs service? If yes then how? Thanks -Sonam

cxf jaxrs service listing page

2014-06-10 Thread Sonam Samdupkhangsar
I am using JavaConfig to setup without web.xml for service registration with JAXRSServerFactoryBean as following: @Bean @DependsOn("cxf") public Server jaxRsServer(ApplicationContext appContext) { logger.debug("creating jaxrsServer"); JAXRSServerFactoryBean factory = Runt

programmatic way to shutdown cxf jaxrs bus or endpoint?

2014-06-09 Thread Sonam Samdupkhangsar
I have a cxf jaxrs application configured using java config similar to this post http://stackoverflow.com/questions/13520821/autodiscover-jax-rs-resources-with-cxf-in-a-spring-application. However, I have my code in a Maven based project that has Cobertura code coverage. The test cases are ru

RE: jaxrs cxf deployment issues on weblogic 12c

2014-04-04 Thread Sonam Samdupkhangsar
rt to work alongside other JAX-RS API and implementations but may be sometimes one needs to restrict the container to loading something specific... Cheers, Sergey On 03/04/14 22:31, Sonam Samdupkhangsar wrote: > If I exclude the javax.ws.rs-api-2.0 then the WebApplicationException > class I

jaxrs cxf deployment issues on weblogic 12c

2014-04-03 Thread Sonam Samdupkhangsar
eed to exclude javax.ws.rs-api-2.0 when building a CXF-based war, 3.0.0-milestone2 is expected to completely support JAX-RS 1.1 applications. Sergey On 21/03/14 21:41, Sonam Samdupkhangsar wrote: > Hi > > I have been seeing linkage errors when deploying CXF Jaxrs webapp on WebLogic >

linkage error : RuntimeDelegate.class

2014-03-21 Thread Sonam Samdupkhangsar
Hi I have been seeing linkage errors when deploying CXF Jaxrs webapp on WebLogic 12c. I read the migration to 3.x guideline but don't find any clues on it. The following is the error: -101216>

RE: Jaxrs Weblogic 12c service error - No root resource matching request path {service} has been found

2014-03-17 Thread Sonam Samdupkhangsar
e-description module is needed to support WADL queries Cheers, Sergey On 17/03/14 18:44, Sonam Samdupkhangsar wrote: > Hi, > > I am deploying a sample CXF JAXRS service on WebLogic 12c. I can see the > service listing page on WebLogic 12c at > http://myserverip:7001/ecaching/se

Jaxrs Weblogic 12c service error - No root resource matching request path {service} has been found

2014-03-17 Thread Sonam Samdupkhangsar
Hi, I am deploying a sample CXF JAXRS service on WebLogic 12c. I can see the service listing page on WebLogic 12c at http://myserverip:7001/ecaching/services. However, when I access the http://myserverip:7001/ecaching/Greet?_wadl link I get the following error: <[ServletContext@301812

RE: jaxrs:client configuration throws error

2014-03-05 Thread Sonam Samdupkhangsar
@cxf.apache.org > Subject: Re: jaxrs:client configuration throws error > > This is a migration issue: > > http://cxf.apache.org/docs/jax-rs.html#JAX-RS-FromCXF2.7.xtoCXF3.0.0 > (with the link to all of CXF changes from there) > > Sergey > > On 05/03/14 17:36, Sonam Samdupkh

RE: jaxrs:client configuration throws error

2014-03-05 Thread Sonam Samdupkhangsar
oCXF3.0.0 (with the link to all of CXF changes from there) Sergey On 05/03/14 17:36, Sonam Samdupkhangsar wrote: > Hi, > > I am not able to get my jaxrs:client configuration to work using CXF version > 3 milestone 2 . The following is my configuration: > > default-autowire

jaxrs:client configuration throws error

2014-03-05 Thread Sonam Samdupkhangsar
Hi, I am not able to get my jaxrs:client configuration to work using CXF version 3 milestone 2 . The following is my configuration: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxrs="http://cxf.apache.org/jaxrs"; xmlns:cont

cxf jaxrs 2.0 filter configuration in jaxrs:server

2014-03-04 Thread Sonam Samdupkhangsar
I am developing using JAXRS 2.0 using CXF 3.0.0-milestone2. I have a CXF based JAXRS service and a JAXRS Filter. How do I configure my filter into the "jaxrs:server" config? My filter is of the following: public class MyFilter implements ContainerRequestFilter {