Re: WebApplicationExceptionMapper not being called

2019-12-26 Thread Ivan Junckes Filho
rty I mentioned earlier. Changing it to false, it works. On Thu, Dec 26, 2019 at 1:33 PM Andriy Redko wrote: > Hi Ivan, > > Please correct me if I misunderstood the case > > > Hello guys, I am trying to log the exception thrown by > > WebApplicationExceptionMapper but the exc

Re: WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
Thanks Romain, it seems using a ContainerRequestFilter did the job. I will open a ticket. On Wed, Dec 25, 2019 at 2:45 PM Romain Manni-Bucau wrote: > Hi Ivan > > You can set it with a cxf interceptor or even jaxrs filter but looks like a > bug, at least the default. Default should

Re: WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
c 25, 2019 at 10:23 AM Ivan Junckes Filho wrote: > Hello guys, I am trying to log the exception thrown by > WebApplicationExceptionMapper but the exception mapper is never called. > > Instead of calling it tomee calls ExceptionUtils.convertFaultToResponse. > Even writing a new

WebApplicationExceptionMapper not being called

2019-12-25 Thread Ivan Junckes Filho
Hello guys, I am trying to log the exception thrown by WebApplicationExceptionMapper but the exception mapper is never called. Instead of calling it tomee calls ExceptionUtils.convertFaultToResponse. Even writing a new default exception mapper doesn't work. Anyone knows how can I print the excepti

Re: [VOTE] Apache CXF 3.2.9, CXF 3.3.2, and cxf-build-utils 3.4.2

2019-05-10 Thread Ivan Junckes Filho
+1 On Fri, May 10, 2019 at 12:36 PM Daniel Kulp wrote: > > This is vote to release CXF 3.2.9 and CXF 3.3.2. 3.3.2 also required the > release of cxf-build-utils 3.4.2 to pickup the new PMD config required by > the new PMD maven plugin. This fixes over 30 JIRA issues reported by > users. > > >

Re: Issue while uploading file

2019-03-26 Thread Ivan Junckes Filho
Same issues in all scenarios Dani :/ On Tue, Mar 26, 2019 at 11:55 AM Daniel Cunha wrote: > Hi Ivan, > > what happening if you don't define the type? > @Multipart(value = "anexo") Attachment anexo > > Em ter, 26 de mar de 2019 às 11:51, Daniel Cunha > esc

Re: Issue while uploading file

2019-03-26 Thread Ivan Junckes Filho
quot;http.url","type":6,"value":" http://localhost:8080/crvirtualdemandas/api/processos/anexo/upload/1 "},{"key":"http.method","type":6,"value":"POST"}],"duration":1,"id":22,"kind&q

Issue while uploading file

2019-03-26 Thread Ivan Junckes Filho
Hey guys, I am getting this issue while uploading a file. Anyone know why this is happening? https://stackoverflow.com/questions/45075798/cxf-no-message-body-reader-has-been-found-for-class-attachment

Re: New Release

2019-03-19 Thread Ivan Junckes Filho
Ok thanks! On Mon, Mar 18, 2019 at 6:34 PM Colm O hEigeartaigh wrote: > We typically only release every 8 weeks or so, and we just had a release 2 > weeks ago. > > Colm. > > On Mon, Mar 18, 2019 at 1:36 PM Ivan Junckes Filho > wrote: > > > Hey guys, anyone? :) >

Re: New Release

2019-03-18 Thread Ivan Junckes Filho
Hey guys, anyone? :) On Thu, Mar 14, 2019 at 9:27 AM Ivan Junckes Filho wrote: > Hey guys, is there any release coming soon? I would like to have the > commit below in the next microprofile TomEE release. > > > https://github.com/apache/cxf/commit/c6ec2a2db4f790b0eda782c62

New Release

2019-03-14 Thread Ivan Junckes Filho
Hey guys, is there any release coming soon? I would like to have the commit below in the next microprofile TomEE release. https://github.com/apache/cxf/commit/c6ec2a2db4f790b0eda782c6260c2149c91c0991 Can anyone do it?

Re: RestClient issue - different apps with same client

2019-03-13 Thread Ivan Junckes Filho
Thanks Romain, I will see if I can fix this. On Tue, Mar 12, 2019 at 6:01 PM j4fm wrote: > https://issues.apache.org/jira/browse/CXF-7980 > > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html >

RestClient issue - different apps with same client

2019-03-12 Thread Ivan Junckes Filho
Hey guys, there is a very annoying bug when using rest client from cxf 3.2.7 in TomEE M2. When 2 apps have the same client the server throws the error below and shuts down? Shouldn't we allow different apps in the same server use the same client? *Error* Caused by: org.apache.webbeans.exception.W

Simplify classloading for asm classes in ASMHelper

2013-06-20 Thread Ivan
er copy of asm). I understood that it may not a big issue, while it will be better that we could improve this, it is mostly useful in an OSGi based application server, as those ASM classes may not be visible to the app classloader. Thoughts ? -- Ivan

Re: CXF-4893 Downgrade the log level for buildServiceFromWSDL and buildServiceFromClass in the o.a.cxf.service.factory.ReflectionServiceFactoryBean

2013-03-18 Thread Ivan
See my comments ;-) On 2013-3-18, at 下午5:03, Ivan wrote: > Hi, > > Firstly, I agree that, outputing which WSDL file is used is important for > the end users, so I would suggest to do that in the ServiceImpl, think we > should already have the WSDL info there. It's not only

Re: CXF-4893 Downgrade the log level for buildServiceFromWSDL and buildServiceFromClass in the o.a.cxf.service.factory.ReflectionServiceFactoryBean

2013-03-18 Thread Ivan
p://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: @Freeman小屋 > > On 2013-3-18, at 下午3:33, Ivan wrote: > > > Hi, devs, > > > > I hope that we could re-consider the logging level issue for CXF-4893 > about > > changing the log lev

CXF-4893 Downgrade the log level for buildServiceFromWSDL and buildServiceFromClass in the o.a.cxf.service.factory.ReflectionServiceFactoryBean

2013-03-18 Thread Ivan
common client codes writing practice. Thoughts ? [1] http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F -- Ivan

Re: autoRewriteSoapAddress property

2013-03-15 Thread Ivan
gt; > > > > > > > Is there any story behind the scene why not just used the one in the > wsdl > > > file, i.e. http://a.b.com/services/hello? > > > > > > I ask because with that I don't need specify the publishedEndpointUrl > > > property explicitly, but could define it in the wsdl file. > > > > > > Any comments are appreciated. > > > > > > -- > > > Lei Wang (Rex) > > > rwonly AT apache.org > > > > > > > > > -- > Lei Wang (Rex) > rwonly AT apache.org > -- Ivan

Re: Can anybody take a look at CXF-4836?

2013-03-12 Thread Ivan
= (SOAPBinding) bp.getBinding(); > >>> binding.setMTOMEnabled(true); > >>> > >>> However, it reports such error: > >>> > >>> javax.xml.ws.WebServiceException:Port > >>> {http://shengym.com/MyBusiness/} > >>> > >>> MTOM11Port not found. > >>> org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:332) > >>> org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:323) > >>> javax.xml.ws.Service.getPort(Service.java:134) > >>> > >>> I know that the added following code can fix this error: > >>> svc.addPort(portName, SOAPBinding.SOAP11HTTP_MTOM_BINDING, mtom11URL); > >>> > >>> Well, this error should not report even the addPort method is not > called. > >>> I know the added check in ServiceImpl is to avoid run time error and > >>> report it as early as possible. But I think it is not needed. The > >>> reasons are: > >>> 1. User can get run time error later; > >>> 2. User can set target addess info and bind info in other ways (as my > >>> example shows) > >>> > >>> I remove the check from the ServiceImpl then my client code works well. > >> > >> > > -- > Daniel Kulp > dk...@apache.org - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > > -- Ivan

Is there a place to hold all the supported properties in CXF ?

2013-02-15 Thread Ivan
/Client+HTTP+Transport+%28including+SSL+support%29 Thanks -- Ivan

Re: Incompatible fault type is generated in the wsdl with RI command

2012-10-17 Thread Ivan
d Hat > Web: http://fusesource.com | http://www.redhat.com/ > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-10-17, at 下午11:53, Ivan wrote: > > > Hi, with the except

Re: Incompatible fault type is generated in the wsdl with RI command

2012-10-17 Thread Ivan
ould use that to generate the fault message, but when the client > receives the message, we would not be able to map the "info" and "message" > elements into anything that could be put into the exception that is thrown > back to the client. Thus, that information woul

Use of new String(String value) constructor in CXF codes ?

2012-09-26 Thread Ivan
DOM level 3 } } readDocElements(doc, doc, reader, true, recordLoc); return doc; } Thanks -- Ivan

Re: Provide a dialect mechanism for the stax things

2012-09-19 Thread Ivan
the factory in the blocking queue. 2012/9/20 Daniel Kulp > > On Sep 19, 2012, at 9:14 AM, Ivan wrote: > > > Now, CXF uses a StaxUtils to hold all the stax related things, while it > > only consider the woodstox and have optimization codes for that. How > about > >

Re: Why is RI JAXB context is required in JAXBDataBinding class ?

2012-08-16 Thread Ivan
After reading the things on http://cxf.apache.org/docs/jaxb.html , seems that CXF depends on RI JAXB implementation, right ? So, could CXF work with other JAXB impl ? 2012/8/16 Ivan > Thanks so much, Freeman. So, does it mean that CXF is depending on RI Jaxb > impl ? Is there any sto

Re: Why is RI JAXB context is required in JAXBDataBinding class ?

2012-08-16 Thread Ivan
:ff...@fusesource.com > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-8-16, at 上午9:51, Ivan wrote: > > > Thanks for the info, I have used s

Re: Why is RI JAXB context is required in JAXBDataBinding class ?

2012-08-15 Thread Ivan
port CXF. > > Freeman > - > Freeman Fang > > FuseSource > Email:ff...@fusesource.com > Web: fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > >

Re: Why is RI JAXB context is required in JAXBDataBinding class ?

2012-08-15 Thread Ivan
fusesource.com > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-8-15, at 下午4:57, Ivan wrote: > > > I am trying to use CXF 2.6.1 in OSGi environment, as jdk 6 does not ship

Why is RI JAXB context is required in JAXBDataBinding class ?

2012-08-15 Thread Ivan
ass name, as I repackaged the RI jaxb impl for some other reasons. Thanks. -- Ivan

Re: Bus instance sharing among different ports ?

2012-07-08 Thread Ivan
across these endpoints. > > > On 7/4/12 11:40 PM, Ivan wrote: > >> Hi, from the design side, is it too heavy to create one bus instance for >> each web service port ? If does, let's say, I have many serviceBeans, some >> of them are required to enable ws-security,

Bus instance sharing among different ports ?

2012-07-04 Thread Ivan
tance and does it mean that all those interceptors and policy builder will be involved in the message processing ? Thanks. -- Ivan