Hi All,
Am encountering the error above on one server _but not the other._ The
method to be displayed is just an implementation of an interface, so as
a result it is a public method. The most that I could find from the
threads related to this error is that the methods are not visible.
The
Hi All,
I am already able to retrieve the endpoint using the following:
Exchange exchange = ...;// retrieved from message
exchange.getEndpoint().getEndpointInfo().getName()
I was wondering if it is possible to retrieve the actual service method
invoked. Am doing all this at a registered out
Hi Sergey,
Thanks!!! Just to note:
1. OperationInfo opInfo = ex.get(OperationInfo.class); works for SOAP
2. Object nameProperty =
ex.get(org.apache.cxf.resource.operation.name); works for ReST
Just curious though. I just noticed that if the method is mapped to the
root path (for ReST), e.
Hi All,
This is something we encountered by accident while trying to create a
client for mobile. Given the following:
@GET
@Path(/Bar/)
public Bar getBar(
@QueryParam(barID)
@WebParam(name=barID)
long barID)
throws Exception;
I invoke the
;foo=321
then replace a Message.QUERY_STRING in a request filter by replacing ';'
with '?' in the original query
http://1.1.1.1/Bar/barID=1234;foo=321cheers, Sergey
On Wed, Jun 23, 2010 at 8:04 AM, Gabo Manuel kman...@solegysystems.comwrote:
Hi All,
This is something we encountered
Hi All,
Not exactly an issue, more of, wouldn't it be better to just let it
slide with a warning than throw an error?
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1
counts of IllegalAnnotationExceptions
@javax.xml.bind.annotation.XmlTransient annotation is found on two
Hi Ted,
Try:
message.getExchange() from an interceptor
or
PhaseInterceptorChain.getCurrentMessage().getExchange() for a more
generic approach.
If you really need access to the session, afaik, the Exchange object has
a getter for the session.
Not sure if this answers your question.
Gabo
On Mon, Mar 29, 2010 at 9:25 AM, Gabo Manuel kman...@solegysystems.comwrote:
Hi Team,
Given the following:
@WebService(name=FooService,
targetNamespace=http://foos.domain.com/;)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/xml)
@Produces(text/xml)
@Path(/Foos)
public interface
Hi Steve,
This is something I got from Dan before:
You could do it without the injection since you are relying on CXF specific
code making it non portable. Just do:
PhaseInterceptorChain.getCurrentMessage().getExchange().
That should give you the exchange you need.
Dan
Hth.
Gabo
Hi Ernst,
I do not think that is how Exchange works. My suggestion is for your
client's out interceptor to place those values as header parameters.
Then your server in interceptor to catch those headers and place it in
the message's exchange.
Hth.
Gabo
Ernst Oberortner wrote:
i'm
Anyone? :'(
Gabo Manuel wrote:
Hi Team,
Given the following:
@WebService(name=FooService,
targetNamespace=http://foos.domain.com/;)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/xml)
@Produces(text/xml)
@Path(/Foos)
public interface FooService{
@GET
@Path
Hi Team,
Given the following:
@WebService(name=FooService,
targetNamespace=http://foos.domain.com/;)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/xml)
@Produces(text/xml)
@Path(/Foos)
public interface FooService{
@GET
@Path(/)
@WebMethod
@WebResult(name=Foo)
having no JAXRS parameter annotations)
that can be linked to a corresponding element in the grammar section...
cheers, Sergey
On Tue, Mar 9, 2010 at 5:09 AM, Gabo Manuel kman...@solegysystems.comwrote:
Hi All,
Just would like to inquire how to make certain set of enums show in the
wadl
Hi All,
Just would like to inquire how to make certain set of enums show in the
wadl. Given the following:
@WebService(name=MyService,
targetNamespace=http://some.domain.com/;)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/xml)
@Produces(text/xml)
@Path(/MyService)
public
Hi Sergey,
Just to confirm. Both features will be included in 2.2.7 or are they
already included in 2.2.6?
Thanks again!
Gabo
Sergey Beryozkin wrote:
I've updated the WADL Generator to support the inclusion of the
external schemas. The following options are supported :
1. Schemas are
Hi All,
A few questions:
1. On methods annotated as POST/PUT/DELETE, should the parameters be
using @QueryParam or @FormParam. I see no compilation error in using
both, but I see no change in the generated WADL. Actuallt, using
@FormParam still yields the WADL generated as style=query
2. I
Hi Yong-Loh,
I'll be giving this a shot:
1. The link you provided the following:
We use Tomcat as the container. After deploying the war, when I try to
hit the URL from the
browser(http://localhost:8080/ServiceLayer/detail/), its giving the
below warning.
I am assuming that the folder
. It does not have
any resource with path '/detail'. The other one with '/content' is working
fine without even giving the parameters in the URL.
Whats going wrong?
Thanks Regards,
Yong-Loh
Gabo Manuel wrote:
Hi Yong-Loh,
I'll be giving this a shot:
1. The link you provided the following:
We use
Message - From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Sent: Thursday, January 28, 2010 11:56 AM
Subject: Re: [Fwd: Re: [CXF-2.2.5][Spring2.5.5][jre1.5] No mapped method]
Hi Sergey,
Thanks for the info on how to set up the debug. The result
---BeginMessage---
Hi Sergey,
I added the following details:
1. I have the interceptor that processes the authentication details
display the http method.
2. I have the methods display the http method
The code I used to retrieve the method is as follows:
Gabo
Gabo Manuel wrote:
Subject:
Re: [CXF-2.2.5][Spring2.5.5][jre1.5] No mapped method
From:
Gabo Manuel kman...@solegysystems.com
Date:
Thu, 28 Jan 2010 06:44:21 +
Hi Sergey,
Sorry for the troubles. It's a red herring, something to do with the
securities set by our Sys Admin. I see the the transactions recorded as:
222.127.215.98 - - [25/Jan/2010:04:40:53 +] POST
/MyService/?comment=test HTTP/1.1 401 0
222.127.215.98 - - [25/Jan/2010:04:40:53
);
After changing this to text/xml. POST and DELETE succeeded.
Remaining issue:
1. Why was no exception thrown?
2. Why did it revert to GET?
3. PUT still requires that basic authentication, although I would be
checking with our SysAdmin. I think this would be server specific.
Gabo
Gabo Manuel
Hi Sergey,
Given he following:
@WebService(name=MyService, targetNamespace=http://some.domain.com/;)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(text/xml)
@Produces(text/xml)
@Path(/)
public interface MyService {
@GET
@Path(/search/)
@WebMethod
qualified, and would be more
cumbersome in other cases as it would require users to list all the
elements, but it would be easy to fix.
XSLTJaxbProvider wiull also work both ways
cheers, Sergey
- Original Message - From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Sent
Hi All,
To explain the scenario, we provide back-end support for service
providers. The end client therefore should have no knowledge we exist.
Is there a way to configure from a text file the namespace to be used by
the service classes and objects involved? This way there would be no
need
Hi Sergey,
Sorry about that. But you did get the idea tho. :D
Is it the wadl:request element which has no links to the schema types
? If yes then it is expected when @Consumes is set to */*, given that
it may even be that only a non-XML format which is accepted by a
method...
Shouldn't the
Hi Sergey,
Re: prefix definition
I tried to view page source, and the prefix definition is there. I think
this behavior is just with firefox, did not need to do this with IE.
Re: interceptor check for _wadl
Yep, did the same after I sent the email before.
Re: */*
If I set the annotation
to the
local
name ?
cheers, Sergey
Gabo Manuel wrote:
Hi Sergey,
I am a bit confused. How do I supply the namespace needed? I
thought the package-info.java would be enough.
Yes, for now I would be limiting the consume to just text/xml. The
initial intent was to take advantage of CXF's handling
Hi,
Just a pair of questions, is the message subject the exception message
encountered? And, is the MessageBodyWriter intentionally marked as List
while the method response is Collection? I think making it the other way
around should set it straight.
Gabo
rconline wrote:
Hi Guys,
Read
a nillable (or minOccurs=0) element in
it.
Dan
On Fri September 4 2009 4:27:04 am Gabo Manuel wrote:
Hi All,
I developed a basic crud service. It is set to RPC/Lit. Everything works
fine for valid transactions, i.e. those with non-null results. But when
I try to retrieve a non-existing record
Hi Kynan,
I am not sure if this answers your question, I'll try:
These are what I use for an inbound handler extending
AbstractPhaseInterceptorMessage at phase Phase.RECEIVE
1. message.get(Message.BASE_PATH) would give you the path
2. message.get(Message.QUERY_STRING) should give you
Hi All,
I generated client code using wsdl2java tool using the following command:
wsdl2java -client http://domain/service?wsdl
The service is also using CXF. But as I try to create the client service:
Service_Service service = new Service_Service(new
URL(http://domain/service?wsdl;);
I get
is what's found on the classpath.
Dan
On Tue September 1 2009 3:50:23 am Gabo Manuel wrote:
Hi All,
I generated client code using wsdl2java tool using the following command:
wsdl2java -client http://domain/service?wsdl
The service is also using CXF. But as I try to create the client service
actually link to some other non-WADL
namespace.
WADL processors should have no problems in processing 'prefix1'/prefix2',
etc, 'tns' won't be even visible to them
cheers, Sergey
Gabo Manuel wrote:
Hi Sergey,
A few things:
1. I have both XmlRootElement and XmlType annotations in my object. I
Sergey Beryozkin wrote:
Hi Gabo
MyObject has @XmlRootElement with only a local name specified. Does
package-info.java has a namespace specified too, in addition to the local
name ?
cheers, Sergey
Gabo Manuel wrote:
Hi Sergey,
I am a bit confused. How do I supply the namespace needed? I
Hi Sadhana,
Any chance that an out interceptor is enclosing the result? I think the
generation of wadl is still treated as a regular transaction so all in
and out interceptor chains apply.
Gabo
Sadhana Jain wrote:
Hi Sergey,
Thanks for the WADL generation support in CXF JAX-RS
link to a generated
schema element
thanks for raising this issue
Sergey
Sergey Beryozkin wrote:
Hi Gabo
MyObject has @XmlRootElement with only a local name specified. Does
package-info.java has a namespace specified too, in addition to the local
name ?
cheers, Sergey
Gabo Manuel
on the
map
cheers, Sergey
Gabo Manuel wrote:
Hi Sergey,
Sorry for the late response. I may have misrepresented the method, it
should be as follows:
@WebService(name=MyObjectService)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/*)
@Produces(text/xml)
@Path(/MyObjects)
public
Hi Sergey,
Sorry for the late response. I may have misrepresented the method, it
should be as follows:
@WebService(name=MyObjectService)
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
@Consumes(*/*)
@Produces(text/xml)
@Path(/MyObjects)
public interface MyObjectService{
@GET
@Path(/)
Hi Sergey,
Actually, I want the opposite to happen in my case. I do not want the
stacktrace to get included in the response. And at certain cases, hide
the actual error altogether. An email to maintenance (me) would include
the stacktrace. Mappers are enough for my needs right now.
Gabo
Hi Dan,
Thanks for the response. I'll see what I could do from the
MediatorInInterceptor class you mentioned. But for now, I'll stay with
the multiple tags. :)
Thanks!
Gabo
Daniel Kulp wrote:
On Thu August 13 2009 5:10:08 am Gabo Manuel wrote:
Hi Guys,
Just want to check
Hi Sergey,
I just want to say that the service list page looks great! And the wadl
display in firefox is perfect. Kudos!!
Gabo
Gabo Manuel wrote:
Hi Sergey,
I sent one directly to your iona address.
Also, I'll take note of that. Good thing you mentioned that. It would
have driven me
Hi Nono,
is there some documentation around on how to do them both together ?
The only thing close to it I found is this blog entry :
http://sberyozkin.blogspot.com/2008/07/rest-and-soap-united-in-cxf.html
which makes it seems not straightforward.
I am not sure how it is not as
Hi Sergey,
By looking at the generated WADL, how does one tell if there is an
expected payload with the method involved. If I have the following
annotated method:
@PUT
@Path(/somepath/)
@WebMethod
@WebResult(name=result)
public long insert(
Object ap,
. Then the
blog entry is speaking of filters which can of afraid me :$
thanks again, digging in :)
++
2009/8/14 Gabo Manuel kman...@solegysystems.com:
Hi Nono,
is there some documentation around on how to do them both together ?
The only thing close to it I found is this blog entry :
http
Hi Sergey,
Sergey Beryozkin wrote:
Hi Gabo
I'm wondering, how I can reproduce it...
I have two exception mappers in the system tests area, the first one
catching an application exception,
the second one a spring security exception.
I've tried updating the status code in [1] from 500 to 401
of extending the implementation
such that if the first matching resource has no matching operation then then
next matching one, if any, is tried next.
cheers, Sergey
Gabo Manuel wrote:
Hi Sergey,
Sergey Beryozkin wrote:
I'm not sure we can do it at the XML level, XML Parsers used
Hi Sergey,
Just tested the recent release 2.2.3. I was able to retrieve the
generated wadl using _wadl. Some comments:
1. The resources tags could use a new line after the closing tag for
readability. Just a nice to have.
2. Example:
Class 1 is annotated with @Path(/Service)
Class 2 is
Hi All,
I created and registered an ExceptionMapper implementation as follows:
public class RuntimeExceptionMapper implements
ExceptionMapperRuntimeException{
private static Logger logger =
Logger.getLogger(RuntimeExceptionMapper.class);
public Response toResponse(RuntimeException
Hi Sergey,
Sergey Beryozkin wrote:
I'm not sure we can do it at the XML level, XML Parsers used by Firefox/IE
would just most likely
skip it as the ignorable whitespaces. HTML WADL view will also be
done/available later on and it will make the whole WADL instance more readable,
I was
Hi Sergey,
By default, pluralized XMLRootElement name attribute will be used as a
wrapper, namespace-prefixed if needed, if no name attribute is there then a
lower-case pluralized class name will be used.
Just tested the latest release 2.2.3. The rest services handle the
collections. Just a
Hi Dan,
Daniel Kulp wrote:
You could do it without the injection since you are relying on CXF specific
code making it non portable. Just do:
PhaseInterceptorChain.getCurrentMessage().getExchange().
That should give you the exchange you need.
Thanks!! That did exactly what I needed.
Hi Sergey,
If you use exchange to get to one of the message properties inside the
application code then I believe you can use JAXWS WebServiceContext and
CXF JAX-RS MessageContext extension...
That is exactly the work-around I mentioned. However, it would be nice
if I could reduce it to
Hi Dan, Sergey,
On Thu June 4 2009 4:46:25 am Ga
@Resource
private Exchange exchange;
The main reason is that JAX-RS, by default, creates a new instance per request
and thus is injected per request.
Not sure what exactly I changed and I cannot trace it anymore, the
Exchange
Hi All,
Problem #1 :
I am implementing a service with both WS and RS annotations. I encounter
the following problem:
@Resource
private Exchange exchange;
@GET
@Path(/)
@WebMethod
@WebResult(name=object)
public Object getObject(long id) {
Hi Neale,
This might be similar to this case:
http://www.nabble.com/After-updating-to-2.1.4:-No-DestinationFactory-was-found-for-the-namespace-http:--schemas.xmlsoap.org-soap-http-td21952242.html
or this:
Hi Dan,
Just want to say thanks. I checked the latest release (2.2.1) and works
like a charm.
Gabo
Daniel Kulp wrote:
On Tue April 14 2009 6:14:29 am Gabo Manuel wrote:
Hi Dan,
Any update on this issue? I mean, if there is a work around (use Aegis
data binding perhaps?)?
Just
Hi Sergey,
Sorry for the late reply. I have just tested 2.2.1 and it works for both
IE and firefox. Thanks again!
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Either way, I'll get it fixed for 2.2 (the issue highlighted by your
original example)
Not in a rush. :) I doubt the client is going to
Hi Sergey,
Sorry for the late reply. I have just tested 2.2.1 and it works for both
IE and firefox. Thanks again!
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Either way, I'll get it fixed for 2.2 (the issue highlighted by your
original example)
Not in a rush. :) I doubt the client is going to
Hi Vishal,
In what way does the call to the second method fail? Does it get
invoked? Are the parameters empty or null? Was the post request properly
structured (you can check using tcpmon or some similar tool)?
Gabo
Vishal.a wrote:
Hello All,
I am trying to haave multiple POST methods
Hi Dan,
Any update on this issue? I mean, if there is a work around (use Aegis
data binding perhaps?)?
Thanks in advance.
Gabo
P.S. Did you receive the attachment in my previous reply?
Daniel Kulp wrote:
On Tue March 31 2009 12:04:05 am Gabo Manuel wrote:
Hi Dan,
I saw your latest
Hi Dan,
Daniel Kulp wrote:
Ah. Didn't realize this was a java first thing producing that wsdl. The
JIRA item just really mentioned running wsdl2java on the wsdl.
Sorry I forgot to mention that in the subject. But yes, this is a java
first service.
Hmmm Any chance of getting the
be applying. The zip got
stripped off by Apache's mailer. Could you file a JIRA and attach?
Thanks!
Dan
On Wed March 25 2009 5:55:20 am Gabo Manuel wrote:
Hi All,
I have a service deployed using CXF and was planning to test it using a
CXF client as well. Attached is a zip file containing
Hi All,
I have a service deployed using CXF and was planning to test it using a
CXF client as well. Attached is a zip file containing the service and
the wsdl generated.
However, when I issue the following:
D:\java\cxf\apache-cxf-2.2\binwsdl2java -ant -client
-autoNameResolution -exsh true
component has a file META-INF/spring.handlers, jaxws
and jaxrs componets ship such files. It appears Spring can not find
these files for some reasons on the classpath...
Cheers, Sergey
- Original Message - From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Cc: Daniel Kulp dk
Hi Sergey,
Thanks for that. I did not notice that part. It was the cause of the
problem. Sorry for the trouble. :(
Its going through now.
Gabo
Sergey Beryozkin wrote:
Hi,
Actually, CXF 2.2 depends on Spring 2.5.x, while you.re using Sppring
2.0.6 (as the subject says) - can that be the
mentioned the Spring version in the subject in the
first email in this thread and we noticed it only today, LOL :-)
Cheers, Sergey
- Original Message - From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Sent: Tuesday, March 24, 2009 12:19 PM
Subject: Re: [CXF2.2][IPLANET6sp6
Hi All,
I encountered this during one of my test:
Service.java:
@GET
@Path(/search/)
@WebMethod
public MyObjects getMyObjects(
@HeaderParam(uri)
@WebParam(name=searchObject)
SearchObject so) {
}
SearchObject.java:
@XmlRootElement
Hi All,
Just to add, the exception does not have a cause. fault.getCause()
returns null. :(
Gabo
Gabo Manuel wrote:
Hi All,
I encountered this during one of my test:
Service.java:
@GET
@Path(/search/)
@WebMethod
public MyObjects getMyObjects(
@HeaderParam(uri
Hi Dan,
Are you using something like dependency:unpack-dependencies or something to
combine the various jars into a single jar/war? If so, that will DEFINITELY
cause this.
Nope. Unless it is used by something by default. I am not using any war.
Check the stuff you are deploying for a
Hi amine (or Salam?),
Try the following annotations in your object declaration:
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
@XmlType(name=MyObject)
@XmlAccessorType(XmlAccessType.PROPERTY)
Hi Sergey,
I have modified the beans.xml as follows:
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:jaxws=http://cxf.apache.org/jaxws;
xmlns:soap=http://cxf.apache.org/bindings/soap;
xsi:schemaLocation=
Hi All,
I was testing the web service I have created and it works without a
hitch when using HttpClient as ... well client. However, if I use I.E.
to check (haven't tested fire fox or any browser yet), I encounter the
following error:
javax.ws.rs.WebApplicationException
at
Hi,
I am not sure what you mean by all resource mappings but the following
should work:
@HeaderParam(Authorization) on a method parameter of a service
implementation will extract the authorization header.
Hth.
Gabo
CXFbanda wrote:
Hi,
I need to extract HTTP authorization header.
I am
Hi Sergey,
I'll wait for the fix. I cannot move the path annotation from the object
to the service since it is possible that the object involve has a whole
set of other fields. I also tried the following:
//an extra method
@GET
@Path(/search/)
@WebMethod
public MyObjects
that is better.
Gabo
Gabo Manuel wrote:
Hi,
I am not sure what you mean by all resource mappings but the following
should work:
@HeaderParam(Authorization) on a method parameter of a service
implementation will extract the authorization header.
Hth.
Gabo
CXFbanda wrote:
Hi,
I need
Hi Sergey,
Let me clarify that
Given:
@GET
@Path(/search/)
@WebMethod
public MyObjects getObjects(){
//this is the method that I was invoking... supposedly
//using a list wrapper as advised in the user's guide
return new MyObjects(new MyObject());
}
@GET
Hi Sergey,
I believe in your original post getObjects() had @Path(/), right ?
Yes. I have three methods all in all
/ maps to getObject (an individual record) and getObjectProperty (an
individual property of the record)
/search/ maps to getObjects (a list of records)
Either way, I'll get
Hi Sergey,
I checked your ExceptionMapper. I'm not able to find that much
difference other than I do some email notifications before returning the
response object. :'( Would me using the snapshot got anything to do with it?
I got lost somewhere after this:
Hi Sergey,
so I'll try to write one and see what happens.
Sorry for the late reply. I tried this again with the recent snapshot
and the headers are still lost unless I abort the interceptor chain.
The implementation I have extends AbstractPhaseInterceptorMessage.
Phase is at
=\+RestHandlerUtility.generateNonce(base_path)+\);
logger.debug(out message headers: + map);
logger.info(response: + response.getEntity());
As of this point, the entity still does not contain the Result tag
Again, my thanks.
Gabo
Gabo Manuel wrote:
Hi Sergey,
Can you also do System.out.println
lost)?
By the way, MultivaluedMap has Lists as values, so if you do prefer to
reuse the code which deals with Lists then you just use
MultivaluedMap.put(), add() is a utility method which creates a List if
it's not there...
Thanks, Sergey
-Original Message-
From: Gabo Manuel [mailto:kman
Hi Sergey,
Is it possible to specify a custom provider from an ExceptionMapper
implementation? Or maybe a work around to remove the tags? I was hoping
to avoid the chain-abort work-around.
Again, my thanks.
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Many thanks for creating the JIRAs.
Hi Sergey,
Can you also do System.out.println(response.getEntity().toString())
in your mapper, before returning ?
2009-02-17 06:25:53,024 | INFO [l0-0][ SolegyFaultMapper]
entity: The server encountered some error. Involved personnel have been
notified of this incident. Please
would be very welcome.
Regards
Gabo Manuel wrote:
Hi All,
I am currently trying to implement a ReST service and was hoping to put
some security to it. Afaik, WS-security is already not an option since I
am not exposing a SOAP service (am I wrong here?).
I tried searching the forums for some
Hi Sergey,
Thanks for the quick reply. Well, I would be using the same set of
providers for what I am working on. But yes, I'll keep that in mind.
I'm not sure which Result tag you're referring to - I couldn't find
any references on the wiki.
I keep getting this in the tcpmon:
Hi All,
I was just wondering if there is a possibility to acquire the actual
Exception object, and maybe even replace it with another Exception
through interceptors.
I was already able to change the response code (400 or 500) depending on
whether the exception was a checked exception or
- From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Sent: Thursday, February 12, 2009 10:11 AM
Subject: [JAX-RS] Fault handling
Hi All,
I was just wondering if there is a possibility to acquire the actual
Exception object, and maybe even replace it with another Exception
Hi Sergey,
Just to note down what I did from your suggestions.
Currently, I am using 2.2 snapshot. I have modified the code as follows:
1. I have defined the method as follows:
@GET
@Path(/{search:search.*})
public WSAccounts getAccounts(
@PathParam(search)
Hi Sergey,
Well done! :D
Some very minor things I noticed while studying:
1. Under Filters :
InputStream is = message.getContent(InputStream.class);
message.setContent(new MyFilterInputStream(is));
message.put(*m.put(*Message.ACCEPT_CONTENT_TYPE, custom/media);
The m is not a declared
for the assistance.
Gabo Manuel
Sergey Beryozkin wrote:
Hi Gabo
Both snapshots have a fix. Any problems that you see ?
Cheers, Sergey
- Original Message - From: Gabo Manuel
kman...@solegysystems.com
To: users@cxf.apache.org
Sent: Friday, December 12, 2008 7:50 AM
Subject: Re: [JAX-WS][JAX-RS
Hi Sergey,
Sorry for that. Ignore that email. It is working now. Old versions of
cxf and jsr were loaded in the class path. My mistake. :)
Gabo
Gabo Manuel wrote:
Hi Sergey,
I'm sorry it took this long for a response. I tried using CXF2.2
snapshot. All is working fine except
Hi Sergey,
It's correct. Given that you're running a 2.1.4-snapshot, you may
want to try
@Path(value=/search/{params}, unlimited=true)
Is there a way that the excess/pattern is not captured? Also, I think
the keyword is limited, I'm assuming the value would be false.
Hi Sergey,
Thanks for the update. I am currently testing 2.1.4-snapshot and the
annotations are not messing with each other now. :D
I'll try and test the 2.2-snapshot later on.
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Both snapshots have a fix. Any problems that you see ?
Cheers, Sergey
, that is the case. I did not annotate anything with bar. I'll
run the changes again. but I might be able to respond monday.
Again, my thanks.
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Gabo Manuel wrote:
Hi Sergey,
Any specifics on when the fix regarding regex would be uploaded to
any snapshot
Hi Sergey,
Any specifics on when the fix regarding regex would be uploaded to any
snapshot?
Also example I have the following annotations:
@GET
@Path(/search)
@ProduceMime(application/xml)
public Accounts getList
And I try to access /search/additional/path/here, if no other
Hi Sergey,
I am currently testing 2.1.4-snapshot.
Gabo
Gabo Manuel wrote:
Hi Sergey,
Any specifics on when the fix regarding regex would be uploaded to any
snapshot?
Also example I have the following annotations:
@GET
@Path(/search)
@ProduceMime(application/xml)
public
, can you put a breakpoint in
AbstractJAXBProvider.isReadable,
which JAXBElementProvider extends ?
Cheers, Sergey
Again, thanks for your time.
Gabo Manuel
No virus found in this incoming message.
Checked by AVG
Hi Sergey,
That's another thing I am a bit worried about. Which trail/version
should I be using. It is a new project, so somewhat clean slate so to speak.
Do you guys plan to support 2 (or more?) different version trails for a
long time? I'm thinking of using the version which includes the
1 - 100 of 143 matches
Mail list logo