From: Mark Volkmann Date: 2002-10-06T22:22:46+09:00 Subject: Re: SOAP4R proxy support? Thank you for fixing it! I can't wait to show you what I've done with SOAP4R. I have a working Ruby version of the SWSAPI defined by ActiveState that is based on SOAP4R! I can invoke a web service in two lines of code like this. proxy = SWSAPI::WebService.new.serviceProxy(WSDL_URL) temperature = proxy.getTemp(ZIPCODE) WSDL_URL is a constant containing the URL of a WSDL file. ZIPCODE is a constant containing some U.S. zipcode for which I want to know the current temperature ... since that's what the web service I'm invoking does. I still have lots of work to do on supporting passing of Ruby objects and complex XML Schema parsing, but the basics are there. ----- Original Message ----- From: "NAKAMURA, Hiroshi" To: "ruby-talk ML" Sent: Friday, October 04, 2002 9:29 PM Subject: Re: SOAP4R proxy support? > Hi, > > > From: "NAKAMURA, Hiroshi" > > Sent: Friday, October 04, 2002 11:23 PM > > > > I can't get SOAP4R to send requests though a proxy server. I'm setting the > > > proxy parameter passed to SOAP::Driver constructor (the 5th parameter) to > > > "http://server-name:8080" and I get back an HTTP response that says "Proxy > > > denies fulfilling the request". I know I'm using the correct proxy server > > > name and port because I can invoke the same web service going through that > > > proxy server using Java and Axis. Has anyone successfully used SOAP4R with a > > > proxy server? If so, any idea what I might be doing wrong? > > > > Hmm. It works for me (squid). > > Request format of http-access2/version G might not be acceptable > > for some kind of proxy server. > > No. It was a bug of http-access2/G. I used another > CVS version... > > I released http-access2/H. Get it from > http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2 > > Much thanks to Volkmann, Mark for finding this bug and > taking time to file a report. > > Regards, > // NaHi > >