Displaying 12 results from an estimated 12 matches for "gensoapclientinterface".
2008 May 09
1
SSOAP: arguments passed as
Hi,
I have a SOAP service, provided by BioMoby
which I'd like to call via SSOAP.
My service breaks during genSOAPClientInterface()
genSOAPClientInterface(def=service, verbose = TRUE)
Operation MassBank_Simple_2
Error: Cannot resolve SOAP type in empty context
Problem seems to be that there are no <types> defined in the WSDL,
and that the service passes input/output as a single XML BLOB
in the body (full WSDL bel...
2010 Jun 22
1
SSOAP fails with .types[[1]] : subscript out of bounds
...to a) fix SSOAP or
b) fix the WSDL generator.
I am a bit lost how to continue debugging here,
any clues or help to get me going ?
Thanks in advance,
Yours,
Steffen
The code:
library(SSOAP)
w = processWSDL("http://biomoby.org/services/wsdl/ipb-halle.de/MassBank_Instruments")
iface = genSOAPClientInterface(def = w, verbose=TRUE)
The output and system info:
> library(SSOAP)
>
> w = processWSDL("http://biomoby.org/services/wsdl/ipb-halle.de/MassBank_Instruments")
> iface = genSOAPClientInterface(def = w, verbose=TRUE)
Operation MassBank_Instruments
Error in .types[[1]] : subsc...
2012 Mar 07
2
SSOAP and Chemspider: Security token?
...function since I have no idea how to get the token into "non-character" form :)
My code:
library(SSOAP)
chemspider_sectoken <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# (token was here)
cs <- processWSDL("http://www.chemspider.com/Search.asmx?WSDL")
# intf <- genSOAPClientInterface(,cs)
# (this fails, see below. The Mass Spec API is correctly parsed. Therefore by hand:)
csidlist <- .SOAP(server=cs@server,
method="SimpleSearch",
.soapArgs=list(
query="Azithromycin",
token=token...
2010 Jun 22
0
Working cludge [Re: SSOAP fails with .types[[1]] : subscript out of bounds]
...oes not have* any <wsdl:types>...</wsdl:types>,
I created a local copy and inserted a dummy
<wsdl:types>...</wsdl:types> element.
Then, my simple snippet works:
library(SSOAP)
# Hacked local copy
w = processWSDL("./MassBank_Instruments")
# this breaks genSOAPClientInterface()
w = processWSDL("http://biomoby.org/services/wsdl/ipb-halle.de/MassBank_Instruments")
mobyRequest <- "<moby:MOBY xmlns:moby=\"http://www.biomoby.org/moby\"/>"
iface = genSOAPClientInterface(def = w, verbose=TRUE)
cat(iface at functions$MassBank_Ins...
2009 Jun 03
1
SSOAP failing
...simpler service (WSDL manually created myself, but I am
not sure it is correct although it validates):
smg8EchoDef <-
processWSDL("http://smg8.ulb.ac.be:8080/axis2/services/EchoService?wsdl",
verbose=TRUE)
processing (sub) schema http://smg8.ulb.ac.be/echoSvc/
1 ) TheString
genSOAPClientInterface(def = smg8EchoDef)
Error in def at operations[[1]] : subscript out of bounds
Indeed:
length(smg8EchoDef at operations)
[1] 0
2009 Nov 03
1
help with SSOAP (can't find working examples)
...find a single
example that works. I am using windows and here are the version
numbers:
R: 2.9.2
SSOAP: 0.5-3
XMLSchema: 0.1-1
XML: 2.6-0
The packages are up to date as per "Update packages". I tried all the
examples that came under library/SSOAP/examples directory and most
failed during genSOAPClientInterface(), while one failed right in
processWSDL(). This is the most common error during
genSOAPClientInterface():
Error in paste(" .elementFormQualified", .elementFormQualified, sep = " = ") :
no slot of name "elementFormQualified" for this object of class "SchemaType...
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
...sult, so all that you need to try the sample is python 2.6 and ZSI
(http://pywebsvcs.sourceforge.net/). The comment also has sample R client code
which I am paste below:
library(SSOAP)
dataService <-
processWSDL('C:/src/tmp/python/webserv/dataService/DataService.wsdl')
def = genSOAPClientInterface(def = dataService, verbose = TRUE)
res = def at functions$simpleQuery('select 1 as One')
At this point, my priority is to get the deserialization of the response
working, as I am able to workaround the first two issues in sending request. I
would really appreciate if anyone can help me...
2005 Jun 14
0
question about SSOAP
...ion
2.1.0,linux) to access SOAP service on NCBI
(http://www.ncbi.nlm.nih.gov)
its WSDL file is at http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl
but some errors occured:
> ncbi <- processWSDL("http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl")
> ff <- genSOAPClientInterface(ncbi at operations[[1]], def = ncbi, ncbi at name, verbose=FALSE)
> ff at functions$run_eInfo("db=pubmed")
Error in toSOAPArray(obj, con, type = type) :
no slot of name "elType" for this object of class "SOAPVoidType"
what's wrong? I am looking foward t...
2007 Nov 10
1
Microsoft Live Search SOAP Requests using R
Hello,
I am a complete newbie to Web Services. I have set up an account to the MSN
Developer Services and have acquired a key for Live Search via SOAP. I want
to send and receive requests through R. I have already found out that the
two packages I need is RCurl and SSOAP. I have installed them but now, as
it's evident after long hours of trying, I have absolutely no idea how to
use them. Is
2012 May 06
1
how to download data from soap server using R
i don't know perl,but on server site,they give soap:lite using perl ,
go to--->http://www.kegg.jp/kegg/soap/doc/keggapi_manual.html
i want to download data from kegg server ,using R only,
how to proceed?
& what is mean by SOAP client driver ?
also go to http://soap.genome.jp/KEGG.wsdl
--
View this message in context:
2010 Jun 22
0
XMLSchema:::processSchemaTypes() fails with XMLSchema.xsd [was: SSOAP fails with .types[[1]] : subscript out of bounds]
Hi again,
On Tue, 2010-06-22 at 10:02 +0200, Steffen Neumann wrote:
> So, if XMLSchema:::processSchemaTypes() does not find
> any custom/embedded type definitions, is it possibe to "inject" those
> from the http://www.w3.org/2001/XMLSchema.xsd
> into genSOAPClientInterface() instead ?
Well, it's not possible, at least for me.
This is as far as I got, any help appreciated:
Thanks in advance,
yours,
Steffen
xsd = XMLSchema:::parseSchemaDoc("http://www.w3.org/2001/XMLSchema.xsd")
root = xmlRoot(xsd)
types = XMLSchema:::processSchemaTypes(root, root, v...
2012 Jun 11
0
SSOAP Parameter Structures: Nested Arrays
...eer = FALSE))
curlSetOpt(.opts = list(proxy = 'proxyserver:port'), curl = curl)
wsdl <- getURL("XXXXXX.asmx?wsdl",
ssl.verifypeer = FALSE)
doc <- xmlInternalTreeParse(wsdl)
def <- processWSDL(doc)
ff <- genSOAPClientInterface(def = def)
# Create the BatchMessage Array above
bm <- new("BatchMessage",
Message = "XXXX",
MessageID = "XXXX",
LocaleCode = "XXXX",...