Can anybody write a working code to access to .net websrevice.
I have a simple web service
[WebMethod]
public string HelloWorld()
{
return "Hello!!!";
}
And i have a ruby code
def HelloWorld
soap_client = ActionWebService::Client::Soap.new(Service1,
"http://localhost/WebApplication4/Service1.asmx")
soap_client.default_encodingstyle =
SOAP::EncodingStyle::ASPDotNetHandler::Namespace
soap_client.HelloWorld()
end
Is it correct?? Where can i write it??? Help please.
Thanks a lot.
--
Posted via http://www.ruby-forum.com/.