Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiref href resolution for SOAP #160
Currently, if a SOAP web service returns XML that uses multirefs, scalaxb generates this type of class:
case class ArrayOf_tns1_RemoteIssue(arg1: Option[com.ocado.jira.api.ArraySequence] = None, soapencarrayType: Option[String] = None, soapencoffset: Option[String] = None, id: Option[String] = None, href: Option[java.net.URI] = None, attributes: Map[String, scalaxb.DataRecord[Any]]) extends Arrayable
(This was generated for the JIRA SOAP service.)
So I would like a way to find the data referenced by the inner
added a commit
Jun 3, 2012
So I implemented href resolution at the XML level, so at least you'd have access to the data.
Once the hrefs are resolved I don't think there's much use for the SOAP encoding, so likely better data binding is possible, for example as
I was unable to test it due to this error:
What do I need to do to fix this?