[R] SSOAP: arguments passed as

From: sneumann <sneumann_at_ipb-halle.de>
Date: Fri, 09 May 2008 13:39:55 +0200


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


______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Fri 09 May 2008 - 11:55:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 May 2008 - 22:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive