scalaxb 1.1.0

breaking changes

  • scalaxb now generates sys.error, so the generated code will no longer be compilable under Scala 2.8. #115 reported by @idot and others.


A new key dispatchVersion was added to generate Dispatch 0.10.x compatible code #210:

dispatchVersion in scalaxb in Compile := "0.10.0"

libraryDependencies <+=(dispatchVersion in scalaxb in Compile) { dv =>
  "net.databinder.dispatch" %% "dispatch-core" % dv

bug fixes and minor enhancements

  • Includes offending data in ParserFailure message. #206 requested by @caoilte
  • Fixes handling of QName enums. #208
  • sbt-scalaxb sorts *.xsd to avoid platform variance. #207 reported by @caoilte
  • sbt-scalaxb generates code only when the xsd files are modified. #199 requested by @fommil

scalaxb 1.0.2

bug fixes

  • Fixes handling of large groups. #188 reported by @workingDog
  • Fixes handling of xs:any with namespace constraints. #189
  • Removes upper limit on duplicate name resolution. #190
  • Fixes handling of enum values that are symbols. #191
  • Fixes xs:group references naming conflict. #192
  • Fixes handling of xs:choice that's made up of a foreign type. #193
  • Fixes handling of split xs:sequence whose only item is nillable and unbounded. #194
  • Fixes handling of xs:choice that includes a substitution group. #195
  • Fixes handling of complex types containing foreign xs:sequence. #196
  • Fixes handling of xs:group or a mixed complex type that includes an optional substitution group. #197
  • Fixes handling of complex types that directly or indirectly derives from xs:anySimpleType. #200/#203 reported by @sagarcjoshi
  • Fixes handling of mixed complex type that extends simple type. #205
  • Fixes DispatchHttpClients not handling non-200 results. reported and fixed by @dportabella in #204

scalaxb 1.0.1

bug fixes and minor enhancements

scalaxb 1.0.0

This is the first stable release of scalaxb.
Thanks to many people who tried it out, reported bugs, and contributed ideas and code.

breaking changes since 0.7

Some changes were made to adapt to Scala 2.10.0.

  • To avoid implicit conflict, the scalaxb package object no longer extends XMLStandardTypes.
  • scalaxb.XMLStandardTypes object was added to support explicitly importing implicits.
  • HexBinary class and Base64Binary class's toIndexedSeq method is now a field named vector.
  • The default http client for SOAP binding is upgraded to Dispatch 0.9.5.

bug fixes and minor enhancements

  • Fixes typo in element form check ("qualified") #168. Fixed by @mprihoda
  • More lenient handling of base64Binary encoding #173. Requested by @nmccready
  • Fixes generated code for named groups containing nillable choices #162. Reported by @rajish
  • Fixes attribute merging across namespace #174. Reporetd by @sbrownyarris
  • Fixes handling of chameleon schemas #176. Reported by @Marza
  • Fixes grandchildren types missing from generated XMLFormat of traits #178. Reported by @kidasoft
  • Fixes xs:boolean parsing #179. Fixed by @rssh

scalaxb 0.7.3

bug fixes

scalaxb 0.7.2

new logger

@martiell contributed a log4j wrapper that replaces logula. #161.
The main change is that our resolver is down to Sonatype:

resolvers += "sonatype-public" at ""

bug fixes and minor enhancements

  • Adds support for resolving SOAP encoding hrefs. #160. reported by @greenrd
  • Fixes xsi:type attribute wiping out other attributes due to SI-5843 #159. reported by @psnively
  • Fixes reserve word escaping when names contain trailing whitespaces. #163. reported by @dohzya

scalaxb 0.7.1

bug fixes and minor enhancements

  • Fixes RPC style soap. #153
  • Fixes generated code for imported groups. #156

scalaxb 0.7.0

Additional resolvers required

The logger is changed to logula.
For sbt-scalaxb, additional resolvers are now required:

resolvers ++= Seq(
  "sonatype-public" at "",
  "" at "")

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

bug fixes and minor enhancements

  • Fixes inner simple types being detected as duplicates. #136 reported by @bampoosa
  • Adds a few missing settings to sbt-scalaxb. #144 reported by @devinus
  • Fixes xs:any namespace attribute not defaulting to ##any. #147 reported by @champloo
  • Fixes soap 1.2 output wrapper. #143
  • Fixes handling of wsdl with mixed complex type. #149 reported by @jcranky
  • Fixes handling of wsdl with header outputs. #150 reported by @jcranky


  • mvn-scalaxb was updated by @martiell
  • Updated for deployment to Sonatype open source repository hosting.
  • M2E 1.1 compatible: no longer requires an m2e connector plugin or
    lifecycle mapping metadata in the pom.xml when used with m2eclipse 1.1.
  • Don't swallow stack traces when propagating exceptions from scalaxb.

multiple configs

A few people have asked me on how to configure a sbt build so scalaxb can be used multiple times, so let's take a look.
Here's the code:

$ git clone -b multipleconfigs git://
$ cd scalaxb-sample/multipleconfigs/

Now open the directory using your favorite editor.

In src/ we have main/scala/main.scala, main/xsd/ipo.xsd, and main/xsd/w.xsd.

when to go multiple configs?

scalaxb 0.6.8

bug fixes and minor enhancements

  • Fixes handling of cross-namespace extension. #135 reported by @psnively
  • Fixes parsing to reject extra elements at the end. #124
  • Relaxes wsdl parsing to handle out-of-order wsdls. #87
  • wsdl generates baseAddress as a def. #134 by @hedefalk
Syndicate content