Comments (3)
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.
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.
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)
- Should client code be removed or refactored? HOT 3
- Delete Stocheometry.py?
- Repository outdated, please commit current version! HOT 1
- provide new url wsdl location HOT 5
- Do we want non-case-sensitive mapping? HOT 2
- Unconditional warning about species mapping HOT 1
- License HOT 1
- platform availability HOT 6
- Improve Readme HOT 1
- Test fails with new libSBML version HOT 2
- ./bin/serverd does not know --help
- Processing Failure HOT 4
- In batch mode, rct. params must be set before init. spec. conc. HOT 1
- Technical documentation missing HOT 5
- The example python script in testclient needs to be updated HOT 2
- Provide a bash based pipeline example in testclient HOT 2
- wsdl file modification HOT 4
- no route to host error HOT 4
- Make repository public HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbml-mod-ws.