Questions tagged [zsi]

The Zolera Soap Infrastructure. Python library for interacting with web services using SOAP.

The Zolera Soap Infrastructure

Python library for interacting with web services using SOAP.

Links

Home Page
Documentation
SVN Tree

31 questions
1
vote
1 answer

Compatibility between PHP SOAP and Python SOAP libraries

The Moodle LMS can be used to quiz students. One optional question type (Opaque) uses SOAP to request questions from a service ( code at https://goo.gl/iGDIiy ). There is a working "question server" implemented in PHP using the WSDL defined at…
1
vote
0 answers

how to create Mock for a python client which uses ZSI package?

I have a client code which is written using ZSI i would like to setup a mock with static response. I tried to use urllib2 package but its not working as the return type is string in urllib2 and here the response is of another type which i dont know.…
1
vote
1 answer

How to display outcoming and incoming SOAP message for ZSI.ServiceProxy in Python?

How to display a SOAP message generated by ZSI.ServiceProxy and a respond from a Web Service when a Web Service method is invoked?
czuk
  • 6,218
  • 10
  • 36
  • 47
1
vote
1 answer

Web Service client in Python using ZSI - "Classless struct didn't get dictionary"

I am trying to write a sample client in Python using ZSI for a simple Web Service. The Web Service WSDL is following:
czuk
  • 6,218
  • 10
  • 36
  • 47
1
vote
0 answers

value of the returned xml element in simple twisted SOAP server

I am trying to change the value of the returned XML element of my simple twisted SOAP server. (I generated the server with wsdl2py --twisted --complexType Myservice.wsdl.) My return element XSD looks like this:
Tommi
  • 31
  • 5
0
votes
2 answers

Using Ladon in Python 2.6 on windows

I have been trying to create a web service out some python scripts, and haven't seemed to have had much luck. I am new to web services in general, but would really like to get this figured out. I'm on Windows 7 and use IIS7. The service also…
Royce
  • 1
  • 3
0
votes
1 answer

Python SOAP WSDL works in SOAPpy but not ZSI or zeep

I need a python SOAP library that can handle multipart attachments. My understanding is that this is not supported by SOAPpy or suds but that it is supported by ZSI and zeep. However, while SOAPpy works just fine with the WSDL file that I need to…
sevredox
  • 33
  • 6
0
votes
0 answers

wsdl2dispatch raises exception while generating server file

I want to implement a SOAP web server using python ZSI library. I tried solution described here, but I get exception while using wsdl2dispatch command as described in page 6 of the book: wsdl2dispatch --extended mywsdl.xml It raises: Traceback…
Zeinab Abbasimazar
  • 9,835
  • 23
  • 82
  • 131
0
votes
1 answer

How to generate python code from WSDL using ZSI?

I installed ZSI package. I have wsdl file and I want to generate python code from it. Is there a command-line tool in ZSI to generate python code from WSDL or I need to write my own class for this and call wsdl2python methods? Thanks...
Andrey Rubliov
  • 1,359
  • 2
  • 17
  • 24
0
votes
1 answer

Implementing ONVIF WS-BaseNotification - Unable to load wsdl

I'm trying to implement ONVIF WS-BaseNotification mechanism using python and requirement is like this. Subscribe for events from an ONVIF compliant camera Upon receiving notifications, from camera parse the notification message and extract motion…
HRM
  • 2,097
  • 6
  • 23
  • 37
0
votes
2 answers

How to display outcoming and incoming SOAP message for ZSI.ServiceProxy in Python (version 2.1)?

Couple months ago I have asked the same question but in the context of older version of ZSI (How to display outcoming and incoming SOAP message for ZSI.ServiceProxy in Python?). Now, in the new version of ZSI 2.1 there is no tacefile parameter). I…
czuk
  • 6,218
  • 10
  • 36
  • 47
0
votes
0 answers

Python ZSI web service giving 404 Service not found error

I have made a python SOAP webservice using the ZSI Framework. I am trying to call the service from the browser through link http://localhost:8181/WebService. But I am getting the 404 Service not found error. What can be the problem? I am able to…
Hassan Zaheer
  • 1,361
  • 2
  • 20
  • 34
0
votes
1 answer

What is the best way to debug a SOAP interaction?

When I encounter a SOAP error, the server I communicate with only return minimal error message ("problem with parameters"). So I want to see the xml that is exchanged (send or received). I modified my SOAP library in order to print the xml echanged,…
Pierre.Sassoulas
  • 3,733
  • 3
  • 33
  • 48
0
votes
2 answers

ImportError: No module named ZSI

When I run some test script, I saw this error on my windows machine. I have downloaded ZSI-2.0-rc3 from website. But I don't know where to put these files and how to put these files. Does anyone know about this. My environment is Windows 7. Thanks a…
sansha
  • 1
  • 3
  • 6
0
votes
1 answer

ZSI.generate.Wsdl2PythonError: unsupported local simpleType restriction

i have this simple type from an external webservice:
diegor
  • 75
  • 1
  • 8