Re: [Soaplab-users] Soaplab2, WSDLs and third-party clients
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2008-06-26 15:24:54
|
>> Soaplab use the following line of code to find out name of the service >> called. >> >> String serviceName = StringUtils.substringAfterLast (requestURI, "/"); >> >> service names should normally include group name as well. for example >> when using the default helloworld service it should be >> "classic.helloworld". > > Success! Thanks :-) > > Have a good weekend, > > Andrew. Hi, I have the same problem than you had but I cannot get success. I can only use AnalysisList because some of its functions do not need arguments. With SoapUI, if I want to run 'getCharacteristics' how do you pass 'classic.helloworld' ? Where should I write 'classic.helloworld' ? It does not work between arg0 tags for me. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:org="http://org.soaplab.2"> <soapenv:Header/> <soapenv:Body> <org:getCharacteristics> <!--Optional:--> <arg0></arg0> </org:getCharacteristics> </soapenv:Body> </soapenv:Envelope> And with perl SOAP::Lite my $client = SOAP::Lite->service('http://localhost:8080/soaplab2/services?wsdl'); $client->getCharacteristics(); How to pass 'classic.helloworld' ? Thanks -- Sébastien Moretti |