[Soaplab-users] Soaplab2, WSDLs and third-party clients
Brought to you by:
marsenger
From: Andrew C. <cl...@bi...> - 2008-06-05 16:02:00
|
Hi everyone, I'm a brand-new Soaplab user so apologies if I've missed something obvious here, but I've looked through the website and Google and haven't found any solutions. I've installed Soaplab2 and gone through the instructions in the first part of "Soaplab 2: Step by Step" successfully. So, I can connect to http://localhost:8080/soaplab2/ and see all the standard services supplied with the system, and get sensible results out. However, what I really need to do is ensure that I can consume Soaplab2 services in other clients. So I got the WSDL files in src/etc/wsdl and edited them to have http://localhost:8080/soaplab2/services instead of REPLACE_WITH_ACTUAL_URL. I then downloaded SoapUI to test them with (http://soapui.org/) and loaded up AnalysisList.wsdl, and it correctly parsed the service definitions and gave me request templates for each of them. However, I can't get anything out except faults. For example, when I try to call getAvailableAnalyses with the following request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:org="http://org.soaplab.2"> <soapenv:Header/> <soapenv:Body> <org:getAvailableAnalyses/> </soapenv:Body> </soapenv:Envelope> I just get this response: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"> <faultcode>S:Client</faultcode> <faultstring>Cannot find dispatch method for {http://org.soaplab.2}getAvailableAnalyses</faultstring> </S:Fault> </S:Body> </S:Envelope> What am I doing wrong? I know it's not a SoapUI-specific fault because the same thing happens when I try to call methods with the Perl module SOAP::WSDL too. wsdl2perl.pl generates client proxy classes quite happily, with no errors, but I just get the same exceptions about missing dispatch methods. I'd really appreciate any suggestions you can throw my way because Soaplab2 looks like exactly what we need for this project (exposing various analytical processes from the CATH database). Thanks in advance, Dr Andrew Clegg CATH Group Research Dept. of Structural & Molecular Biology University College London http://cathdb.info/ |