Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

WSDL generation for non mandatory arguments #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion wsmeext/soap/wsdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def gen_function_types(self, path, funcdef):
type=self.soap_type(farg.datatype, True)
)
if not farg.mandatory:
element.set('minOccurs', 0)
element.set('minOccurs', '0')

response_el = ET.Element(
xs_ns('element'),
Expand Down