Newbie ZSI / syntax question

M

mrstephengross

I'm getting started working with ZSI. I have a client script that looks
like this:

===================
import ZSI.client
b = ZSI.client.Binding()
b.Send('http://...', 'verifyUserRegistered', '00:00:00:00:00:00')
===================

When I run it, I get the following error:

=======================
File "./sage_installer.py", line 13, in ?
b.Send('http://...', 'verifyUserRegistered', '00:00:00:00:00:00')
File "/usr/local/lib/python2.3/site-packages/ZSI/client.py", line
209, in Send
self.h.connect()
File "/usr/local/lib/python2.3/httplib.py", line 548, in connect
raise socket.error, msg
socket.error: (2, 'No such file or directory')
=======================

I'm trying to make sure I'm calling the Binding.Send() function
correctly. Does it look right? Note that I've replaced the actual url
(to the php server-side script) with '...' in the above example.

Thanks in advance,
--Steve ([email protected])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top