Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala equivalent to wsdl2java?

Is ther any equivalent to wsdl2java that will take a WSDL file and generate scala stubs for the server and/or client?

I googled, but either there isn't or my google-fu is weak.

like image 254
The Archetypal Paul Avatar asked Jun 17 '11 16:06

The Archetypal Paul


1 Answers

scalaxb has some support for this, but it's still very much experimental and it's still client-side only. The only reliable techniques I've seen for handling the server side is either to generate the Java code via wsdl2java or other tools and then wrap that in Scala or, possibly, to use annotations to generate the WSDL from the Scala code. The later option is likely to lead to some pain, though, as you learn where Scala does and does not map readily to Java conventions.

like image 166
Thomas Lockney Avatar answered Oct 10 '22 22:10

Thomas Lockney