Hi Francesco
Thanks, I wish we did it earlier :-). I believe RestEasy did it awhile
back (though not sure what exactly it offers), though the idea of having
of a JS frontend in CXF is not new given that it is available for WS.
What really interests me here is the possibility to indicate (via WADL
extensions for example) that this given payload needs to be signed with
a given crypto algo and then the JS client will somehow link it with
WebCrypto API and sign, and the CXF server will use its JWS code (or
even JCS - on the map) to validate, and all is cool, the problem is
WebCrypto API is apparently not yet well supported by all browsers, but
I hope by the time we are ready to address enhancing our would be JS RS
client to do WebCrypto the browsers will be ready :-)
Cheers, SErgey
On 10/09/15 12:31, Francesco Chicchiriccò wrote:
On 10/09/2015 13:15, Sergey Beryozkin wrote:
Hi
On 10/09/15 11:59, Benson Margulies wrote:
Serge, I'm here.
The question is, does the wadl data model have enough in it to
generate code in the form of a js function that sets up the right
call.
Definitely (I think so :-)), we have Java client code working with the
proxies generated by Wadl-to-Java. Swagger descriptions may also be
optionally provided.
I'm a bit swamped at the moment, but I can subscribe to dev and write
up at least some notes on how to adapt the existing code in the
direction you're looking for.
Sounds good, I've opened
https://issues.apache.org/jira/browse/CXF-6589
This is something which is definitely not urgent, so please share some
ideas at the dev or CXF-6589 whenever you have some time.
This looks very cool, I don't have enough knowledge to contribute, but I
am very interested anyway.
Borderless CXF :-)
Regards.
On Thu, Sep 10, 2015 at 6:54 AM, Sergey Beryozkin
<[email protected]> wrote:
Hi Benson
Hope you are reading it,
I've had this plan for a while, and given you did a JS WS frontend
(sorry if
my memory is wrong here :-)), I'd just like to ask for some ideas on
how a
similar RS frontend can be created.
The longer term plan is to weave Web Crypto into that somehow but
first it
would be good to have a plain RS JS frontend available. Perhaps I
can even
hope you can prototype something :-) ?
Cheers, Sergey
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/