Two ZSI questions

R

robin.diederen

Hi,

I'm currently developing a SOAP client for the Zimbra collaboration
suite (www.zimbra.com). I'm writing a WSDL and using ZSI's "wsdl2py.py"
to export it to Python code. There are two things I can't get to work
and I cannot find any documentation on.

1. The Zimbra framework requires messages to be formed like this:
<account by="name">
robin
</account>
How do I get the 'by="name"' part in the method tag? The "name" is
variable; other values, like
"id" etc...
I'd like to define this in the WSDL; but I can't find how. Also, I
can't find wether ZSI supports such constructs...

2. I need to attach headers to my SOAP requests. How do I put the
headers in the SOAP message, using the WSDL? If I get the headers in,
will I (from the client) code need to invoke them manually?

Examples are welcome of course :)

Thanks, Robin
 

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,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top