Re: @Scopes annotation not working for method

2017-01-13 Thread Nikhil Kakade
Thank you Sergey, it worked for me. On Fri, Jan 13, 2017 at 11:27 PM, Sergey Beryozkin wrote: > Hi > > OAuthScopesFilter has to be initialized with either a ref to a bean > containing that method or initialized with a map (method to list of scopes). > > Sergey > On

Re: receiveTimeout ignored since 3.1.9?

2017-01-13 Thread ffang
Hi Veit, I revise the testcase a little bit to verify the receiveTimeout < 1000ms also take effect[1] Anyway, I think you can create a jira ticket and attach your testcase there(you can’t send attachment through this maillinglist), we can continue discussion in that jira ticket

Re: @Scopes annotation not working for method

2017-01-13 Thread Sergey Beryozkin
Hi OAuthScopesFilter has to be initialized with either a ref to a bean containing that method or initialized with a map (method to list of scopes). Sergey On 13/01/17 05:33, Nikhil Kakade wrote: Hi, I am using Apache cxf OAuth2 for securing my jax-rs APIs. I am using cxf 3.1.5 version. As

Re: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite

2017-01-13 Thread David Wynter
Hi, Putting together an example web service that exhibits this ClassCastException issue proved to be very time consuming. I ended up using the example for building a client from the vendor who provides the web service I need to access. It uses Metro and I have no issues with it. So will

Aw: Re: receiveTimeout ignored since 3.1.9?

2017-01-13 Thread Veit Guna
Hi guys. I found the cause. It seems that requests, that take less than 1000ms to respond, aren't covered by the receiveTimeout. That means if I set the receiveTimeout to 1ms, and perform a request that only takes 500ms, the call succeeds. If I do the same with a request that takes 2000ms, it

Re: SOAP w. Att. Content-type header, action parameter issue

2017-01-13 Thread Sergey Beryozkin
Hi Dmitri, lets ask Aki Hi Aki, do you remember why did you enforce it according to RFC2387, was there some SOAP server which was expecting an RFC2387 compliant 'type' with an 'action' being a type's property as opposed to it being a SOAP part's Content-Type property as in the older CXF

Re: Client generation based on swagger.json generated by swagger2feature

2017-01-13 Thread Vjacheslav V. Borisov
I am using cxf 3.1.9, I Downloaded demo from trunk, it is working (tags generated) will check farther, thanks 2017-01-12 17:06 GMT+04:00 Sergey Beryozkin : > Hi > > Which CXF version do you use ? And do you mean "multiple JAXRS endpoints" > or a single endpoint with

Re: Limit JAX-RS Spring component scan to certain packages

2017-01-13 Thread Sergey Beryozkin
I looked at the code, if you rely on @ComponentScan discovering all Spring components (annotated with @Component or implicit) then it is not possible at the moment to enforce the package restrictions. @ComponentScan itself can be parameterized with a list of packages but I could not figure

Re: receiveTimeout ignored since 3.1.9?

2017-01-13 Thread Sergey Beryozkin
Hi Freeman, thanks... On 13/01/17 04:14, ffang wrote: Hi Sergey, Thanks, and just add a test in JAXRSAsyncClientTest to verify the receiveTimeout configuration works for the jaxrs async invocation with ahc[1] [1]http://git-wip-us.apache.org/repos/asf/cxf/commit/17c7ebc8 Hi Veit, Could you

Aw: Re: receiveTimeout ignored since 3.1.9?

2017-01-13 Thread Veit Guna
Hi guys. Sure. Thanks Veit > Gesendet: Freitag, 13. Januar 2017 um 05:14 Uhr > Von: ffang > An: "Sergey Beryozkin" > Cc: users@cxf.apache.org, ff...@apache.org > Betreff: Re: receiveTimeout ignored since 3.1.9? > > Hi Sergey, > > Thanks, and

Re[2]: SOAP w. Att. Content-type header, action parameter issue

2017-01-13 Thread Dmitri Zamyslov
Hi Sergey, we analysed thoughrowly the issue and we came to the same conclusion, that the 'action' some how not a content type parameter, but mentioned (escaped) in start-info parameter as part of the type of the main SOAP message part in compound structure. SOAP with Attachment described in