No, we don't seem to have it. Part of the reason might be we allow for JavaScript clients but not JavaScript web service providers, so I'm not sure of the value of a java->javascript Maven plugin. Maybe to generate client skeletons, but the underlying JavaToJavaScript and WSDLToJavaScript command-line tools don't provide them either. Ultimately, you're still going to have to create a JavaScript file making the SOAP calls that you want, running Java to Java Script to generate a stub client wouldn't help much in a production cycle.

If you'd like to see a sample JavaScript for making SOAP calls, our js_browser_client_java_first sample in the CXF distribution may be of help: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/main/resources/staticContent/Beverages.html?revision=1411327&view=markup.

HTH,
Glen


On 01/23/2013 02:31 AM, helander wrote:
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.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to