Questions tagged [ladon]

Ladon is a multi-protocol web service framework.

Ladon is a multi-protocol web service framework.

16 questions
3
votes
3 answers

pdf file can't be opened in web service using subprocess.Popen

I have a problem with opening PDF file. (i am using Ladon and Python under mod_wsgi working with Apache2. so on a ubuntu apache server system- switched to windows system) I'm trying to run the following Python script: (where, str_pdf_file_name =…
SKT
  • 83
  • 1
  • 10
2
votes
0 answers

ladon throwing an AttributeError

I'm trying to get ladon working, however, I don't seem to be able to define the service properly. Specifically, even with a minimal test case, it's throwing Traceback (most recent call last): File…
Basic
  • 26,321
  • 24
  • 115
  • 201
2
votes
2 answers

How to call web service which is developed in Python's ladon framework from iOS app?

The web services are built on Python's Ladon framework. Web Service URL is: http://ladonize.org/python-demos/Calculator The code for calling web service is as below : NSString *requestString = [NSString stringWithFormat: …
Nevil Lad
  • 533
  • 6
  • 20
1
vote
0 answers

Ladon auto-refresh module/code

I have a Ladon service that currently uses one service module named register, behind that is code in services/register.py. Other frameworks, such as .NET and Java, will automatically compile & reload code/classes when the underlying physical file…
DYoung
  • 841
  • 1
  • 6
  • 11
1
vote
0 answers

Using pysimplesoap to call ladonize SOAP example. Getting the syntax right

I'm trying to call the calculator example from ladonize.org using this code. I managed to get pysimplesoap to work with other external soap services and am trying to roll out my own soap service using ladon / python 2.7 The SOAP service works when…
576i
  • 7,579
  • 12
  • 55
  • 92
1
vote
0 answers

Modify return type definition in generated WSDL of ladonized web service method

i have written a python web service using ladon web services (http://ladonize.org) and i want to access the SOAP interface using Java and Axis2. I have successfully tested the WS using python and the SUDS client library. Calling a remote service…
bvfnbk
  • 61
  • 1
  • 5
1
vote
2 answers

Remember state between method calls

I'm exposing web service using python ladon package and SOAP. I'm want to remember state between two method calls. Here is example code: from ladon.ladonizer import ladonize import logging class Sum(object): sum = 0 FORMAT = '%(name)s…
1
vote
1 answer

ladon + uwsgi: unable to load app

I am using to publish some API (soap) over the internet. I would like to use nginx + uwsgi but I am in trouble: I get this output browsing to the page offered by the uwsgi binary: Traceback (most recent call last): File…
Paolinux
  • 167
  • 1
  • 8
1
vote
1 answer

when consuming SOAP web services with C# got null, provider is Ladon/Python

i am trying to consuming SOAP web services with C#, and while it seems ok when using SOAPUI or even using Python with SUDS (i wanted to be sure it was not on the server side), when consuming it from C#, i always get null value (while an interception…
user1340802
  • 1,157
  • 4
  • 17
  • 36
0
votes
0 answers

Ladon (example has syntax error)

(Ladon) I use the command 'serve' and get a syntax error pointing to the 'serve' keyword, I've also tried substituting the 'serve' with 'testserve' because the -ctl script has notes talking about the name change but using 'testserve' also gives the…
Sm Sp
  • 1
0
votes
2 answers

Ladon only returning once for a for loop

I am trying to return 4 up to 100 rows from ladon/python but it is only returning the first row in the for loop. Currently it returns EDIT: The For loop works if I just do **for row in cursor: RSOID = row.RSO_ID …
cambria
  • 49
  • 6
0
votes
1 answer

Python Ladon can't return Lists

I'm setting up a Ladon SOAP server, and can't get it to return lists at all. Here's what I have: class V1(object): """ This service returns events between two times for a given trackable. """ @ladonize(rtype=[ PORTABLE_STRING ]) …
TyrantWave
  • 4,583
  • 2
  • 22
  • 25
0
votes
1 answer

Apache, importing a python module with mutex and ladon, script hang

i have a strange behaviour of a python script running through Apache/mod_wsgi/Ladon, when running it from a python shell, every thing is fine, on one machine everything is fine, but on the other the same script hang and it seems that it is…
user1340802
  • 1,157
  • 4
  • 17
  • 36
0
votes
3 answers

pass python list to ladon using suds

I want to send a python list to my ladon service. Consider the following python list lst_col_title = [(1, 'Column1', 10, 'L'),(2, 'Column2', 15, 'L'),(3, 'Column3', 15, 'L'),(4, 'Column4', 10, 'L'),(5, 'Column5', 10, 'L')] Is their any possible way…
SKT
  • 83
  • 1
  • 10
0
votes
1 answer

How can we return instance of class from ladon functions in python?

I want to return a instance of user defined class and list of instances of user defined class from a ladon function? Is it possible?
user1059150
  • 131
  • 1
  • 3
  • 6
1
2