the unknown element : {} html probably means you are getting an html
response back from the server - visit the url with a browser to make sure
you are not getting an error message
Paul
----- Original Message -----
From: "barry" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 11, 2007 10:16 AM
Subject: Re: [Wtr-general] Web Service client call from Ruby.
>I tried the approach mentioned in the link before. It didn't really work.
>Right calling "create_rpc_driver". i got following error. (before I event
>have chance to set the basic auth information)
>
> irb(main):009:0> @soap=SOAP::WSDLDriverFactory.new(url).create_rpc_driver
> warning: peer certificate won't be verified in this SSL session
> WSDL::XMLSchema::Parser::UnknownElementError: unknown element: {}html
> from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/parser.rb:116:in
> `decode_ta
> from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/parser.rb:82:in
> `start_elem
>
> from c:/ruby/lib/ruby/1.8/xsd/xmlparser/parser.rb:67:in
> `start_eleme
> from c:/ruby/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:34:in
> `do_parse
> from c:/ruby/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `parse'
> from c:/ruby/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in
> `do_parse
> from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/parser.rb:63:in `parse'
> from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:42:in `parse'
> from c:/ruby/lib/ruby/1.8/wsdl/importer.rb:31:in `parse'
> from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:30:in `import'
> from c:/ruby/lib/ruby/1.8/wsdl/importer.rb:18:in `import'
> from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:124:in `import'
> from c:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:28:in `initialize'
> from (irb):9:in `new'
> from (irb):9
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general