Skip to content
scalaxb is an XML data binding tool for Scala.
Scala Java Other
Latest commit a9b221a Apr 28, 2016 @eed3si9n Merge pull request #372 from alexdupre/dispatch-0.11.4
Add support for dispatch 0.11.4 and bump scalaxb version.


Join the chat at

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and Web Services Description Language (wsdl) as the input file.

From schema documents scalaxb will generate Scala source files containing case classes to represent the data and typeclass instances to turn XML documents into an object, and the object back to XML.


The latest is 1.4.0. Some things may not work. I'd really appreciate if you could run it against your favorite xsd file and let me know the result.


There are currently four ways of running scalaxb:

  • command line app scalaxb
  • sbt plugin sbt-scalaxb
  • maven plugin mvn-scalaxb
  • web API scalaxb-heroku hosted on heroku


To call scalaxb from sbt 0.13.x, put this in your project/scalaxb.sbt:

resolvers += Resolver.sonatypeRepo("public")

addSbtPlugin("org.scalaxb" % "sbt-scalaxb" % "X.X")

and this in scalaxb.sbt:


packageName in scalaxb in Compile := "xxx"

sourceGenerators in Compile <+= scalaxb in Compile

dispatchVersion in scalaxb in Compile := "0.11.1"

command line app scalaxb



See mvn-scalaxb.


Further info is available at

Bug Reporting

If you're having problem with scalaxb, please take a moment and read issue reporting guideline.


It's the MIT License. See the file called LICENSE.


Something went wrong with that request. Please try again.