is there automatic typing of return values according to WSDL for the _server_
side?
Currently if my server method returns:
return "http://mmscurl/url";
it produces
<s-gensym3 xsi:type="xsd:anyURI">http://mmscurl/url</s-gensym3>
If I want to conform to the WSDL I have to type
return SOAP::Data
->uri("http://localhost/lookupserver/")->prefix("lookupserver")
->type("lookupserver:mmscUrl")->name("mmscUrl")->value("http://mmscurl/url");
to produce the WSDL-compliant
<lookupserver:mmscUrl xmlns:lookupserver="http://localhost/lookupserver/" xsi:type="lookupserver:mmscUrl">http://mmscurl/url</lookupserver:mmscUrl>
The parameters (passed from the client side) are typed correctly if using
$soap=SOAP::Lite->service("http://localhost/lookupserver/lookupserver.wsdl");
as the simple code
print $soap->query("420123456789");
will produce the WSDL-compliant
<tel xsi:type="typens:Tel">420123456789</tel>
I want to call &service for the server class 'SOAP::Transport::HTTP2::CGI'.