CXF support both services and clients in JavaScript. CXF embeds Rhino to provide a friendly programming environment for JavaScript implementations of services. CXF provides a generator that produces Web Service clients for Web Services with SOAP bindings. Follow the links below for more details.