Code Monkey home page Code Monkey logo

Comments (3)

mathiasbockwoldt avatar mathiasbockwoldt commented on September 7, 2024

I never tried to work with the testClient, so I leave the details to you. It looks like you may enter a local path in the this style: Client('file:///path/to/file') (see here)
See the second answer for use of a relative path.

from sbml-mod-ws.

SchSascha avatar SchSascha commented on September 7, 2024

Of course I had tried that already and can load via file:///... the wsdl file.
Loading the SBMLedit wsdl file from http://cbu.bioinfo.no/wsdl/SBMLedit.wsdl locally works fine, however, it contains the links to esysbio and needs an online connection nevertheless, whereas the wsdl file, which was already present in the sbmlmod folder from the very beginning does not work at all.
The testClient itself works fine, it just needs to be executed.

Thus, the issue is purely concerning the wsdl description.

from sbml-mod-ws.

SchSascha avatar SchSascha commented on September 7, 2024

With commit 88d6468 I circumvent calling client.service.ValidateSBMLModelGzippedBase64Encoded entirely, as this call causes an ZSI error ZSI:EvaluateException Got None for nillable(False), minOccurs(1) element (None,ModelIsValid).
Instead, the files are decompressed and decoded and send to ValidateSBMLModelText instead, which works fine (as does ValidateSBMLModelBase64Encoded if no compression is chosen).
Sadly, I couldn't figure out, what causes the server side error, but for now this solution works fine. If you agree, we can close this issue.

Note that changing nillable=False -> nillable=True in ValidateSBMLModelGzippedBase64EncodedResponse_Dec of src/sbmlmod/SBMLmod_types lets the script run smoothly, but it reports non validity of the resulting models, which is incorrect.

from sbml-mod-ws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.