[R] SSOAP: arguments passed as
sneumann
sneumann at ipb-halle.de
Fri May 9 13:39:55 CEST 2008
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 below):
<wsdl:input name="MassBank_Simple_2Request">
<wsdlsoap:body encodingStyle="..." namespace="msbi"
</wsdl:input>
Any ideas ? Would I have to hack genSOAPClientInterface()
or are there simpler ideas ? Alternatively, what changes
would be needed to the WSDL ?
Yours,
Steffen
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://msbi.ipb-halle.de/axis/services/MassBank_Simple_2" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://msbi.ipb-halle.de/axis/services/MassBank_Simple_2" xmlns:intf="http://msbi.ipb-halle.de/axis/services/MassBank_Simple_2" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:message name="MassBank_Simple_2Response">
<wsdl:part name="MassBank_Simple_2Return" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="MassBank_Simple_2Request">
<wsdl:part name="data" type="xsd:anyType"/>
</wsdl:message>
<wsdl:portType name="MassBank_Simple_2Impl">
<wsdl:operation name="MassBank_Simple_2" parameterOrder="data">
<wsdl:input message="impl:MassBank_Simple_2Request" name="MassBank_Simple_2Request"/>
<wsdl:output message="impl:MassBank_Simple_2Response" name="MassBank_Simple_2Response"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MassBank_Simple_2SoapBinding" type="impl:MassBank_Simple_2Impl">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="MassBank_Simple_2">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="MassBank_Simple_2Request">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ipb_halle.de" use="encoded"/>
</wsdl:input>
<wsdl:output name="MassBank_Simple_2Response">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://msbi.ipb-halle.de/axis/services/MassBank_Simple_2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MassBank_Simple_2ImplService">
<wsdl:port binding="impl:MassBank_Simple_2SoapBinding" name="MassBank_Simple_2">
<wsdlsoap:address location="http://tomcat1.ipb-sub.ipb-halle.de:8180/axis/services/MassBank_Simple_2"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
IPB Halle AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann http://www.IPB-Halle.DE
Weinberg 3 http://msbi.bic-gh.de
06120 Halle Tel. +49 (0) 345 5582 - 1470
+49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080509/54991de8/attachment.bin>
More information about the R-help
mailing list