On May 13, 5:26 pm, Steve Howell wrote:
> On May 12, 12:51 pm, wdveloper wrote:
>
>
>
> > On May 12, 8:38 pm, Steve Howell wrote:
>
> > > On May 12, 8:59 am, wdveloper wrote:
>
> > > > Hi everyone,
>
> > > > I am trying to cal
On May 12, 12:51 pm, wdveloper wrote:
> On May 12, 8:38 pm, Steve Howell wrote:
>
>
>
> > On May 12, 8:59 am, wdveloper wrote:
>
> > > Hi everyone,
>
> > > I am trying to call a webservice which requires an http
> > > authentication.
> >
On May 12, 8:38 pm, Steve Howell wrote:
> On May 12, 8:59 am, wdveloper wrote:
>
> > Hi everyone,
>
> > I am trying to call a webservice which requires an http
> > authentication.
> > To reach the ws, I must pass from a proxy http. So in the whole I need
> >
On May 12, 8:59 am, wdveloper wrote:
> Hi everyone,
>
> I am trying to call a webservice which requires an http
> authentication.
> To reach the ws, I must pass from a proxy http. So in the whole I need
> go through two authentications before getting the ws working. I am
>
Hi everyone,
I am trying to call a webservice which requires an http
authentication.
To reach the ws, I must pass from a proxy http. So in the whole I need
go through two authentications before getting the ws working. I am
using SOAPpy and I'm getting quite crazy.
I am able to arrange
On Fri, 24 Apr 2009 04:25:20 -0700 (PDT), Lakshman wrote:
> I am trying to authenticate using urllib2. The basic authentication
> works if I hard code authheaders.
...
> except IOError, e:
> print "Something wrong. This shouldnt happen"
First of all, don't shoot yourself in the foot an
I am trying to authenticate using urllib2. The basic authentication
works if I hard code authheaders.
def is_follows(follower, following):
theurl = 'http://twitter.com/friendships/exists.json?
user_a='+follower+'&user_b='+following
username = 'uname1'
password = 'pwd1'
handle = ur
Lakshman wrote:
> Whats is the python urllib2 equivallent of
>
> curl -u username:password status="abcd" http://example.com/update.json
>
> I did this:
>
> handle = urllib2.Request(url)
> authheader = "Basic %s" % base64.encodestring('%s:%s' % (username,
> password))
> handle.add_header("Author
Whats is the python urllib2 equivallent of
curl -u username:password status="abcd" http://example.com/update.json
I did this:
handle = urllib2.Request(url)
authheader = "Basic %s" % base64.encodestring('%s:%s' % (username,
password))
handle.add_header("Authorization", authheader)
Is there a be
I have a tricky situation here with auth/redirection/cookies and I
think I am messing something up with the handler.
I am trying to open a site http://foo.example.com which redirects
(status 302) to https://bar.example.com/ where the dashes
represent lots of subdirectories and paramete
Note: this is in reply to a message from August 2 which i found
searching for help on my own problem. I couldn't seem to reply to it,
but a friend suggested that simply using the same subject would put it
in that thread. In case he's wrong, i quoted the previous comments .
Odd-R. wrote:
> I use t
2 Aug 2005 11:38:51 GMT, Lutz Horn <[EMAIL PROTECTED]>:
> On 2005-08-02, Odd-R. <[EMAIL PROTECTED]> wrote:
> > from SOAPpy import WSDL
> > from SOAPpy import URLopener
> > url= ' http://someserver/somewebservice
> > url1 = URLopener.URLopener(username='user',passwd='pass')
> > server=WSDL.Proxy(url
On 2005-08-02, Odd-R. <[EMAIL PROTECTED]> wrote:
> from SOAPpy import WSDL
> from SOAPpy import URLopener
> url= ' http://someserver/somewebservice
> url1 = URLopener.URLopener(username='user',passwd='pass')
> server=WSDL.Proxy(url1.open(url))
Is it possible to call WSDL.Proxy with a String? Then
I use the following piece of code to contact a webservice,
and read a wsdl file.
from SOAPpy import WSDL
from SOAPpy import URLopener
url= ' http://someserver/somewebservice
url1 = URLopener.URLopener(username='user',passwd='pass')
server=WSDL.Proxy(url1.open(url))
This yields no errors, and ever
14 matches
Mail list logo