If a server method is annotated with @Produces( {MediaType.APPLICATION_JSON,
MediaType.APPLICATION_XML} ) and the client does not provide an Accept
Header, my understanding is that the response MIME type should default to
the FIRST Mime type listed, JSON in this case. (I believe Jersey works like
Really? Nobody? I've seen some attempt but it seems none were successful.
Is it planned somewhere in the cxf roadmap?
On 25 November 2011 14:15, Henri Tremblay wrote:
> Has anybody managed to have the cxf codegen plugin working on indigo with
> m2e?
>
> Thanks
> -
> Henri
>
> Envoyé par téléphon
In other words can I use an mbean (managed bean jmx) , this bean will provide
web service URL in a web service client decalration? Using an mean I want to
change the service URL at run time, please advice me?
--
View this message in context:
http://cxf.547215.n5.nabble.com/mbean-for-service-url-
On Mon, Nov 28, 2011 at 9:22 AM, Sergey Beryozkin wrote:
> Hi Benson
> On 27/11/11 14:38, Benson Margulies wrote:
>>
>> I have a REST endpoint which, in some cases, reboots itself. (The
>> overall system uses a Tanuki JSW launcher, and it calls System.exit to
>> ask for a restart).
>>
>> It would
Hi Paul
Please see the comments below
On 28/11/11 19:17, Paul Lowry wrote:
Hi,
I am trying to run a JAX-RS service in Tomcat, so I use
CXFNonSpringJaxrsServlet.
I test it by starting a Jetty server (using
org.mortbay.jetty:jetty-maven-plugin, which starts the jetty server at
http://localho
Hi
On 28/11/11 18:27, Guy Pardon wrote:
Hi,
I am trying to get a REST service deployed in OSGi (Felix). To do so, I tried
embedding all depedencies as jars into my bundle, including CXF.
However, this fails upon start, saying:
org.springframework.beans.factory.parsing.BeanDefinitionParsingExc
I am using cxf for my web service client. Our service providers may
change the service url anytime and I would like to use mbean to change the
url for the service.
is it possible to use mbean in cxf client configuration ?
here is my configration using spring
--
View this message in con
Hi,
I am trying to run a JAX-RS service in Tomcat, so I use
CXFNonSpringJaxrsServlet.
I test it by starting a Jetty server (using
org.mortbay.jetty:jetty-maven-plugin, which starts the jetty server at
http://localhost:8080/test) and running a test class which sends GETs, with the
following re
Hi,
I am trying to get a REST service deployed in OSGi (Felix). To do so, I tried
embedding all depedencies as jars into my bundle, including CXF.
However, this fails upon start, saying:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to
There's no chance to get similar behaviour for an enteprise archive as the
classloader will always detelaget
Have to tried to place the CXF-jars into lib/ext?
-Bernhard
On Mon, Nov 28, 2011 at 5:48 PM, sdoca sdoca wrote:
> Hi,
>
> I need to deploy an ear which contains an ejb-jar into Glassfis
Hi Jan,
I'm not sure if this will be any help, but you could take a look at
the ReceivedTokenCallbackHandler here:
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/delegation/ReceivedTokenCallbackHandler.java?view=markup
This is used to insert
Hi,
I need to deploy an ear which contains an ejb-jar into Glassfish 3.1 that uses
CXF. I know that if I was deploying a war file I would need to include a
glassfish-web.xml file which includes the following:
I am guessing I need to do something similar for an ear, bu
Hi,
There is currently no support for this functionality in WSS4J. If you
want to contribute a patch for this feature I'll take a look.
Colm.
On Sat, Nov 26, 2011 at 1:14 PM, thong102vn
wrote:
> Hi all,
>
> I have a question, for signature action in ws-security of wss4j, that is
> there a featu
Hi David,
This is not expected behaviour. It sounds like a plain bug to me.
Could you please file a JIRA?
https://issues.apache.org/jira/browse/DOSGI
Best regards,
David
On 28 November 2011 09:57, David Feliot wrote:
> Hi,
>
> DOSGi TopologyManager doesn't seem to notify the EndpointListeners
Hi everyone,
this is my scenario I use the CXF STS for authentication. I developed my own
UsernamePasswordValidator to validate a SessionID provided as a password.
This works great. Now my next step would be to convince my cxf client (more
precisely my STS Client) to get and use a SessionID availa
Hi Benson
On 27/11/11 14:38, Benson Margulies wrote:
I have a REST endpoint which, in some cases, reboots itself. (The
overall system uses a Tanuki JSW launcher, and it calls System.exit to
ask for a restart).
It would be cleaner if there were a way to push the reply before the
service function
After a lot of redesign now I got follewing exception:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME
type application/pdf
WARNING: Interceptor for has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not write attachments.
at
org.apache.c
Hi
On 28/11/11 11:00, Björn Stenersen wrote:
Hi Sergey,
it looks much better now:
But why is the namespace called "prefix1", although i declared it as "hn":
@XmlRootElement(name = "Rating", namespace = "hn")
public class Rating {
...
}
"hn" is a namespace name, and "prefix1" is a prefix bind
On 28/11/11 10:31, Sergey Beryozkin wrote:
Hi Benson
I like the style, the subject was funny :-)
On 27/11/11 22:30, Benson Margulies wrote:
@Descriptions({
@Description(value = "Accepts the configuration of the service
as a set of multipart fields.", target = DocTarget.METHOD),
@Description(va
Hi Sergey,
it looks much better now:
But why is the namespace called "prefix1", although i declared it as "hn":
@XmlRootElement(name = "Rating", namespace = "hn")
public class Rating {
...
}
Am 28.11.2011 11:45, schrieb Sergey Beryozkin:
Hi
On 28/11/11 09:32, Björn Stenersen wrote:
Hi,
i
Hi
On 28/11/11 09:32, Björn Stenersen wrote:
Hi,
i have got a service that looks like this:
@GET
@Path("/rating/{id}")
@Produces("application/xml")
@ElementClass(response=Rating.class)
public Rating getRating(@PathParam("id")String id);
This is the Rating-Class:
@XmlRootElement(name = "Rating
Hi Benson
I like the style, the subject was funny :-)
On 27/11/11 22:30, Benson Margulies wrote:
@Descriptions({
@Description(value = "Accepts the configuration of the service
as a set of multipart fields.", target = DocTarget.METHOD),
@Description(value = "Nothing, or an er
Hi,
DOSGi TopologyManager doesn't seem to notify the EndpointListeners when
a service is removed. Is it the expected behaviour?
I use the version 1.2.
Regards,
David.
Hi,
i have got a service that looks like this:
@GET
@Path("/rating/{id}")
@Produces("application/xml")
@ElementClass(response=Rating.class)
public Rating getRating(@PathParam("id")String id);
This is the Rating-Class:
@XmlRootElement(name = "Rating")
public class HotelRating {
...
}
In the
24 matches
Mail list logo