Skip to content
This repository

xs:any's namespace doesn't default to ##any #147

champloo opened this Issue March 07, 2012 · 2 comments

2 participants

champloo eugene yokota


  1. Generate code from
  2. Run this code:
val service = (new RacingSoapBindings
    with Soap11Clients
    with DispatchHttpClients {}).service
val response = service.meetingSummary(Some("dummy"), Some("dummy"), Some("dummy"), Some("dummy"))


Exception occurs when parsing the response:

scalaxb.ParserFailure: parser error "any expected" while parsing...


To receive an XML response.


I am able to avoid the ParserFailure if I modify the local copy of the wsdl.
Replace <s:any /> in <s:element name="MeetingSummaryResponse"> with <s:any namespace="##any" />.

eugene yokota eed3si9n closed this in 38fb333 March 07, 2012
eugene yokota

Thanks for following the issue reporting style. I wish everyone reported issues like this. This is now fixed and 0.6.9-SNAPSHOT is published. Using your wsdl I was able to get the following response:

Right(MeetingSummaryResponse(Some(MeetingSummaryResult(DataRecord(Error,<Error xmlns="" xmlns="" xmlns:xsd="" xmlns:xsi="" xmlns:soap="">Invalid jurisdiction parameter provided. Please provide either NSW or VIC.</Error>)))))

Great! Thanks a lot for fixing this so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.