An exception was raised processing LadonType attribute
Hi,
I get this error, when I run WS method:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/python3/
response_part = dispatcher.
File "/python3/
res_dict = self.result_
File "/python3/
res_
File "/python3/
attr_name)
ladon.exception
classname: <class 'Project365APIW
attribute: LegalForm
An exception was raised
-------
I have this complex type:
class Customer(
ID = int
LegalForm = int
CompanyName = PORTABLE_STRING
DegreeBefore = PORTABLE_STRING
FirstName = PORTABLE_STRING
LastName = PORTABLE_STRING
DegreeAfter = PORTABLE_STRING
CompanyID = PORTABLE_STRING
VAT = PORTABLE_STRING
BankAccount = PORTABLE_STRING
InvoiceTogether = PORTABLE_STRING
Author = PORTABLE_STRING
CreationIP = PORTABLE_STRING
CreationDate = PORTABLE_STRING
ChangedBy = PORTABLE_STRING
ChangeIP = PORTABLE_STRING
ChangeDate = PORTABLE_STRING
and this WS method:
@ladonize(
def getCustomer(self, name):
"""
Get information about customer
"""
db = Customer()
db.ID = 10
db.LastName = "Klimsa"
return db
URL to WSDL is here: http://
I noticed that the error occur for any other type than PORTABLE_STRING. Could you advice me?
Thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ales Klimsa
- Solved:
- Last query:
- Last reply: