Alberto Labarga - 2007-04-30

Hi,

I have a ZSI SOAP server that I make available using

dispatch.AsCGI()

I have created the following WSDL file

http://www.ebi.ac.uk/Tools/webservices/elm/cs.wsdl.

if I access this service using a ZSI client or a Perl client created like this

==========================================================================================
my $uri = 'http://elm.eu.org/CS';
my $proxy = 'http://www.ebi.ac.uk/cgi-bin/webservices/elm/testCGI.py';

my $soap = new SOAP::Lite(uri   => $uri,
                          proxy => $proxy);
                     
my $resp = $soap->call("runCS" => (SOAP::Data->name('seq_id' => $seq_id)->type('string'),
                                   SOAP::Data->name('elm_output' => $elm_output)->type('string')));
                       
my $jobid = $resp->valueof('//runCSResponse');

==========================================================================================

everything works fine,

however, if I try the following

my $WSDL = 'http://www.ebi.ac.uk/Tools/webservices/elm/cs.wsdl';
my $soap = SOAP::Lite->service($WSDL);
my $jobid = $soap->runCS($seq_id, $elm_output);

or a .Net client,

even if the SOAP message is received

<SOAP-ENV:Envelope><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body>
<runCSResponse id="o2a97125ed0" xsi:type="xsd:string">claudia-20070430-14282679</runCSResponse>
</SOAP-ENV:Body></SOAP-ENV:Envelope>

it is not correctly parsed, I suppose, becouse the runCSResponse is not typed with the namespace http://elm.eu.org/CS (but I just guessing this one)

can anybody help me? how can I make the server to return

<namesp1:runCSResponse xmlns:namesp1="http://elm.eu.org/CS">

at least for testing? any other idea?

thanks

Alberto