Question on stackoverflow about JAX-RS someone might want to answer

2012-01-05 Thread Benson Margulies
http://stackoverflow.com/questions/8750820/is-there-a-way-to-access-the-cxf-message-exchange-from-a-jax-rs-rest-resource-wi

Re: WADL documents containing multiple root resources with no "id" attributes

2012-01-05 Thread ceineke
Sorry, that's CXF 2.4.5, not 2.4.8 :P -- View this message in context: http://cxf.547215.n5.nabble.com/WADL-documents-containing-multiple-root-resources-with-no-id-attributes-tp5123513p5123774.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: consumig a web service with https

2012-01-05 Thread Glen Mazza
http://www.jroller.com/gmazza/entry/ssl_for_web_services ; you'll need to put the server provider's public key in your client JRE's truststore (or a truststore specifically attached to the client as mentioned in the link.) HTH, Glen On 01/05/2012 01:31 PM, uib wrote: I am trying to consume a

Re: WADL documents containing multiple root resources with no "id" attributes

2012-01-05 Thread ceineke
Also note that the name of the class is /WadlGenerator/ and not /WADLGenerator/. -- View this message in context: http://cxf.547215.n5.nabble.com/WADL-documents-containing-multiple-root-resources-with-no-id-attributes-tp5123513p5123766.html Sent from the cxf-user mailing list archive at Nabble.co

Re: WADL documents containing multiple root resources with no "id" attributes

2012-01-05 Thread ceineke
Hello Sergey, Unfortunately I can't try with 2.5.0, but I can report that your suggested configuration is working with CXF 2.4.8. And for everyone reference, here's my jaxrs:providers section that made it work: Btw, is there a way to generate a WADL from

Re: WADL documents containing multiple root resources with no "id" attributes

2012-01-05 Thread Sergey Beryozkin
Hi "Note that WADL documents containing multiple root resources with no "id" attributes will be supported shortly as well." When do you expect support for this to land in the wadl2java code generator? I'm trying to generate a client from a particular WADL document, but the code generator generat

RE: Extraneous query parameters

2012-01-05 Thread Geary, Frank
Works great thanks! Here's a code snippet in case anyone else is interested: Map> unexpectedQueryParams = new HashMap>(); MultivaluedMap allQueryParams = ui.getQueryParameters(); // @Context UriInfo ui passed in Class ExpectedQueryParamsInputClass = null;

WADL documents containing multiple root resources with no "id" attributes

2012-01-05 Thread ceineke
Hello all, I noticed the following on the http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-WADLfirstDevelopment JAXRS Services Description page : "Note that WADL documents containing multiple root resources with no "id" attributes will be supported shortly as w

consumig a web service with https

2012-01-05 Thread uib
I am trying to consume a web service call that uses https. I am getting this error: Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

Re: Changing Parser Type on for JAX-RS Services

2012-01-05 Thread Sergey Beryozkin
Hi I've added this info to the new page (with more tips to follow, the input is welcome): https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Deployment I've also tried to add this tip to the existing page [1] too, for some reasons I could not do it, it would just not accept the modif

RE: Regression in 2.5.1?

2012-01-05 Thread Johan Karlberg
Hi, I can confirm the issue as fixed in maven snapshot cxf-2.5.2-20120105.060926-13 For 2.5.1, your fix to my wsdl also solves the issue, and I will add this fix from now on. Thank you for your help, It will be nice to be able to continue to refresh CXF when our project refreshes it's dependen

Re: setting custom fault code on exceptions

2012-01-05 Thread Stas Ostapenko
Hi Guy. Take a look at this link http://willemjiang.blogspot.com/2011/01/how-to-map-soap-fault-message-with.html Maybe it can help a little. BR, Stas On Thu, Jan 5, 2012 at 11:12 AM, Guy Pardon wrote: > Indeed, it works. Cool! > > Guy > > On 4-jan-2012, at 16:25, Daniel Kulp wrote: > > On Thurs

Re: Spring RESTful service vs CXF RESTful service

2012-01-05 Thread Sergey Beryozkin
Hi, On 02/01/12 21:41, KARR, DAVID wrote: -Original Message- From: Kannan Ramasamy [mailto:ramkannan2...@gmail.com] Sent: Monday, January 02, 2012 5:02 AM To: users@cxf.apache.org Subject: Spring RESTful service vs CXF RESTful service Hi everybody, I have to choose between Sprign RESTfu

Re: setting custom fault code on exceptions

2012-01-05 Thread Guy Pardon
Indeed, it works. Cool! Guy On 4-jan-2012, at 16:25, Daniel Kulp wrote: On Thursday, December 29, 2011 3:29:29 PM Guy Pardon wrote: > Hi, > > What is the easiest way to set the "Code" element of an exception thrown by > my @WebMethod? I THINK if the "cause" of an exception that is thrown is a

Re: Attaching digital signature to a server response

2012-01-05 Thread Sergey Beryozkin
Hi, On 05/01/12 01:44, VirtuallyReal wrote: I am working on a system which will repond to client queries in clear-text, to allow caching by proxies, CDNs, ISP and anyone who wishes to do so. However, it is important for me to provide a way for end users to be able to validate that the message con

Re: Exception on bean configuration

2012-01-05 Thread Freeman Fang
Hi, You don't need expose javax.servlet.Servlet OSGi service from your customer bundle yourself, it's already done when start cxf bundle, which leverage the underlying http-osgi service, and your customer bundle just use it. So configuration

Re: Extraneous query parameters

2012-01-05 Thread Sergey Beryozkin
Hi Frank, On 04/01/12 23:50, Geary, Frank wrote: Hi, I use a Java class to specify my expected query parameters using @QueryParam(ā€œā€). But Iā€™m wondering what is the Apache CXF easiest/recommended way to determine when extraneous (or even misspelled) parameters were passed in so I can generate a