I am trying to aquire data through Mathematica's WebServices and this example works just fine:


However, when I try to install this service:


Mathematica returns with error messages:

LoadSchema::unsupported: any is not supported in sequence.
LoadSchema::elementschema: The element schema cannot be found for {http://www.w3.org/2001/XMLSchema, schema}.

I'm not very well versed in XML however it seems that there's an "any" tag present in the code of the service, is that a provider's mistake?

  • $\begingroup$ I once encountered this and then used Java instead to generate Web Service classes, then plugged into Mathematica. Of course this is of a little help, but the point is that Java version did work with the same service. $\endgroup$ – Leonid Shifrin Dec 2 '12 at 15:05
  • 1
    $\begingroup$ I suspected that could be the case. Would love to help you with that, but I'm too busy with other stuff at the moment. One thing I could still suggest is to learn the very basics of Java and JLink, which may not be that hard actually. With those files you have, you won't need to actually implement any new Java functionality, just call Java methods from Mathematica. For that, you only have to understand how to create new Java objects via JLink and how to call Java methods on them via JLink, and may be M-Java core types conversion. This can be learned in a couple of days, really. $\endgroup$ – Leonid Shifrin Dec 2 '12 at 16:58
  • 1
    $\begingroup$ You can use rextester.com/runcode to run some simple complete Java examples interactively, to get a feel for it. $\endgroup$ – Leonid Shifrin Dec 2 '12 at 17:12
  • 1
    $\begingroup$ I did not remember how to do that by heart, so I used this [tutorial](px.pats.no/px/Eclipse_tutorial.html ) for those files I sent to you, and it worked with no problems. $\endgroup$ – Leonid Shifrin Dec 2 '12 at 17:20
  • 2
    $\begingroup$ "I will vote to close this question as too localized, since we have no evidence currently that this problem is encountered for any other web service". Well, I just encountered exactly the same problem with another webservice site, so I vote to reopen this question. $\endgroup$ – Sjoerd C. de Vries Oct 3 '13 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.