Menu

#172 Problems with examples and docs

open
nobody
None
5
2006-09-28
2006-09-28
bryan
No

The doc/examples directory provides code which seems
to include very old use of wsdl2py ... and which
don't come close to working with the current version.

The Echo example in the samples/Echo directory is
better but needs some modifications before it works,
and may indicate a problem with wsdl2py in that one
needs to hand-edit the EchoServer_messages file.

- the logic is the wrong way round (the wrong one
fails)
- the EchoServer_client.py file has to be hacked to
declare all the things needed ... (from messages)
- The Echoserver file itself needs to be hacked, the
diff looks like this:
< hws = EchoServer()
< hwsi = EchoServer_interface.EchoServer(impl=hws,
<
auth_method_name="authorize")
< serviceContainer.setNode(hwsi, url="/EchoServer")
---
> #hws = EchoServer()
> #hwsi = EchoServer_interface.EchoServer(impl=hws,
> #
auth_method_name="authorize")
> #serviceContainer.setNode(hwsi, url="/EchoServer")

I think that's the lot.

Discussion


Log in to post a comment.