When i try to setup web service connection via SOAP WSDLDriverFactory, I got 
the following error.

c = SOAP::WSDLDriverFactory.new("http://localhost/test.asmx";)

I believe the web service call requires basic authentication. Does anyone know 
how this work?


WSDL::XMLSchema::Parser::UnknownElementError: unknown element: {}html
        from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/parser.rb:116:in `decode_tag'
        from c:/ruby/lib/ruby/1.8/wsdl/xmlSchema/parser.rb:82:in `start_element'

        from c:/ruby/lib/ruby/1.8/xsd/xmlparser/parser.rb:67:in `start_element'
        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):11:in `new'
        from (irb):11
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to