Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebay FindingService xsd results in code that doesn't compile #18

Closed
dph01 opened this issue Nov 28, 2010 · 1 comment
Closed

ebay FindingService xsd results in code that doesn't compile #18

dph01 opened this issue Nov 28, 2010 · 1 comment
Labels

Comments

@dph01
Copy link

dph01 commented Nov 28, 2010

Hi

As you asked ...

I'd really appreciate if you could run it against your favorite xsd file and let me know the result.

... here's my feedback ....

I get a few errors when I try to compile the code generated from the Ebay FindingService xsd (extracted from http://developer.ebay.com/webservices/finding/latest/FindingService.wsdl).

e.g. on line 722 of FindingService.scala:

lazy val arg5 = arg3.arg5

should be

lazy val arg5 = arg3.arg6

Also, line 2083 of xmlprotocol.scala:

ebay.ErrorMessage(p1.toSeq map { _.nilOption map { fromXMLebay.ErrorData }}: _*) }

gives the error:

type mismatch; found : Seq[Option[ebay.ErrorData]] required: Seq[ebay.ErrorData]

I tried changing the definition of class ebay.ErrorMessage to get past that, but other errors followed and I was soon out of my depth :-(

Hope that's useful.

Thanks

Damian.

@eed3si9n
Copy link
Owner

eed3si9n commented Dec 7, 2010

Thanks for the bug report. The schema identified two bugs, which are now fixed in trunk: 377907a

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants