You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/11/03 16:01:59 UTC

[jira] [Commented] (CXF-7120) Can CXF REST sync and async WS compatible with JavaScript client?

    [ https://issues.apache.org/jira/browse/CXF-7120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15633254#comment-15633254 ] 

Sergey Beryozkin commented on CXF-7120:
---------------------------------------

Hi, I don't understand what this JIRA is about. 
It does not matter what language a client is written in or framework it depends upon. As far as a given client is concerned, it talks to a remote HTTP server - it can be implemented with CXF or Jersey, in Java or in Perl, written to support asynchronous (suspended) calls or not, it is all the internal implementation details which must not be leaked to the client.
The client must not be written with some assumptions about the server implementation details to stay as interoperable as possible. 

> Can CXF REST sync and async WS compatible with JavaScript client?
> -----------------------------------------------------------------
>
>                 Key: CXF-7120
>                 URL: https://issues.apache.org/jira/browse/CXF-7120
>             Project: CXF
>          Issue Type: Wish
>          Components: JAX-RS
>            Reporter: Colbert Philippe
>            Priority: Critical
>              Labels: async, asynchronous, javascript, jscript, perl, python, ruby, sync, synchronous
>
> When writing a real web application the client is likely going to be written in JavaScript in a web-browser and if the server uses CXF then it's in Java.   I think it's the case for a vast majority of CXF users.
> 1)  QUESTION:  Can we write a synchronous web service using CXF JAX-RS (REST) in Java and invoke it from JavaScript?   Are there any features that are not supported by JavaScript?
> 2)  QUESTION:  Can we write an asynchronous web service using CXF JAX-RS (REST) in Java and invoke it from JavaScript?   Are there any features that are not supported by JavaScript?
> I think many of us would appreciate a chapter in the documentation that talks about scenarios when using different languages as clients, JavaScript is one, but the client could as well be in Python, Ruby, Perl.    You should recommend frameworks from other languages that have been tested to work with CXF.    Please, cover both the synchronous and asynchronous case.   A compatibility table should be given to out all client frameworks that have been tested to work with CXF.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)