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

scalaxb 0.6.7

bug fixes and minor enhancements

  • Adds support for merging duplicate simple types. #116 reported by @OlegYch
  • Fixes substitution group parsing. #119 reported by @bmjsmith and #133 reported by @psnively
  • Fixes DataRecord equality. #120 reported by @deanhiller
  • Fixes package name of wsdl generated file. #117 reported by @hedefalk and @OlegYch
  • Fixes handling of empty input messages in wsdl. #122 reported by @hedefalk
  • Fixes handling of varg parameters in wsdl generated file. #125 reported by @hedefalk
  • Fixes simultaneous use of soap 1.1 and soap 1.2. #130 reported by @ben-manes
  • Fixes wsdl protocol package name.

scalaxb 0.6.6

bug fixes and minor enhancements

  • scalaxb changes were made by @eed3si9n
  • Fixes generated default scope by adding back the default namespace. #91 reported by @martiell
  • Fixes toXML handling of xs:anyAttribute. #95 reported by @deanhiller
  • Fixes generated defaultScope when the schema is unqualified. #97 reported by @deanhiller
  • Fixes xs:any repeating namespace bindings by merging them. #98 reported by @deanhiller
  • Fixes handling of xs:any with namespace="##local". #101 reported by @deanhiller
  • Adds --lax-any to ignore xs:any's namespace constraint. #103 requested by @deanhiller
  • Adds --version to display help message. #106 requested by @deanhiller
  • Adds --attribute-prefix to prefix parameters mapping an attribute. #92 reported by ido
  • Adds handling of xs:include without targetNamespace. #102 reported by @berntan
  • Adds handling of locally declared namespace binding. #105 reporetd by gerri
  • Fixes round trip of parsed QName. #114
  • Adds default argument to optional, multiple, and nillable params. #113 requested by @OlegYch

wsdl/soap related

  • Fixes handling of wsdl when soap bindings is not the first element. #104
  • Adds handling of soap messages with attributes. #99 reported by @berntan
  • Adds handling of soap messages with soap headers. #100 reported by @berntan
  • sbt-scalaxb and mvn-scalaxb processes wsdl first.
  • Fixes handling of wsdl with empty messages. #93 reported by @mbroue
  • Fixes handling of rpc-style return message on soap 1.1. #94 reported by @dkhenry


Syndicate content