- require 'rubygems'
- require 'soap/wsdlDriver'
- url = "<a href="http://localhost:3001/hello_message/wsdl">http://localhost:3001/hello_message/wsdl"
- client = SOAP::WSDLDriverFactory.new(url).create_rpc_driver
- client.addUser('arron', 26, true, 'arron@gmail.com')
- #该片段来自于http://www.codesnippet.cn/detail/010420132662.html
来源: http://www.codesnippet.cn/detail/010420132662.html