Hi,
 In ruby, while accessing my web service, I get the following error
saying at soap/property file, " bad URI(is not URI?):,
#<SOAP::Property:0x2a9642af80>" ,
 I also found in your mail archives reference:
http://dev.ctor.org/soap4r/wiki/AccessingBasicAuthProtectedWsdl
 I  have updated my gems with
soap4r and http-access2, anyone have faced this problem, Plz shed ur
ideas to overcome this problem,

 My code is as follows:
 require 'soap/rpc/driver'
 require 'soap/wsdlDriver'
 require 'cgi'
 require 'net/http'
 #require 'defaultDriver.rb'
 wsdl_url = ARGV.shift
 $obj = nil
 wsdl_url = 'https://myservice.com/webservice/service?wsdl '
 user = "test"
 pass = "test123"
 #obj  = SOAP::RPC::Driver.new(wsdl_url)
 $obj = SOAP::WSDLDriverFactory.new(wsdl_url)

 I get this error,
 Exception `LoadError' at
/usr/local/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:10 - no such file
to load -- xml/parser
 Exception `LoadError' at
/usr/local/lib/ruby/1.8/xsd/xmlparser/xmlscanner.rb:10 - no such file
to load -- xmlscan/scanner
 Set XSD::XMLParser::REXMLParser as XML processor.
 importing: https://cert.hub.care360.com/orders/service?wsdl
 find property at soap/property
 Exception `URI::InvalidURIError' at
/usr/local/lib/ruby/1.8/uri/common.rb:432 - bad URI(is not URI?):
#<SOAP::Property:0x2a9642b020>
 /usr/local/lib/ruby/1.8/uri/common.rb:432:in `split': bad URI(is not
URI?): #<SOAP::Property:0x2a9642b020> (URI::InvalidURIError)
        from /usr/local/lib/ruby/1.8/uri/common.rb:481:in `parse'
        from 
/usr/local/lib/ruby/gems/1.8/gems/http-access-2.0.7/lib/http-access2.rb:46:in
`urify'
        from 
/usr/local/lib/ruby/gems/1.8/gems/http-access-2.0.7/lib/http-access2.rb:213:in
`set_basic_auth'
        from /usr/local/lib/ruby/1.8/soap/httpconfigloader.rb:56:in
`set_basic_auth'
        from /usr/local/lib/ruby/1.8/soap/httpconfigloader.rb:55:in
`set_basic_auth'
        from /usr/local/lib/ruby/1.8/soap/httpconfigloader.rb:39:in
`set_options'
        from /usr/local/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:61:in `fetch'
        from /usr/local/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:30:in `import'
        from /usr/local/lib/ruby/1.8/wsdl/importer.rb:18:in `import'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:124:in `import'
        from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:28:in `initialize'
        from test_new.rb:14

 Thanks ,
 Usha

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to