Hello,
I'm wondering if it's possible, from inside the RESTful service implementation,
to make a RESTful call to itself?
Regards,
Anthony
ser should also be well capable of reporting
the error, and thus preventing the user downloading a corrupted Zip file
without having no notification something went wrong.
Sergey
On 16/10/17 10:41, MULLER, Anthony wrote:
> Hi Sergey,
>
> The server throws an exception when there is
,
How does the JAX-RS server code react when it sees some issue, does it
throw some exception ?
Sergey
On 16/10/17 10:05, MULLER, Anthony wrote:
> Hi Sergey,
>
> Thank you very much for your reply!
>
> The point here is that the client isn't a Java application, but a Web bro
ts 200 and then, presumably,
IOException, is inconsistent, the client code reading the data directly
from the input stream always has a catch for IOException, it can be
thrown even if there were no errors on the server side when writing it...
Sergey
On 13/10/17 12:30, MULLER, Anthony wrote:
Hello,
I have a REST call which returns a generated ZIP output. But during generation,
an issue may occurred... However, the client seems to receive a HTTP code 200
with a corrupted ZIP.
Is it possible to do better? Is this case managed by HTTP protocol? By CXF?
Best regards,
Anthony
ly at customer site :-/
Best regards,
Anthony
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 7 septembre 2017 13:24
To: MULLER, Anthony ; users@cxf.apache.org
Subject: Re: [CXF 2.7.16] UriInfo.getAbsolutePathBuilder()
Hi Anthony
Good to hear from you,
Th
Hello,
We are facing a very weird issue: in some cases (unidentified for now),
getAbsolutePathBuilder() generates an URL with "null" for hostname.
Like: http://null/path/...
Is it a known issue? Has it been fixed into more recent releases?
Thank you and best regards,
Anthony
API but the JAX-RS methods will def not be called.
If you do decide to continue with the CXF WebSocket transport then
please do check what Atmosphere logs when it can not handle an Upgrade
request and let me know
Thanks, Sergey
On 29/09/16 20:40, MULLER, Anthony wrote:
> Hi Sergey, Aki,
>
almost works in both Tomcat version (7 and 8),
except that all websocket requests are routed to the method having @OnMessage
annotation :)
It seems it needs some configurations again :)
Hope this will help.
Best regards,
Anthony
-Original Message-
From: MULLER, Anthony [mailto:anthony.m
or me. Can you confirm please this demo also works for you ?
Thanks, Sergey
On 29/09/16 08:47, MULLER, Anthony wrote:
> Hi Sergey,
>
> I made the recommended changes (upgrade Atmosphere and disable the async
> feature of CXFServlet), I got this error when trying to connect.
>
&g
r now lets try to isolate where the
problem is)
Sergey
On 28/09/16 16:26, MULLER, Anthony wrote:
> Hello CXF Experts, Sergey, Aki,
>
> I have some issues to implement a simple test using WebSocket with CXF 3.1.7,
> in a Tomcat 8 Servlet container.
>
> To make troubleshooting e
Hello CXF Experts, Sergey, Aki,
I have some issues to implement a simple test using WebSocket with CXF 3.1.7,
in a Tomcat 8 Servlet container.
To make troubleshooting easier, I shared my demo project (based on the official
CXF samples written by Aki):
https://github.com/AnthonyMullerPlayground/
You're right Sergey, thanks again :)
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: mercredi 30 octobre 2013 13:20
To: MULLER, Anthony
Cc: users@cxf.apache.org
Subject: Re: [JAXRS] A request GET with a body is dispatched on a @POST
annotated method
M
ergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: mercredi 30 octobre 2013 13:08
To: users@cxf.apache.org
Cc: MULLER, Anthony
Subject: Re: [JAXRS] A request GET with a body is dispatched on a @POST
annotated method
Hi Anthony
On 30/10/13 12:00, MULLER, Anthony wrote:
> Hello Sergey,
>
>
Hello Sergey,
When I perform a GET request with a body, CXF is invoking a method annotated
with POST instead of throwing an exception (Method not allowed)...
Is it a known problem? A "normal" behavior ?
Thanks and regards,
Anthony
Thanks Sergey, I will try this.
Regards,
Anthony
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: mardi 9 avril 2013 14:39
To: users@cxf.apache.org
Subject: Re: How to use "_ctype" in a RESTful webservice
Hi Anthony
On 09/04/13 12:29, Muller, Ant
Hello,
I have an RESTful webservice based on CXF.
Some calls have a specific content type, like application/pdf.
To support some clients which cannot modify http header, I wish to use the
"_ctype" query parameter to provide the requested content type...
But it seems to not work... (cxf 2.3.8)
Perfect, thanks Sergey :)
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: lundi 22 octobre 2012 16:35
To: users@cxf.apache.org
Subject: Re: [JAX-RS] StreamingOutput implementation - must I close the
outputstream?
Hi
On 22/10/12 14:39, Muller, Anthony wrote
Hello,
When implementing a StreamingOutput, must I close the outputstream at the end
of the write(OutputStream) method?
Thanks and regards,
Anthony
inal Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 20 septembre 2012 13:40
To: Muller, Anthony
Cc: users@cxf.apache.org
Subject: Re: JAX-RS - ZIP compression ?
Hi
On 20/09/12 12:23, Muller, Anthony wrote:
> -> If GZIP is acceptab
add a "application/x-gzip" MIME type on JAX-RS methods?
Regards,
Anthony
-Original Message-----
From: Muller, Anthony [mailto:anthony.mul...@sap.com]
Sent: jeudi 20 septembre 2012 13:09
To: Sergey Beryozkin; users@cxf.apache.org
Subject: RE: JAX-RS - ZIP compression ?
Thanks Sergey, I w
Hello Sergey,
When JAXB is used for data binding, is there a way to stream the output instead
of waiting to build the whole object structure to return?
This will be very useful when we have large object tree to build!
Thanks,
Anthony
: mardi 18 septembre 2012 22:57
To: users@cxf.apache.org
Cc: Muller, Anthony
Subject: Re: JAX-RS - ZIP compression ?
Hi Anthony
On 18/09/12 21:36, Muller, Anthony wrote:
> Hello Sergey,
>
> Is there an (easy) way to accept/activate ZIP compression of REST responses?
>
If GZIP is accepta
Hello Sergey,
Is there an (easy) way to accept/activate ZIP compression of REST responses?
Thanks,
Anthony
e:
>> Hi Anthony
>> On 05/07/12 21:53, Muller, Anthony wrote:
>>> Thanks for all these informations Sergey, your help is very appreciated!
>>>
>>
>> No problems :-), please see some comments below
>>
>>> Anthony
>>>
>>>
Thanks for all these informations Sergey, your help is very appreciated!
Anthony
Envoyé de mon iPad
Le 5 juil. 2012 à 17:37, "Sergey Beryozkin" a écrit :
> Hi Anthony
>
> Sorry for a delay
> On 05/07/12 15:50, Muller, Anthony wrote:
>> Sergey,
>>
>&
Sergey,
More particularly, could you confirm handleRequest ans handleResponse will
still be called before and after any REST calls?
I don't like to have a lock never removed! :)
Anthony
-Original Message-
From: Muller, Anthony
Sent: jeudi 5 juillet 2012 16:23
To: 'Sergey
ryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 5 juillet 2012 14:17
To: Muller, Anthony
Cc: users@cxf.apache.org
Subject: Re: JAX-RS services - Interceptor
Hi Anthony
On 05/07/12 12:50, Muller, Anthony wrote:
> Thx Sergey, that seems fine!
>
> I'm trying using UriInfo injection
Beryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 5 juillet 2012 14:17
To: Muller, Anthony
Cc: users@cxf.apache.org
Subject: Re: JAX-RS services - Interceptor
Hi Anthony
On 05/07/12 12:50, Muller, Anthony wrote:
> Thx Sergey, that seems fine!
>
> I'm trying using UriInfo injection
}
return null;
}
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 5 juillet 2012 12:49
To: users@cxf.apache.org
Cc: Muller, Anthony
Subject: Re: JAX-RS services - Interceptor
Hi Anthony
On 05/07/12 11:17, Muller, Anthony wrot
Hello,
I have a use case when I need to intercept some REST calls to lock a used
resource (underlying code doesn't support concurrent access). I wish to use an
CXF interceptor to implement the lock mechanism (something else can help ?)
Example of concurrent calls:
Client 1 : [POST] /books/1234/
The second suggestion works fine! (I didn't try the first one)
Thanks,
Anthony
-Original Message-
From: Muller, Anthony [mailto:anthony.mul...@sap.com]
Sent: jeudi 10 mai 2012 22:34
To: Daniel Kulp; users@cxf.apache.org
Subject: RE: Weblogic 10.3 - Impossible to deploy
Thanks very
Thanks very much Daniel, I will look at these suggestions.
Regards,
Anthony
-Original Message-
From: Daniel Kulp [mailto:dk...@apache.org]
Sent: jeudi 10 mai 2012 22:28
To: users@cxf.apache.org
Cc: Muller, Anthony
Subject: Re: Weblogic 10.3 - Impossible to deploy
On Thursday, May 10
Hello,
I'm trying to deploy a SOAP webservice into a Weblogic 10.x server and I
encountered many problems :(
In my WAR, I added a weblogic-application.xml file in order to ask to weblogic
to use classes coming from my webapp first.
The last exception I get is the one bellow, but I don't see ho
/04/12 15:30, Muller, Anthony wrote:
> Hello,
>
> I'm trying to evaluate what it can be done using CXF + Atom but it is quite
> difficult to find information about this topic...
>
> Do you have sample somewhere?
We have some documentation here:
http://cxf.apache.org/docs/ja
Hello,
I'm trying to evaluate what it can be done using CXF + Atom but it is quite
difficult to find information about this topic...
Do you have sample somewhere?
I'm starting to write a atom provider... Is it the good way to proceed?
Moreover, it is some documentation about OData support in C
user-agent=[Java/1.6.0_25],...
Anthony
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: jeudi 29 mars 2012 17:23
To: users@cxf.apache.org
Subject: Re: CXF and optional entity parameters
Hi Anthony
On 29/03/12 15:27, Muller, Anthony wrote:
> Thanks Sergey
Hello,
Do you have an example to configure XSD validation (only incoming payloads)
without Spring?
Thanks!
Anthony
(getContext().getHttpServletRequest().getContentLength() <=
0) {
return null;
}
return super.readFrom(type, genericType, anns, mt, headers, is);
}
}
-Original Message-
From: Muller, Anthony [mailto:anthony.mul...@sap.com]
S
com]
Sent: mardi 27 mars 2012 17:11
To: users@cxf.apache.org
Subject: Re: CXF and optional entity parameters
Hi
On 27/03/12 15:09, Muller, Anthony wrote:
> Hello,
>
> I did not find the answer of this issue.
>
> Everything works perfectly when "entity" (a JAXB pojo) is not
Hello,
I did not find the answer of this issue.
Everything works perfectly when "entity" (a JAXB pojo) is not null.
@Path("/")
public class myClass {
@PUT
@Path("/{p1}/something/{p2}/something/{p3}/something/{p4}")
@Consumes(MediaType.APPLICATION_XML)
Response updateStuff(
was blocked, now both xsi:type and
xsi:nil will be blocked if that property is set to false
Cheers, Sergey
On 03/10/11 10:51, Muller, Anthony wrote:
> Hello,
>
> I tried to remove:
>
> final Map namespaces = new HashMap();
> namespaces.put("http://www.w3.org/2001/XML
property, if set to
false, can probably block that xsi:null...
You may also want to experiment with Jackson which is probably is less
dependent on the way JAXB operates, as opposed to Jettison
Cheers, Sergey
On 03/10/11 10:36, Muller, Anthony wrote:
> Hey Sergey!
>
> I found a solution to
ck trace ?
> I'll add a test on my own a bit later on, I have few tests where
> customized JAXB and JSON providers are used (these are effectively
> overriding default ones),
> Will get back to you asap - may be Monday
> Thanks, Sergey
>
> On 30/09/11 15:50, Muller, Anth
s identical and I have a test
where exception mappers are registered from CXFNonSpringJaxrsServlet and
Application.
I'm wondering if it is an OSGI issue ? Do you have javax.ws.rs.ext
imported ?
On 30/09/11 11:23, Muller, Anthony wrote:
> Thanks for your help Sergey. Sorry, it&
utput - java.lang.IllegalStateException: Invalid
JSON namespace
That looks OK.
How do you register it ? From Application instance or via servlet init
params ? Give me more info please
Cheers, Sergey
On 30/09/11 11:10, Muller, Anthony wrote:
> Yes, it's what I did. Do you see something wrong?
nd that will do -
Cheers, Sergey
On 30/09/11 10:47, Muller, Anthony wrote:
> Hi Sergey,
>
> Are you sure that "org.apache.cxf.jaxrs.provider.JSONProvider" doesn't have
> the @Provider annotation?
>
> I found it in "cxf-2.3.3.jar" yet :-/
>
> Anthony
&
rclasses - that will need to
be improved in CXF
Let me know please if that works
Cheers, Sergey.
On 30/09/11 09:38, Muller, Anthony wrote:
> Hey Sergey,
>
> I'm trying to follow your advice and I inherited from JSONProvider class and
> just set "ignoreNamespace"
le
properties on providers registered from web.xml...
Cheers, Sergey
On 27/09/11 10:41, Muller, Anthony wrote:
> Hello,
>
> I have an issue when I try to get a JSON output, using a JAXB object, of my
> REST webservice. (XML output is ok.)
>
> My webservice is running without
roperty as needed on the superclass. And register it
with the servlet using a jaxrs.providers parameter.
Another option is try registering Jackson.
I should probably do some enhancement for users be able to set simple
properties on providers registered from web.xml...
Cheers, Sergey
On 27/09/
Hello,
I have an issue when I try to get a JSON output, using a JAXB object, of my
REST webservice. (XML output is ok.)
My webservice is running without using Spring.
Can you help me? I don't know how to fix it despite browsing many websites from
Google.
Cheers,
Anthony
The exception is:
ja
Hello,
I put CXF 2.3.3 in an osgi bundle and I'm trying to use it from other "webapp"
bundles.
I'm using JAXRS to expose a REST webservice. It is configured thanks to
CXFNonSpringJaxrsServlet. I define "jaxrs.serviceClasses" servlet param in the
web.xml.
My problem: at startup, CXF tries to l
Ok, I think I understand!
Thanks Sergey,
Anthony
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: vendredi 10 juin 2011 17:02
To: users@cxf.apache.org
Subject: Re: CXFNonSpringJaxrsServlet and JAX-RS questions
Hi
On Fri, Jun 10, 2011 at 2:45 PM, Muller
Hello,
I have quite basic questions about JAX-RS support in CXF (2.3.3) :
- If you look at servlet code and web.xml descriptor bellow, is it the good way
to expose a REST ws (without using spring)
- How to remove "sf.setAddress("http://localhost:8080/";)" ? => I don't know
what will be the port
lto:d...@sosnoski.com]
Sent: vendredi 11 mars 2011 12:07
To: users@cxf.apache.org
Cc: Muller, Anthony
Subject: Re: CXF 2.3.x and WS-SecureConversation protocol
Hi Anthony,
You can try out my CXF samples from the articles
http://www.ibm.com/developerworks/java/library/j-jws15/index.html and
http://www.ib
Hello,
I'm looking for a way to secure exchanges between an applet (based on Java 6
without any CXF jars) and a SOAP webservice based on CXF.
I read about WS-SecureConversation on the CXF website but it's not enough in my
case:
http://cxf.apache.org/docs/ws-secureconversation.html
Please, coul
56 matches
Mail list logo