null
OK, I modified Dave's script thus:
<%params = {"Dave"}; xml.rpc ("127.0.0.1", 1234,
"radio.helloWorld", @params, protocol:"soap",
soapAction:"/examples")%>
Note the change in the port number (so I can capture the messages) and in the protocol.
And now have a helloWorld.txt in *both* the H:\Program Files\Radio UserLand\Web Services and H:\Program Files\Radio UserLand\Web Services\examples. But I still get a Macro error as the name "helloWorld" hasn't been defined. So I can't see what SOAP responses are generated, but here's the request (some white space added for readability):
<?xml version="1.0"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <helloWorld> <param1 xsi:type="xsd:string">Dave</param1> </helloWorld> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Note the lack of a namespace on the body. Unfortunately, this makes it difficult for implementations like Apache SOAP to interoperate for reasons I detail here. The good news is that the situation gets a bit better in Axis.