You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi all,
I need to import data from multiple Sharepoint Webservice instances but I sit behind a proxy. I've read all the articles I can find and can't determine where or if it's even possible to set a proxy config for a tWebServiceInput or WSDLSchema . I'm using TOS 2.4.2r17347.
If someone could help, I would greatly appreciate it.
Robert Hall
Offline
By default, in the WSDL property (not really correctly labelled for the Perl property), I have:
'http://services.soaplite.com/temper.cgi'
I've installed a Squid proxy server on localhost without authentication, in the WSDL property:
'http://services.soaplite.com/temper.cgi', proxy =>['http' => 'http://localhost:3128']
Then I have added a user/password (foo/bar) on my proxy, the WSDL property becomes:
'http://services.soaplite.com/temper.cgi', proxy =>['http' => 'http://foo:bar@localhost:3128']
You can also add a timeout this way:
'http://services.soaplite.com/temper.cgi', proxy =>['http' => 'http://foo:bar@localhost:3128'], timeout => 5
In the /var/log/squid/access.log, I have:
1221740276.801 821 127.0.0.1 TCP_MISS/200 977 POST http://services.soaplite.com/temper.cgi foo DIRECT/208.113.208.191 text/xml
this line shows me I correctly use the authenticated proxy (and not the direct internet connection).
Offline
Thanks for the post and yes the web service call with proxy does work for the temperature conversion. Now, onto my real issue. I'm trying to extract data from Sharepoint through it's web services. I keep getting a 404 error, even through I know the service is there, I can hit it using both IE and Altova XMLSpy. That's all the information that's being returned. If anyone has experience using TOS to pull in sharepoint listitems, please let me know. Thanks.
Offline
Pages: 1