java2js in Maven

2013-01-22 Thread helander
Is it possible to use the java2js (Java -> JavaScript) in a Maven build, e.g. via the cxf-codegen-plugin ? Thanks Lars -- View this message in context: http://cxf.547215.n5.nabble.com/java2js-in-Maven-tp5722045.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Best CXF client approach for remote WSDL using wsp:Policy

2013-01-22 Thread Bob Ross
*sigh* I was sure this was going to work The XML request looks good to me: Link: http://pastebin.com/DCCEts9q Not sure why I am still getting "Access Denied, Invalid Message" back from their server. :( Is it possible the order of the elements in the SOAP Header matter? How could I move the

RE: JacksonJsonProvider not working with CXF Jax-RS

2013-01-22 Thread Clint Dovholuk
You only show one "? I had two and one was in the default namespace (xmlns="") If you only have the one: xmlns:tns="http://www.example.com/model/JsonDemo"; then your issue is not manifesting like the one we had is. I should mention we are using an older flavor of cxf - 2.5.x. Anyway just thou

RE: JacksonJsonProvider not working with CXF Jax-RS

2013-01-22 Thread jbright
Clint Dovholuk wrote > Not sure if it's relevant but I had this precise issue recently when the > service's data objects were in two different namespaces. When I hit our > _wadl it had two different 'schemas' in the /application/grammars section. > This worked just fine for xml but broke my json

Re: Best CXF client approach for remote WSDL using wsp:Policy

2013-01-22 Thread Bob Ross
Thanks for the help everyone! I really appreciate it. This stuff has me stressed out to no end since its taking me so long. I tried doing it manually with old Axis1 but that was a painful waste of today, lol. So I'm back to CXF 2.7 which I prefer. I found a sample request.xml in one of their d

Re: futureTimeToLive on Service Endpoints

2013-01-22 Thread DTaylor
I have attached the service configuration again (I'm pretty sure I've got too much in there relating to this issue, as I put in both possible FTTL modifiying properties, however I've tried it with each individually and it didn't work either). I have also attached the incoming saml1:Assertion objec

Re: Implementing the OAuth 2.0 Authorization Code Grant Flow

2013-01-22 Thread Sergey Beryozkin
On 22/01/13 18:58, Craig McClanahan wrote: On Tue, Jan 22, 2013 at 9:10 AM, Sergey Beryozkinwrote: Yes, the only limitation in CXF at the moment is that it does it with a sequence of forms, whereas you'd like to have a single form asking for both authentication credentials and the authorizat

Re: Best CXF client approach for remote WSDL using wsp:Policy

2013-01-22 Thread Daniel Kulp
On Jan 22, 2013, at 1:59 PM, Bob Ross wrote: > Another question: > > Can I just download an old version of CXF? Wouldn't help. > Did version 2.0.6 support WS Security 1.0 by any chance? The issue is WS-SecurityPolicy which wasn't introduced into CXF until 2.2 and we really just targeted 1.1

Re: Implementing the OAuth 2.0 Authorization Code Grant Flow

2013-01-22 Thread Craig McClanahan
On Tue, Jan 22, 2013 at 9:10 AM, Sergey Beryozkin wrote: > >>> Yes, the only limitation in CXF at the moment is that it does it with a > sequence of forms, whereas you'd like to have a single form asking for both > authentication credentials and the authorization approval/denial in the > same/sing

Re: classpath jars in CXF 2.7.2

2013-01-22 Thread Daniel Kulp
On Jan 22, 2013, at 12:32 PM, "Shults, Benji" wrote: > In case it helps, here are the jars I've added manually in my Ant project so > far. > > geronimo-annotation_1.0_spec-1.1.1 > saaj-impl-1.3.20 > geronimo-activation-1.1.1 > geronimo-stax-api_1.0_spec-1.0.1 > geronimo-ws-metadata_2.0_spec-1

RE: classpath jars in CXF 2.7.2

2013-01-22 Thread Shults, Benji
In case it helps, here are the jars I've added manually in my Ant project so far. geronimo-annotation_1.0_spec-1.1.1 saaj-impl-1.3.20 geronimo-activation-1.1.1 geronimo-stax-api_1.0_spec-1.0.1 geronimo-ws-metadata_2.0_spec-1.1.3 jdom-1.0 bcprov-jdk15-140 org.apache.servicemix.specs.saaj-api-1.3-1

Re: Implementing the OAuth 2.0 Authorization Code Grant Flow

2013-01-22 Thread Sergey Beryozkin
Hi On 22/01/13 16:54, Craig McClanahan wrote: On Tue, Jan 22, 2013 at 3:22 AM, Sergey Beryozkinwrote: Hi Craig Actually, I may've just got it :-), you'd like to have a user, after an initial redirect, facing a form asking both for the authentication info and the authorization approval ? Yep,

Re: Implementing the OAuth 2.0 Authorization Code Grant Flow

2013-01-22 Thread Craig McClanahan
On Tue, Jan 22, 2013 at 3:22 AM, Sergey Beryozkin wrote: > Hi Craig > > Actually, I may've just got it :-), you'd like to have a user, after an > initial redirect, facing a form asking both for the authentication info and > the authorization approval ? > > Yep, exactly. > Hmm... I think 1) and 2

Re: where is SamlRedirectBindingFilter in 2.7.2?

2013-01-22 Thread Sergey Beryozkin
Hi On 22/01/13 15:26, Shults, Benji wrote: I’m using CXF 2.7.2 with Ant rather than Maven. L I can’t find the SamlRedirectBindingFilter class in any of the jars. I found its source code in the src distribution. Which jar file is the class in or is it not supposed to be in there? It is in cxf-r

where is SamlRedirectBindingFilter in 2.7.2?

2013-01-22 Thread Shults, Benji
I’m using CXF 2.7.2 with Ant rather than Maven. ☹ I can’t find the SamlRedirectBindingFilter class in any of the jars. I found its source code in the src distribution. Which jar file is the class in or is it not supposed to be in there? Benji Benji Shults PhD Senior Software Engineer [cid:im

RE: JacksonJsonProvider not working with CXF Jax-RS

2013-01-22 Thread Clint Dovholuk
Not sure if it's relevant but I had this precise issue recently when the service's data objects were in two different namespaces. When I hit our _wadl it had two different 'schemas' in the /application/grammars section. This worked just fine for xml but broke my json and the only resolution I

Re: JacksonJsonProvider not working with CXF Jax-RS

2013-01-22 Thread jbright
Thanks for investigating Sergey, perhaps I didn't have luck to get that resolved. XML request works well and gives proper response, but JSON request give a '500 Internal server error' Attached are the maven project and the requests (xml and json formats) i used for testing. JsonDemo.zip

Re: Implementing the OAuth 2.0 Authorization Code Grant Flow

2013-01-22 Thread Sergey Beryozkin
Hi Craig On 21/01/13 18:22, Craig McClanahan wrote: I'm using CXF 2.7.2 and building out a server that will support the various flows, in particular the Authorization Code Grant flow[1]. I'm a bit puzzled, though, about the way that RedirectionBasedGrantService#startAuthorization() expects the e

Re: Best CXF client approach for remote WSDL using wsp:Policy

2013-01-22 Thread Colm O hEigeartaigh
If you have an example of a message from another stack that works then it should be easy enough to reproduce it via the WSS4JOutInterceptor. Looking at the policy is seems to just require that the SOAP Body and a particular SOAP Header must be signed. Colm. On Mon, Jan 21, 2013 at 7:24 PM, Bob Ro