Got it working after adding cxf dependency to manifest.mf again and adding
StringFramework module to JBoss.

The last two weeks were just crazy. Mysterious things happened. I know for
sure that interceptors worked before without adding the spring module to
JBoss, cause I am using same server since I've started this project

Anyway, I used this post
http://blog.brunoborges.com.br/2012/06/jboss-711-and-cxf-ws-client.html to
add SpringFramework module to JBoss and now Intercetpros and adding
Dependencies: org.apache.cxf services to manifest.mf worked.

i just hate not having an explanation on how it worked before and why
stopped working.

Thanks anyways.


On Mon, Feb 2, 2015 at 12:01 PM, Bernardo Corrêa <[email protected]>
wrote:

> You mean in manifest file? I tried that, but it complains about Spring
> dependencies that I could not find and add to JBsss modules (class not
> found ApplicationContext)..
>
> I thought CXF spring dependencies where enough.
>
> Thanks.
>
> On Mon, Feb 2, 2015 at 6:37 AM, Alessio Soldano <[email protected]>
> wrote:
>
>> Did you set a JBoss Modules dependency to the org.apache.cxf module?
>> Without that, annotations from CXF are basically ignored.
>>
>> Alessio
>>
>>
>> On 30/01/15 15:19, Bernardo Corrêa wrote:
>>
>>> Hi André. Logging worked after adding
>>>
>>>      <system-properties>
>>>          <property name="org.apache.cxf.logging.enabled" value="true"/>
>>>      </system-properties>
>>> To standalone.xml, after extensions section.
>>>
>>> But interceptor won't hit. I have one @InInterceptor twith a custom hat
>>> is
>>> never hit.
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>> On Fri, Jan 30, 2015 at 12:17 PM, Bernardo Corrêa <[email protected]>
>>> wrote:
>>>
>>>  Hi André. Logging worked after adding
>>>>
>>>>      <system-properties>
>>>>          <property name="org.apache.cxf.logging.enabled" value="true"/>
>>>>      </system-properties>
>>>> To st
>>>>
>>>> On Fri, Jan 30, 2015 at 8:18 AM, André Costa Lima <
>>>> [email protected]
>>>>
>>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> Can you provide your cxf-beans.xml?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> André Costa Lima
>>>>>
>>>>>
>>>>> 2015-01-30 0:35 GMT+00:00 Bernardo Corrêa <[email protected]>:
>>>>>
>>>>>  Hi Guys,
>>>>>>
>>>>>> I have a simple web service I need to log out SOAP request and
>>>>>> response.
>>>>>> It's been like hell since I started to get it working..
>>>>>>
>>>>>> I am using cxf-beans.xml with just one endpoint. Tried adding CXF bus
>>>>>>
>>>>> with
>>>>>
>>>>>> a logging interceptor. Tried adding annotation interceptor (logging
>>>>>>
>>>>> nothing
>>>>>
>>>>>> happens, custom won't fire).
>>>>>>
>>>>>> Using CXF 2.4.6 jdk 1.6 . Web service works fine, just interceptors
>>>>>> and
>>>>>> logging are driving me mad.
>>>>>>
>>>>>> Please, any help would be more than appreciated.
>>>>>> --
>>>>>> *Bernardo Corrêa*
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> *Bernardo Corrêa*
>>>>
>>>>
>>>
>>>
>>
>> --
>> Alessio Soldano
>> Web Service Lead, JBoss
>>
>>
>
>
> --
> *Bernardo Corrêa*
>



-- 
*Bernardo Corrêa*

Reply via email to