Giter VIP home page Giter VIP logo

ssoap's People

Contributors

duncantl avatar

Stargazers

K avatar sgoley avatar HarryZhu avatar Gergely Daróczi avatar Angus H. avatar  avatar Pieter Provoost avatar Rodrigo Murta avatar Dearc avatar Thomas J. Leeper avatar Vishal Belsare avatar Matt Barry avatar timelyportfolio avatar Duncan Temple Lang avatar

Watchers

Pieter Provoost avatar Duncan Temple Lang avatar  avatar KevinV avatar  avatar

ssoap's Issues

Problema with S4 classes when accessing BRENDA SOAP

I have recently tried to use your package SSOAP to access the BRENDA SOAP API from R, which provides a WSDL file. Initially, I tried to process it with processWSDL():

w = processWSDL("http://www.brenda-enzymes.org/soap/brenda.wsdl", verbose=T)

1 ) ArrayOfIntegers ( complexType )
2 ) ArrayOfStrings ( complexType )
3 ) elementaryReference ( complexType )
4 ) reference ( complexType )
5 ) ArrayOfReferences ( complexType )
6 ) sequence ( complexType )
7 ) ArrayOfSequences ( complexType )
8 ) kmValue ( complexType )
9 ) ArrayOfKmvalues ( complexType )
10 ) phStability ( complexType )
11 ) ArrayOfPhstabilitys ( complexType )
12 ) oxidationStability ( complexType )
13 ) ArrayOfOxidationstabilitys ( complexType )
14 ) naturalSubstratesProducts ( complexType )
15 ) ArrayOfNaturalsubstratesproductss ( complexType )
16 ) engineering ( complexType )
17 ) ArrayOfEngineerings ( complexType )
18 ) naturalProduct ( complexType )
19 ) ArrayOfNaturalproducts ( complexType )
20 ) metalsIons ( complexType )
21 ) ArrayOfMetalsionss ( complexType )
22 ) activatingCompound ( complexType )
23 ) ArrayOfActivatingcompounds ( complexType )
24 ) inhibitors ( complexType )
25 ) ArrayOfInhibitorss ( complexType )
26 ) cofactor ( complexType )
27 ) ArrayOfCofactors ( complexType )
28 ) generalStability ( complexType )
29 ) ArrayOfGeneralstabilitys ( complexType )
30 ) naturalSubstrate ( complexType )
31 ) ArrayOfNaturalsubstrates ( complexType )
32 ) molecularWeight ( complexType )
33 ) ArrayOfMolecularweights ( complexType )
34 ) crystallization ( complexType )
35 ) ArrayOfCrystallizations ( complexType )
36 ) substratesProducts ( complexType )
37 ) ArrayOfSubstratesproductss ( complexType )
38 ) reactionType ( complexType )
39 ) ArrayOfReactiontypes ( complexType )
40 ) organismSynonyms ( complexType )
41 ) ArrayOfOrganismsynonymss ( complexType )
42 ) enzymeNames ( complexType )
43 ) ArrayOfEnzymenamess ( complexType )
44 ) organicSolventStability ( complexType )
45 ) ArrayOfOrganicsolventstabilitys ( complexType )
46 ) application ( complexType )
47 ) ArrayOfApplications ( complexType )
48 ) synonyms ( complexType )
49 ) ArrayOfSynonymss ( complexType )
50 ) temperatureOptimum ( complexType )
51 ) ArrayOfTemperatureoptimums ( complexType )
52 ) temperatureStability ( complexType )
53 ) ArrayOfTemperaturestabilitys ( complexType )
54 ) piValue ( complexType )
55 ) ArrayOfPivalues ( complexType )
56 ) temperatureRange ( complexType )
57 ) ArrayOfTemperatureranges ( complexType )
58 ) recommendedName ( complexType )
59 ) ArrayOfRecommendednames ( complexType )
60 ) product ( complexType )
61 ) ArrayOfProducts ( complexType )
62 ) casRegistryNumber ( complexType )
63 ) ArrayOfCasregistrynumbers ( complexType )
64 ) localization ( complexType )
65 ) ArrayOfLocalizations ( complexType )
66 ) posttranslationalModification ( complexType )
67 ) ArrayOfPosttranslationalmodifications ( complexType )
68 ) systematicName ( complexType )
69 ) ArrayOfSystematicnames ( complexType )
70 ) cloned ( complexType )
71 ) ArrayOfCloneds ( complexType )
72 ) specificActivity ( complexType )
73 ) ArrayOfSpecificactivitys ( complexType )
74 ) subunits ( complexType )
75 ) ArrayOfSubunitss ( complexType )
76 ) ligands ( complexType )
77 ) ArrayOfLigandss ( complexType )
78 ) turnoverNumber ( complexType )
79 ) ArrayOfTurnovernumbers ( complexType )
80 ) ecNumber ( complexType )
81 ) ArrayOfEcnumbers ( complexType )
82 ) reaction ( complexType )
83 ) ArrayOfReactions ( complexType )
84 ) sourceTissue ( complexType )
85 ) ArrayOfSourcetissues ( complexType )
86 ) substrate ( complexType )
87 ) ArrayOfSubstrates ( complexType )
88 ) phRange ( complexType )
89 ) ArrayOfPhranges ( complexType )
90 ) storageStability ( complexType )
91 ) ArrayOfStoragestabilitys ( complexType )
92 ) phOptimum ( complexType )
93 ) ArrayOfPhoptimums ( complexType )
94 ) disease ( complexType )
95 ) ArrayOfDiseases ( complexType )
96 ) purification ( complexType )
97 ) ArrayOfPurifications ( complexType )
98 ) renatured ( complexType )
99 ) ArrayOfRenatureds ( complexType )
100 ) kiValue ( complexType )
101 ) ArrayOfKivalues ( complexType )
102 ) Pathway ( complexType )
103 ) ArrayOfpathways ( complexType )
104 ) organism ( complexType )
105 ) ArrayOfOrganisms ( complexType )
106 ) pdb ( complexType )
107 ) ArrayOfPdbs ( complexType )
Error in x$id : object of type 'S4' is not subsettable

The types seem to be processed correctly, but then it stops with the error shown above. After doing some research, as I am using R version 3.3.1, could this be related to the change in R S4 classes after R 2.4.0?

Have you had any experience with SSOAP in latter versions of R?

Any advice would be greatly appreciated

ChemSpell SOAP service

I'm having some difficulty using this package to access the ChemSpell SOAP service with the SSOAP package.

When I try to process the WSDL, I get the following error:

> processWSDL("http://chemspell.nlm.nih.gov/axis/SpellAid.jws?wsdl")
Error in UseMethod("xmlAttrs", node) : 
   no applicable method for 'xmlAttrs' applied to an object of class "NULL"

From this point, I started down the rabbit hole and can't seem to find my way out. I had a look at the processWSDL function and tried to step through it and got even more errors. I was hoping to manually get myself to a SOAPServerDescription. It looks like at some point XMLSchema was split off from the main package and maybe there are some naming inconsistencies?

I fully understand that SOAP is not really a hot topic these days, but does anyone have any hints or links that could point me in the right direction here? The ChemSpell service seems really straightforward, I just haven't quite figured out how to brute force a SOAP message to it.

Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

For our taxize I tried to interact with the WoRMS webservice.
However I can't get their example to run:

> library(SSOAP)
> 
> w = processWSDL("http://www.marinespecies.org/aphia.php?p=soap&wsdl=1")
> iface = genSOAPClientInterface(, w)
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Error during wrapup: evaluation nested too deeply: infinite recursion / options(expressions=)?
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] SSOAP_0.9-1

loaded via a namespace (and not attached):
[1] codetools_0.2-8 RCurl_1.95-4.1  tools_3.0.2     XML_3.98-1.1    XMLSchema_0.7-2

Any Ideas?

The problem comes actually from XMLSchema:::defineClasses() and there probably the two nested lapply() (?).

Compatibility to TLS v1.2

Hi,

I have been using the package to work with WSDL's but after our service provider switched to TLS v1.2 I am getting the below error:

Error in function (type, msg, asError = TRUE) :
Unknown SSL protocol error in connection to ...:443

Any hint on how to workaround this? -- I can fix this and make a pull request if given some high-level advice.

Thanks

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.