How to change targetNamespace in soap description?
I have a problem with targetNamespace, here is my ladon_test.py:
from ladon.ladonizer import ladonize
from ladon.types.
class Test(object):
class Table(LadonType):
slno = int
colTitle = str
colSize = int
colAlign = str
@ladonize(
def setTables(self, tables):
return len(tables)
I want to make soap request using suds:
from suds.client import Client
client = Client('http://
table = client.
table.slno = 1
table.colTitle = 'col1'
table.colSize = 10
table.colAlign = 'L'
table2 = client.
table2.slno = 2
table2.colTitle = 'col2'
table2.colSize = 15
table2.colAlign = 'L'
tableList = [table, table2]
print (client.
But I have an error:
suds.TypeNotFound: Type not found: ' (ArrayOfTable, http://
targetNamespace is set to tempuri.org in the service description. Can I change it?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jsgaarde
- Solved:
- Last query:
- Last reply: