You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7448 lines
295 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapDeviceBindingService.cpp
  2. Generated by gSOAP 2.8.17r from onvif.h
  3. Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
  4. The generated code is released under one of the following licenses:
  5. GPL or Genivia's license for commercial use.
  6. This program is released under the GPL with the additional exemption that
  7. compiling, linking, and/or using OpenSSL is allowed.
  8. */
  9. #include "soapDeviceBindingService.h"
  10. DeviceBindingService::DeviceBindingService()
  11. { DeviceBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  12. }
  13. DeviceBindingService::DeviceBindingService(const struct soap &_soap) : soap(_soap)
  14. { }
  15. DeviceBindingService::DeviceBindingService(soap_mode iomode)
  16. { DeviceBindingService_init(iomode, iomode);
  17. }
  18. DeviceBindingService::DeviceBindingService(soap_mode imode, soap_mode omode)
  19. { DeviceBindingService_init(imode, omode);
  20. }
  21. DeviceBindingService::~DeviceBindingService()
  22. { }
  23. void DeviceBindingService::DeviceBindingService_init(soap_mode imode, soap_mode omode)
  24. { soap_imode(this, imode);
  25. soap_omode(this, omode);
  26. static const struct Namespace namespaces[] =
  27. {
  28. {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
  29. {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
  30. {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
  31. {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
  32. {"c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", NULL, NULL},
  33. {"wsu", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", NULL, NULL},
  34. {"xenc", "http://www.w3.org/2001/04/xmlenc#", NULL, NULL},
  35. {"wsc", "http://schemas.xmlsoap.org/ws/2005/02/sc", NULL, NULL},
  36. {"ds", "http://www.w3.org/2000/09/xmldsig#", NULL, NULL},
  37. {"wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL},
  38. {"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
  39. {"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
  40. {"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
  41. {"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
  42. {"xmime", "http://tempuri.org/xmime.xsd", NULL, NULL},
  43. {"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL},
  44. {"tt", "http://www.onvif.org/ver10/schema", NULL, NULL},
  45. {"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL},
  46. {"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL},
  47. {"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL},
  48. {"tdn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL},
  49. {"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL},
  50. {"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL},
  51. {"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL},
  52. {"timg", "http://www.onvif.org/ver20/imaging/wsdl", NULL, NULL},
  53. {"tls", "http://www.onvif.org/ver10/display/wsdl", NULL, NULL},
  54. {"tmd", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL},
  55. {"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL},
  56. {"trc", "http://www.onvif.org/ver10/recording/wsdl", NULL, NULL},
  57. {"trp", "http://www.onvif.org/ver10/replay/wsdl", NULL, NULL},
  58. {"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL},
  59. {"trv", "http://www.onvif.org/ver10/receiver/wsdl", NULL, NULL},
  60. {"tse", "http://www.onvif.org/ver10/search/wsdl", NULL, NULL},
  61. {NULL, NULL, NULL, NULL}
  62. };
  63. soap_set_namespaces(this, namespaces);
  64. }
  65. void DeviceBindingService::destroy()
  66. { soap_destroy(this);
  67. soap_end(this);
  68. }
  69. void DeviceBindingService::reset()
  70. { destroy();
  71. soap_done(this);
  72. soap_initialize(this);
  73. DeviceBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  74. }
  75. #ifndef WITH_PURE_VIRTUAL
  76. DeviceBindingService *DeviceBindingService::copy()
  77. { DeviceBindingService *dup = SOAP_NEW_COPY(DeviceBindingService(*(struct soap*)this));
  78. return dup;
  79. }
  80. #endif
  81. int DeviceBindingService::soap_close_socket()
  82. { return soap_closesock(this);
  83. }
  84. int DeviceBindingService::soap_force_close_socket()
  85. { return soap_force_closesock(this);
  86. }
  87. int DeviceBindingService::soap_senderfault(const char *string, const char *detailXML)
  88. { return ::soap_sender_fault(this, string, detailXML);
  89. }
  90. int DeviceBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
  91. { return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);
  92. }
  93. int DeviceBindingService::soap_receiverfault(const char *string, const char *detailXML)
  94. { return ::soap_receiver_fault(this, string, detailXML);
  95. }
  96. int DeviceBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
  97. { return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);
  98. }
  99. void DeviceBindingService::soap_print_fault(FILE *fd)
  100. { ::soap_print_fault(this, fd);
  101. }
  102. #ifndef WITH_LEAN
  103. #ifndef WITH_COMPAT
  104. void DeviceBindingService::soap_stream_fault(std::ostream& os)
  105. { ::soap_stream_fault(this, os);
  106. }
  107. #endif
  108. char *DeviceBindingService::soap_sprint_fault(char *buf, size_t len)
  109. { return ::soap_sprint_fault(this, buf, len);
  110. }
  111. #endif
  112. void DeviceBindingService::soap_noheader()
  113. { this->header = NULL;
  114. }
  115. void DeviceBindingService::soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance)
  116. { ::soap_header(this);
  117. this->header->wsse__Security = wsse__Security;
  118. this->header->wsa__MessageID = wsa__MessageID;
  119. this->header->wsa__RelatesTo = wsa__RelatesTo;
  120. this->header->wsa__From = wsa__From;
  121. this->header->wsa__ReplyTo = wsa__ReplyTo;
  122. this->header->wsa__FaultTo = wsa__FaultTo;
  123. this->header->wsa__To = wsa__To;
  124. this->header->wsa__Action = wsa__Action;
  125. this->header->wsdd__AppSequence = wsdd__AppSequence;
  126. this->header->wsa5__MessageID = wsa5__MessageID;
  127. this->header->wsa5__RelatesTo = wsa5__RelatesTo;
  128. this->header->wsa5__From = wsa5__From;
  129. this->header->wsa5__ReplyTo = wsa5__ReplyTo;
  130. this->header->wsa5__FaultTo = wsa5__FaultTo;
  131. this->header->wsa5__To = wsa5__To;
  132. this->header->wsa5__Action = wsa5__Action;
  133. this->header->chan__ChannelInstance = chan__ChannelInstance;
  134. }
  135. const SOAP_ENV__Header *DeviceBindingService::soap_header()
  136. { return this->header;
  137. }
  138. int DeviceBindingService::run(int port)
  139. { if (soap_valid_socket(this->master) || soap_valid_socket(bind(NULL, port, 100)))
  140. { for (;;)
  141. { if (!soap_valid_socket(accept()) || serve())
  142. return this->error;
  143. soap_destroy(this);
  144. soap_end(this);
  145. }
  146. }
  147. else
  148. return this->error;
  149. return SOAP_OK;
  150. }
  151. SOAP_SOCKET DeviceBindingService::bind(const char *host, int port, int backlog)
  152. { return soap_bind(this, host, port, backlog);
  153. }
  154. SOAP_SOCKET DeviceBindingService::accept()
  155. { return soap_accept(this);
  156. }
  157. #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
  158. int DeviceBindingService::ssl_accept()
  159. { return soap_ssl_accept(this);
  160. }
  161. #endif
  162. int DeviceBindingService::serve()
  163. {
  164. #ifndef WITH_FASTCGI
  165. unsigned int k = this->max_keep_alive;
  166. #endif
  167. do
  168. {
  169. #ifndef WITH_FASTCGI
  170. if (this->max_keep_alive > 0 && !--k)
  171. this->keep_alive = 0;
  172. #endif
  173. if (soap_begin_serve(this))
  174. { if (this->error >= SOAP_STOP)
  175. continue;
  176. return this->error;
  177. }
  178. if (dispatch() || (this->fserveloop && this->fserveloop(this)))
  179. {
  180. #ifdef WITH_FASTCGI
  181. soap_send_fault(this);
  182. #else
  183. return soap_send_fault(this);
  184. #endif
  185. }
  186. #ifdef WITH_FASTCGI
  187. soap_destroy(this);
  188. soap_end(this);
  189. } while (1);
  190. #else
  191. } while (this->keep_alive);
  192. #endif
  193. return SOAP_OK;
  194. }
  195. static int serve___tds__GetServices(DeviceBindingService*);
  196. static int serve___tds__GetServiceCapabilities(DeviceBindingService*);
  197. static int serve___tds__GetDeviceInformation(DeviceBindingService*);
  198. static int serve___tds__SetSystemDateAndTime(DeviceBindingService*);
  199. static int serve___tds__GetSystemDateAndTime(DeviceBindingService*);
  200. static int serve___tds__SetSystemFactoryDefault(DeviceBindingService*);
  201. static int serve___tds__UpgradeSystemFirmware(DeviceBindingService*);
  202. static int serve___tds__SystemReboot(DeviceBindingService*);
  203. static int serve___tds__RestoreSystem(DeviceBindingService*);
  204. static int serve___tds__GetSystemBackup(DeviceBindingService*);
  205. static int serve___tds__GetSystemLog(DeviceBindingService*);
  206. static int serve___tds__GetSystemSupportInformation(DeviceBindingService*);
  207. static int serve___tds__GetScopes(DeviceBindingService*);
  208. static int serve___tds__SetScopes(DeviceBindingService*);
  209. static int serve___tds__AddScopes(DeviceBindingService*);
  210. static int serve___tds__RemoveScopes(DeviceBindingService*);
  211. static int serve___tds__GetDiscoveryMode(DeviceBindingService*);
  212. static int serve___tds__SetDiscoveryMode(DeviceBindingService*);
  213. static int serve___tds__GetRemoteDiscoveryMode(DeviceBindingService*);
  214. static int serve___tds__SetRemoteDiscoveryMode(DeviceBindingService*);
  215. static int serve___tds__GetDPAddresses(DeviceBindingService*);
  216. static int serve___tds__GetEndpointReference(DeviceBindingService*);
  217. static int serve___tds__GetRemoteUser(DeviceBindingService*);
  218. static int serve___tds__SetRemoteUser(DeviceBindingService*);
  219. static int serve___tds__GetUsers(DeviceBindingService*);
  220. static int serve___tds__CreateUsers(DeviceBindingService*);
  221. static int serve___tds__DeleteUsers(DeviceBindingService*);
  222. static int serve___tds__SetUser(DeviceBindingService*);
  223. static int serve___tds__GetWsdlUrl(DeviceBindingService*);
  224. static int serve___tds__GetCapabilities(DeviceBindingService*);
  225. static int serve___tds__SetDPAddresses(DeviceBindingService*);
  226. static int serve___tds__GetHostname(DeviceBindingService*);
  227. static int serve___tds__SetHostname(DeviceBindingService*);
  228. static int serve___tds__SetHostnameFromDHCP(DeviceBindingService*);
  229. static int serve___tds__GetDNS(DeviceBindingService*);
  230. static int serve___tds__SetDNS(DeviceBindingService*);
  231. static int serve___tds__GetNTP(DeviceBindingService*);
  232. static int serve___tds__SetNTP(DeviceBindingService*);
  233. static int serve___tds__GetDynamicDNS(DeviceBindingService*);
  234. static int serve___tds__SetDynamicDNS(DeviceBindingService*);
  235. static int serve___tds__GetNetworkInterfaces(DeviceBindingService*);
  236. static int serve___tds__SetNetworkInterfaces(DeviceBindingService*);
  237. static int serve___tds__GetNetworkProtocols(DeviceBindingService*);
  238. static int serve___tds__SetNetworkProtocols(DeviceBindingService*);
  239. static int serve___tds__GetNetworkDefaultGateway(DeviceBindingService*);
  240. static int serve___tds__SetNetworkDefaultGateway(DeviceBindingService*);
  241. static int serve___tds__GetZeroConfiguration(DeviceBindingService*);
  242. static int serve___tds__SetZeroConfiguration(DeviceBindingService*);
  243. static int serve___tds__GetIPAddressFilter(DeviceBindingService*);
  244. static int serve___tds__SetIPAddressFilter(DeviceBindingService*);
  245. static int serve___tds__AddIPAddressFilter(DeviceBindingService*);
  246. static int serve___tds__RemoveIPAddressFilter(DeviceBindingService*);
  247. static int serve___tds__GetAccessPolicy(DeviceBindingService*);
  248. static int serve___tds__SetAccessPolicy(DeviceBindingService*);
  249. static int serve___tds__CreateCertificate(DeviceBindingService*);
  250. static int serve___tds__GetCertificates(DeviceBindingService*);
  251. static int serve___tds__GetCertificatesStatus(DeviceBindingService*);
  252. static int serve___tds__SetCertificatesStatus(DeviceBindingService*);
  253. static int serve___tds__DeleteCertificates(DeviceBindingService*);
  254. static int serve___tds__GetPkcs10Request(DeviceBindingService*);
  255. static int serve___tds__LoadCertificates(DeviceBindingService*);
  256. static int serve___tds__GetClientCertificateMode(DeviceBindingService*);
  257. static int serve___tds__SetClientCertificateMode(DeviceBindingService*);
  258. static int serve___tds__GetRelayOutputs(DeviceBindingService*);
  259. static int serve___tds__SetRelayOutputSettings(DeviceBindingService*);
  260. static int serve___tds__SetRelayOutputState(DeviceBindingService*);
  261. static int serve___tds__SendAuxiliaryCommand(DeviceBindingService*);
  262. static int serve___tds__GetCACertificates(DeviceBindingService*);
  263. static int serve___tds__LoadCertificateWithPrivateKey(DeviceBindingService*);
  264. static int serve___tds__GetCertificateInformation(DeviceBindingService*);
  265. static int serve___tds__LoadCACertificates(DeviceBindingService*);
  266. static int serve___tds__CreateDot1XConfiguration(DeviceBindingService*);
  267. static int serve___tds__SetDot1XConfiguration(DeviceBindingService*);
  268. static int serve___tds__GetDot1XConfiguration(DeviceBindingService*);
  269. static int serve___tds__GetDot1XConfigurations(DeviceBindingService*);
  270. static int serve___tds__DeleteDot1XConfiguration(DeviceBindingService*);
  271. static int serve___tds__GetDot11Capabilities(DeviceBindingService*);
  272. static int serve___tds__GetDot11Status(DeviceBindingService*);
  273. static int serve___tds__ScanAvailableDot11Networks(DeviceBindingService*);
  274. static int serve___tds__GetSystemUris(DeviceBindingService*);
  275. static int serve___tds__StartFirmwareUpgrade(DeviceBindingService*);
  276. static int serve___tds__StartSystemRestore(DeviceBindingService*);
  277. static int serve___tds__GetServices_(DeviceBindingService*);
  278. static int serve___tds__GetServiceCapabilities_(DeviceBindingService*);
  279. static int serve___tds__GetDeviceInformation_(DeviceBindingService*);
  280. static int serve___tds__SetSystemDateAndTime_(DeviceBindingService*);
  281. static int serve___tds__GetSystemDateAndTime_(DeviceBindingService*);
  282. static int serve___tds__SetSystemFactoryDefault_(DeviceBindingService*);
  283. static int serve___tds__UpgradeSystemFirmware_(DeviceBindingService*);
  284. static int serve___tds__SystemReboot_(DeviceBindingService*);
  285. static int serve___tds__RestoreSystem_(DeviceBindingService*);
  286. static int serve___tds__GetSystemBackup_(DeviceBindingService*);
  287. static int serve___tds__GetSystemLog_(DeviceBindingService*);
  288. static int serve___tds__GetSystemSupportInformation_(DeviceBindingService*);
  289. static int serve___tds__GetScopes_(DeviceBindingService*);
  290. static int serve___tds__SetScopes_(DeviceBindingService*);
  291. static int serve___tds__AddScopes_(DeviceBindingService*);
  292. static int serve___tds__RemoveScopes_(DeviceBindingService*);
  293. static int serve___tds__GetDiscoveryMode_(DeviceBindingService*);
  294. static int serve___tds__SetDiscoveryMode_(DeviceBindingService*);
  295. static int serve___tds__GetRemoteDiscoveryMode_(DeviceBindingService*);
  296. static int serve___tds__SetRemoteDiscoveryMode_(DeviceBindingService*);
  297. static int serve___tds__GetDPAddresses_(DeviceBindingService*);
  298. static int serve___tds__GetEndpointReference_(DeviceBindingService*);
  299. static int serve___tds__GetRemoteUser_(DeviceBindingService*);
  300. static int serve___tds__SetRemoteUser_(DeviceBindingService*);
  301. static int serve___tds__GetUsers_(DeviceBindingService*);
  302. static int serve___tds__CreateUsers_(DeviceBindingService*);
  303. static int serve___tds__DeleteUsers_(DeviceBindingService*);
  304. static int serve___tds__SetUser_(DeviceBindingService*);
  305. static int serve___tds__GetWsdlUrl_(DeviceBindingService*);
  306. static int serve___tds__GetCapabilities_(DeviceBindingService*);
  307. static int serve___tds__SetDPAddresses_(DeviceBindingService*);
  308. static int serve___tds__GetHostname_(DeviceBindingService*);
  309. static int serve___tds__SetHostname_(DeviceBindingService*);
  310. static int serve___tds__SetHostnameFromDHCP_(DeviceBindingService*);
  311. static int serve___tds__GetDNS_(DeviceBindingService*);
  312. static int serve___tds__SetDNS_(DeviceBindingService*);
  313. static int serve___tds__GetNTP_(DeviceBindingService*);
  314. static int serve___tds__SetNTP_(DeviceBindingService*);
  315. static int serve___tds__GetDynamicDNS_(DeviceBindingService*);
  316. static int serve___tds__SetDynamicDNS_(DeviceBindingService*);
  317. static int serve___tds__GetNetworkInterfaces_(DeviceBindingService*);
  318. static int serve___tds__SetNetworkInterfaces_(DeviceBindingService*);
  319. static int serve___tds__GetNetworkProtocols_(DeviceBindingService*);
  320. static int serve___tds__SetNetworkProtocols_(DeviceBindingService*);
  321. static int serve___tds__GetNetworkDefaultGateway_(DeviceBindingService*);
  322. static int serve___tds__SetNetworkDefaultGateway_(DeviceBindingService*);
  323. static int serve___tds__GetZeroConfiguration_(DeviceBindingService*);
  324. static int serve___tds__SetZeroConfiguration_(DeviceBindingService*);
  325. static int serve___tds__GetIPAddressFilter_(DeviceBindingService*);
  326. static int serve___tds__SetIPAddressFilter_(DeviceBindingService*);
  327. static int serve___tds__AddIPAddressFilter_(DeviceBindingService*);
  328. static int serve___tds__RemoveIPAddressFilter_(DeviceBindingService*);
  329. static int serve___tds__GetAccessPolicy_(DeviceBindingService*);
  330. static int serve___tds__SetAccessPolicy_(DeviceBindingService*);
  331. static int serve___tds__CreateCertificate_(DeviceBindingService*);
  332. static int serve___tds__GetCertificates_(DeviceBindingService*);
  333. static int serve___tds__GetCertificatesStatus_(DeviceBindingService*);
  334. static int serve___tds__SetCertificatesStatus_(DeviceBindingService*);
  335. static int serve___tds__DeleteCertificates_(DeviceBindingService*);
  336. static int serve___tds__GetPkcs10Request_(DeviceBindingService*);
  337. static int serve___tds__LoadCertificates_(DeviceBindingService*);
  338. static int serve___tds__GetClientCertificateMode_(DeviceBindingService*);
  339. static int serve___tds__SetClientCertificateMode_(DeviceBindingService*);
  340. static int serve___tds__GetRelayOutputs_(DeviceBindingService*);
  341. static int serve___tds__SetRelayOutputSettings_(DeviceBindingService*);
  342. static int serve___tds__SetRelayOutputState_(DeviceBindingService*);
  343. static int serve___tds__SendAuxiliaryCommand_(DeviceBindingService*);
  344. static int serve___tds__GetCACertificates_(DeviceBindingService*);
  345. static int serve___tds__LoadCertificateWithPrivateKey_(DeviceBindingService*);
  346. static int serve___tds__GetCertificateInformation_(DeviceBindingService*);
  347. static int serve___tds__LoadCACertificates_(DeviceBindingService*);
  348. static int serve___tds__CreateDot1XConfiguration_(DeviceBindingService*);
  349. static int serve___tds__SetDot1XConfiguration_(DeviceBindingService*);
  350. static int serve___tds__GetDot1XConfiguration_(DeviceBindingService*);
  351. static int serve___tds__GetDot1XConfigurations_(DeviceBindingService*);
  352. static int serve___tds__DeleteDot1XConfiguration_(DeviceBindingService*);
  353. static int serve___tds__GetDot11Capabilities_(DeviceBindingService*);
  354. static int serve___tds__GetDot11Status_(DeviceBindingService*);
  355. static int serve___tds__ScanAvailableDot11Networks_(DeviceBindingService*);
  356. static int serve___tds__GetSystemUris_(DeviceBindingService*);
  357. static int serve___tds__StartFirmwareUpgrade_(DeviceBindingService*);
  358. static int serve___tds__StartSystemRestore_(DeviceBindingService*);
  359. int DeviceBindingService::dispatch()
  360. { soap_peek_element(this);
  361. if (!soap_match_tag(this, this->tag, "tds:GetServices"))
  362. return serve___tds__GetServices(this);
  363. if (!soap_match_tag(this, this->tag, "tds:GetServiceCapabilities"))
  364. return serve___tds__GetServiceCapabilities(this);
  365. if (!soap_match_tag(this, this->tag, "tds:GetDeviceInformation"))
  366. return serve___tds__GetDeviceInformation(this);
  367. if (!soap_match_tag(this, this->tag, "tds:SetSystemDateAndTime"))
  368. return serve___tds__SetSystemDateAndTime(this);
  369. if (!soap_match_tag(this, this->tag, "tds:GetSystemDateAndTime"))
  370. return serve___tds__GetSystemDateAndTime(this);
  371. if (!soap_match_tag(this, this->tag, "tds:SetSystemFactoryDefault"))
  372. return serve___tds__SetSystemFactoryDefault(this);
  373. if (!soap_match_tag(this, this->tag, "tds:UpgradeSystemFirmware"))
  374. return serve___tds__UpgradeSystemFirmware(this);
  375. if (!soap_match_tag(this, this->tag, "tds:SystemReboot"))
  376. return serve___tds__SystemReboot(this);
  377. if (!soap_match_tag(this, this->tag, "tds:RestoreSystem"))
  378. return serve___tds__RestoreSystem(this);
  379. if (!soap_match_tag(this, this->tag, "tds:GetSystemBackup"))
  380. return serve___tds__GetSystemBackup(this);
  381. if (!soap_match_tag(this, this->tag, "tds:GetSystemLog"))
  382. return serve___tds__GetSystemLog(this);
  383. if (!soap_match_tag(this, this->tag, "tds:GetSystemSupportInformation"))
  384. return serve___tds__GetSystemSupportInformation(this);
  385. if (!soap_match_tag(this, this->tag, "tds:GetScopes"))
  386. return serve___tds__GetScopes(this);
  387. if (!soap_match_tag(this, this->tag, "tds:SetScopes"))
  388. return serve___tds__SetScopes(this);
  389. if (!soap_match_tag(this, this->tag, "tds:AddScopes"))
  390. return serve___tds__AddScopes(this);
  391. if (!soap_match_tag(this, this->tag, "tds:RemoveScopes"))
  392. return serve___tds__RemoveScopes(this);
  393. if (!soap_match_tag(this, this->tag, "tds:GetDiscoveryMode"))
  394. return serve___tds__GetDiscoveryMode(this);
  395. if (!soap_match_tag(this, this->tag, "tds:SetDiscoveryMode"))
  396. return serve___tds__SetDiscoveryMode(this);
  397. if (!soap_match_tag(this, this->tag, "tds:GetRemoteDiscoveryMode"))
  398. return serve___tds__GetRemoteDiscoveryMode(this);
  399. if (!soap_match_tag(this, this->tag, "tds:SetRemoteDiscoveryMode"))
  400. return serve___tds__SetRemoteDiscoveryMode(this);
  401. if (!soap_match_tag(this, this->tag, "tds:GetDPAddresses"))
  402. return serve___tds__GetDPAddresses(this);
  403. if (!soap_match_tag(this, this->tag, "tds:GetEndpointReference"))
  404. return serve___tds__GetEndpointReference(this);
  405. if (!soap_match_tag(this, this->tag, "tds:GetRemoteUser"))
  406. return serve___tds__GetRemoteUser(this);
  407. if (!soap_match_tag(this, this->tag, "tds:SetRemoteUser"))
  408. return serve___tds__SetRemoteUser(this);
  409. if (!soap_match_tag(this, this->tag, "tds:GetUsers"))
  410. return serve___tds__GetUsers(this);
  411. if (!soap_match_tag(this, this->tag, "tds:CreateUsers"))
  412. return serve___tds__CreateUsers(this);
  413. if (!soap_match_tag(this, this->tag, "tds:DeleteUsers"))
  414. return serve___tds__DeleteUsers(this);
  415. if (!soap_match_tag(this, this->tag, "tds:SetUser"))
  416. return serve___tds__SetUser(this);
  417. if (!soap_match_tag(this, this->tag, "tds:GetWsdlUrl"))
  418. return serve___tds__GetWsdlUrl(this);
  419. if (!soap_match_tag(this, this->tag, "tds:GetCapabilities"))
  420. return serve___tds__GetCapabilities(this);
  421. if (!soap_match_tag(this, this->tag, "tds:SetDPAddresses"))
  422. return serve___tds__SetDPAddresses(this);
  423. if (!soap_match_tag(this, this->tag, "tds:GetHostname"))
  424. return serve___tds__GetHostname(this);
  425. if (!soap_match_tag(this, this->tag, "tds:SetHostname"))
  426. return serve___tds__SetHostname(this);
  427. if (!soap_match_tag(this, this->tag, "tds:SetHostnameFromDHCP"))
  428. return serve___tds__SetHostnameFromDHCP(this);
  429. if (!soap_match_tag(this, this->tag, "tds:GetDNS"))
  430. return serve___tds__GetDNS(this);
  431. if (!soap_match_tag(this, this->tag, "tds:SetDNS"))
  432. return serve___tds__SetDNS(this);
  433. if (!soap_match_tag(this, this->tag, "tds:GetNTP"))
  434. return serve___tds__GetNTP(this);
  435. if (!soap_match_tag(this, this->tag, "tds:SetNTP"))
  436. return serve___tds__SetNTP(this);
  437. if (!soap_match_tag(this, this->tag, "tds:GetDynamicDNS"))
  438. return serve___tds__GetDynamicDNS(this);
  439. if (!soap_match_tag(this, this->tag, "tds:SetDynamicDNS"))
  440. return serve___tds__SetDynamicDNS(this);
  441. if (!soap_match_tag(this, this->tag, "tds:GetNetworkInterfaces"))
  442. return serve___tds__GetNetworkInterfaces(this);
  443. if (!soap_match_tag(this, this->tag, "tds:SetNetworkInterfaces"))
  444. return serve___tds__SetNetworkInterfaces(this);
  445. if (!soap_match_tag(this, this->tag, "tds:GetNetworkProtocols"))
  446. return serve___tds__GetNetworkProtocols(this);
  447. if (!soap_match_tag(this, this->tag, "tds:SetNetworkProtocols"))
  448. return serve___tds__SetNetworkProtocols(this);
  449. if (!soap_match_tag(this, this->tag, "tds:GetNetworkDefaultGateway"))
  450. return serve___tds__GetNetworkDefaultGateway(this);
  451. if (!soap_match_tag(this, this->tag, "tds:SetNetworkDefaultGateway"))
  452. return serve___tds__SetNetworkDefaultGateway(this);
  453. if (!soap_match_tag(this, this->tag, "tds:GetZeroConfiguration"))
  454. return serve___tds__GetZeroConfiguration(this);
  455. if (!soap_match_tag(this, this->tag, "tds:SetZeroConfiguration"))
  456. return serve___tds__SetZeroConfiguration(this);
  457. if (!soap_match_tag(this, this->tag, "tds:GetIPAddressFilter"))
  458. return serve___tds__GetIPAddressFilter(this);
  459. if (!soap_match_tag(this, this->tag, "tds:SetIPAddressFilter"))
  460. return serve___tds__SetIPAddressFilter(this);
  461. if (!soap_match_tag(this, this->tag, "tds:AddIPAddressFilter"))
  462. return serve___tds__AddIPAddressFilter(this);
  463. if (!soap_match_tag(this, this->tag, "tds:RemoveIPAddressFilter"))
  464. return serve___tds__RemoveIPAddressFilter(this);
  465. if (!soap_match_tag(this, this->tag, "tds:GetAccessPolicy"))
  466. return serve___tds__GetAccessPolicy(this);
  467. if (!soap_match_tag(this, this->tag, "tds:SetAccessPolicy"))
  468. return serve___tds__SetAccessPolicy(this);
  469. if (!soap_match_tag(this, this->tag, "tds:CreateCertificate"))
  470. return serve___tds__CreateCertificate(this);
  471. if (!soap_match_tag(this, this->tag, "tds:GetCertificates"))
  472. return serve___tds__GetCertificates(this);
  473. if (!soap_match_tag(this, this->tag, "tds:GetCertificatesStatus"))
  474. return serve___tds__GetCertificatesStatus(this);
  475. if (!soap_match_tag(this, this->tag, "tds:SetCertificatesStatus"))
  476. return serve___tds__SetCertificatesStatus(this);
  477. if (!soap_match_tag(this, this->tag, "tds:DeleteCertificates"))
  478. return serve___tds__DeleteCertificates(this);
  479. if (!soap_match_tag(this, this->tag, "tds:GetPkcs10Request"))
  480. return serve___tds__GetPkcs10Request(this);
  481. if (!soap_match_tag(this, this->tag, "tds:LoadCertificates"))
  482. return serve___tds__LoadCertificates(this);
  483. if (!soap_match_tag(this, this->tag, "tds:GetClientCertificateMode"))
  484. return serve___tds__GetClientCertificateMode(this);
  485. if (!soap_match_tag(this, this->tag, "tds:SetClientCertificateMode"))
  486. return serve___tds__SetClientCertificateMode(this);
  487. if (!soap_match_tag(this, this->tag, "tds:GetRelayOutputs"))
  488. return serve___tds__GetRelayOutputs(this);
  489. if (!soap_match_tag(this, this->tag, "tds:SetRelayOutputSettings"))
  490. return serve___tds__SetRelayOutputSettings(this);
  491. if (!soap_match_tag(this, this->tag, "tds:SetRelayOutputState"))
  492. return serve___tds__SetRelayOutputState(this);
  493. if (!soap_match_tag(this, this->tag, "tds:SendAuxiliaryCommand"))
  494. return serve___tds__SendAuxiliaryCommand(this);
  495. if (!soap_match_tag(this, this->tag, "tds:GetCACertificates"))
  496. return serve___tds__GetCACertificates(this);
  497. if (!soap_match_tag(this, this->tag, "tds:LoadCertificateWithPrivateKey"))
  498. return serve___tds__LoadCertificateWithPrivateKey(this);
  499. if (!soap_match_tag(this, this->tag, "tds:GetCertificateInformation"))
  500. return serve___tds__GetCertificateInformation(this);
  501. if (!soap_match_tag(this, this->tag, "tds:LoadCACertificates"))
  502. return serve___tds__LoadCACertificates(this);
  503. if (!soap_match_tag(this, this->tag, "tds:CreateDot1XConfiguration"))
  504. return serve___tds__CreateDot1XConfiguration(this);
  505. if (!soap_match_tag(this, this->tag, "tds:SetDot1XConfiguration"))
  506. return serve___tds__SetDot1XConfiguration(this);
  507. if (!soap_match_tag(this, this->tag, "tds:GetDot1XConfiguration"))
  508. return serve___tds__GetDot1XConfiguration(this);
  509. if (!soap_match_tag(this, this->tag, "tds:GetDot1XConfigurations"))
  510. return serve___tds__GetDot1XConfigurations(this);
  511. if (!soap_match_tag(this, this->tag, "tds:DeleteDot1XConfiguration"))
  512. return serve___tds__DeleteDot1XConfiguration(this);
  513. if (!soap_match_tag(this, this->tag, "tds:GetDot11Capabilities"))
  514. return serve___tds__GetDot11Capabilities(this);
  515. if (!soap_match_tag(this, this->tag, "tds:GetDot11Status"))
  516. return serve___tds__GetDot11Status(this);
  517. if (!soap_match_tag(this, this->tag, "tds:ScanAvailableDot11Networks"))
  518. return serve___tds__ScanAvailableDot11Networks(this);
  519. if (!soap_match_tag(this, this->tag, "tds:GetSystemUris"))
  520. return serve___tds__GetSystemUris(this);
  521. if (!soap_match_tag(this, this->tag, "tds:StartFirmwareUpgrade"))
  522. return serve___tds__StartFirmwareUpgrade(this);
  523. if (!soap_match_tag(this, this->tag, "tds:StartSystemRestore"))
  524. return serve___tds__StartSystemRestore(this);
  525. if (!soap_match_tag(this, this->tag, "tds:GetServices"))
  526. return serve___tds__GetServices_(this);
  527. if (!soap_match_tag(this, this->tag, "tds:GetServiceCapabilities"))
  528. return serve___tds__GetServiceCapabilities_(this);
  529. if (!soap_match_tag(this, this->tag, "tds:GetDeviceInformation"))
  530. return serve___tds__GetDeviceInformation_(this);
  531. if (!soap_match_tag(this, this->tag, "tds:SetSystemDateAndTime"))
  532. return serve___tds__SetSystemDateAndTime_(this);
  533. if (!soap_match_tag(this, this->tag, "tds:GetSystemDateAndTime"))
  534. return serve___tds__GetSystemDateAndTime_(this);
  535. if (!soap_match_tag(this, this->tag, "tds:SetSystemFactoryDefault"))
  536. return serve___tds__SetSystemFactoryDefault_(this);
  537. if (!soap_match_tag(this, this->tag, "tds:UpgradeSystemFirmware"))
  538. return serve___tds__UpgradeSystemFirmware_(this);
  539. if (!soap_match_tag(this, this->tag, "tds:SystemReboot"))
  540. return serve___tds__SystemReboot_(this);
  541. if (!soap_match_tag(this, this->tag, "tds:RestoreSystem"))
  542. return serve___tds__RestoreSystem_(this);
  543. if (!soap_match_tag(this, this->tag, "tds:GetSystemBackup"))
  544. return serve___tds__GetSystemBackup_(this);
  545. if (!soap_match_tag(this, this->tag, "tds:GetSystemLog"))
  546. return serve___tds__GetSystemLog_(this);
  547. if (!soap_match_tag(this, this->tag, "tds:GetSystemSupportInformation"))
  548. return serve___tds__GetSystemSupportInformation_(this);
  549. if (!soap_match_tag(this, this->tag, "tds:GetScopes"))
  550. return serve___tds__GetScopes_(this);
  551. if (!soap_match_tag(this, this->tag, "tds:SetScopes"))
  552. return serve___tds__SetScopes_(this);
  553. if (!soap_match_tag(this, this->tag, "tds:AddScopes"))
  554. return serve___tds__AddScopes_(this);
  555. if (!soap_match_tag(this, this->tag, "tds:RemoveScopes"))
  556. return serve___tds__RemoveScopes_(this);
  557. if (!soap_match_tag(this, this->tag, "tds:GetDiscoveryMode"))
  558. return serve___tds__GetDiscoveryMode_(this);
  559. if (!soap_match_tag(this, this->tag, "tds:SetDiscoveryMode"))
  560. return serve___tds__SetDiscoveryMode_(this);
  561. if (!soap_match_tag(this, this->tag, "tds:GetRemoteDiscoveryMode"))
  562. return serve___tds__GetRemoteDiscoveryMode_(this);
  563. if (!soap_match_tag(this, this->tag, "tds:SetRemoteDiscoveryMode"))
  564. return serve___tds__SetRemoteDiscoveryMode_(this);
  565. if (!soap_match_tag(this, this->tag, "tds:GetDPAddresses"))
  566. return serve___tds__GetDPAddresses_(this);
  567. if (!soap_match_tag(this, this->tag, "tds:GetEndpointReference"))
  568. return serve___tds__GetEndpointReference_(this);
  569. if (!soap_match_tag(this, this->tag, "tds:GetRemoteUser"))
  570. return serve___tds__GetRemoteUser_(this);
  571. if (!soap_match_tag(this, this->tag, "tds:SetRemoteUser"))
  572. return serve___tds__SetRemoteUser_(this);
  573. if (!soap_match_tag(this, this->tag, "tds:GetUsers"))
  574. return serve___tds__GetUsers_(this);
  575. if (!soap_match_tag(this, this->tag, "tds:CreateUsers"))
  576. return serve___tds__CreateUsers_(this);
  577. if (!soap_match_tag(this, this->tag, "tds:DeleteUsers"))
  578. return serve___tds__DeleteUsers_(this);
  579. if (!soap_match_tag(this, this->tag, "tds:SetUser"))
  580. return serve___tds__SetUser_(this);
  581. if (!soap_match_tag(this, this->tag, "tds:GetWsdlUrl"))
  582. return serve___tds__GetWsdlUrl_(this);
  583. if (!soap_match_tag(this, this->tag, "tds:GetCapabilities"))
  584. return serve___tds__GetCapabilities_(this);
  585. if (!soap_match_tag(this, this->tag, "tds:SetDPAddresses"))
  586. return serve___tds__SetDPAddresses_(this);
  587. if (!soap_match_tag(this, this->tag, "tds:GetHostname"))
  588. return serve___tds__GetHostname_(this);
  589. if (!soap_match_tag(this, this->tag, "tds:SetHostname"))
  590. return serve___tds__SetHostname_(this);
  591. if (!soap_match_tag(this, this->tag, "tds:SetHostnameFromDHCP"))
  592. return serve___tds__SetHostnameFromDHCP_(this);
  593. if (!soap_match_tag(this, this->tag, "tds:GetDNS"))
  594. return serve___tds__GetDNS_(this);
  595. if (!soap_match_tag(this, this->tag, "tds:SetDNS"))
  596. return serve___tds__SetDNS_(this);
  597. if (!soap_match_tag(this, this->tag, "tds:GetNTP"))
  598. return serve___tds__GetNTP_(this);
  599. if (!soap_match_tag(this, this->tag, "tds:SetNTP"))
  600. return serve___tds__SetNTP_(this);
  601. if (!soap_match_tag(this, this->tag, "tds:GetDynamicDNS"))
  602. return serve___tds__GetDynamicDNS_(this);
  603. if (!soap_match_tag(this, this->tag, "tds:SetDynamicDNS"))
  604. return serve___tds__SetDynamicDNS_(this);
  605. if (!soap_match_tag(this, this->tag, "tds:GetNetworkInterfaces"))
  606. return serve___tds__GetNetworkInterfaces_(this);
  607. if (!soap_match_tag(this, this->tag, "tds:SetNetworkInterfaces"))
  608. return serve___tds__SetNetworkInterfaces_(this);
  609. if (!soap_match_tag(this, this->tag, "tds:GetNetworkProtocols"))
  610. return serve___tds__GetNetworkProtocols_(this);
  611. if (!soap_match_tag(this, this->tag, "tds:SetNetworkProtocols"))
  612. return serve___tds__SetNetworkProtocols_(this);
  613. if (!soap_match_tag(this, this->tag, "tds:GetNetworkDefaultGateway"))
  614. return serve___tds__GetNetworkDefaultGateway_(this);
  615. if (!soap_match_tag(this, this->tag, "tds:SetNetworkDefaultGateway"))
  616. return serve___tds__SetNetworkDefaultGateway_(this);
  617. if (!soap_match_tag(this, this->tag, "tds:GetZeroConfiguration"))
  618. return serve___tds__GetZeroConfiguration_(this);
  619. if (!soap_match_tag(this, this->tag, "tds:SetZeroConfiguration"))
  620. return serve___tds__SetZeroConfiguration_(this);
  621. if (!soap_match_tag(this, this->tag, "tds:GetIPAddressFilter"))
  622. return serve___tds__GetIPAddressFilter_(this);
  623. if (!soap_match_tag(this, this->tag, "tds:SetIPAddressFilter"))
  624. return serve___tds__SetIPAddressFilter_(this);
  625. if (!soap_match_tag(this, this->tag, "tds:AddIPAddressFilter"))
  626. return serve___tds__AddIPAddressFilter_(this);
  627. if (!soap_match_tag(this, this->tag, "tds:RemoveIPAddressFilter"))
  628. return serve___tds__RemoveIPAddressFilter_(this);
  629. if (!soap_match_tag(this, this->tag, "tds:GetAccessPolicy"))
  630. return serve___tds__GetAccessPolicy_(this);
  631. if (!soap_match_tag(this, this->tag, "tds:SetAccessPolicy"))
  632. return serve___tds__SetAccessPolicy_(this);
  633. if (!soap_match_tag(this, this->tag, "tds:CreateCertificate"))
  634. return serve___tds__CreateCertificate_(this);
  635. if (!soap_match_tag(this, this->tag, "tds:GetCertificates"))
  636. return serve___tds__GetCertificates_(this);
  637. if (!soap_match_tag(this, this->tag, "tds:GetCertificatesStatus"))
  638. return serve___tds__GetCertificatesStatus_(this);
  639. if (!soap_match_tag(this, this->tag, "tds:SetCertificatesStatus"))
  640. return serve___tds__SetCertificatesStatus_(this);
  641. if (!soap_match_tag(this, this->tag, "tds:DeleteCertificates"))
  642. return serve___tds__DeleteCertificates_(this);
  643. if (!soap_match_tag(this, this->tag, "tds:GetPkcs10Request"))
  644. return serve___tds__GetPkcs10Request_(this);
  645. if (!soap_match_tag(this, this->tag, "tds:LoadCertificates"))
  646. return serve___tds__LoadCertificates_(this);
  647. if (!soap_match_tag(this, this->tag, "tds:GetClientCertificateMode"))
  648. return serve___tds__GetClientCertificateMode_(this);
  649. if (!soap_match_tag(this, this->tag, "tds:SetClientCertificateMode"))
  650. return serve___tds__SetClientCertificateMode_(this);
  651. if (!soap_match_tag(this, this->tag, "tds:GetRelayOutputs"))
  652. return serve___tds__GetRelayOutputs_(this);
  653. if (!soap_match_tag(this, this->tag, "tds:SetRelayOutputSettings"))
  654. return serve___tds__SetRelayOutputSettings_(this);
  655. if (!soap_match_tag(this, this->tag, "tds:SetRelayOutputState"))
  656. return serve___tds__SetRelayOutputState_(this);
  657. if (!soap_match_tag(this, this->tag, "tds:SendAuxiliaryCommand"))
  658. return serve___tds__SendAuxiliaryCommand_(this);
  659. if (!soap_match_tag(this, this->tag, "tds:GetCACertificates"))
  660. return serve___tds__GetCACertificates_(this);
  661. if (!soap_match_tag(this, this->tag, "tds:LoadCertificateWithPrivateKey"))
  662. return serve___tds__LoadCertificateWithPrivateKey_(this);
  663. if (!soap_match_tag(this, this->tag, "tds:GetCertificateInformation"))
  664. return serve___tds__GetCertificateInformation_(this);
  665. if (!soap_match_tag(this, this->tag, "tds:LoadCACertificates"))
  666. return serve___tds__LoadCACertificates_(this);
  667. if (!soap_match_tag(this, this->tag, "tds:CreateDot1XConfiguration"))
  668. return serve___tds__CreateDot1XConfiguration_(this);
  669. if (!soap_match_tag(this, this->tag, "tds:SetDot1XConfiguration"))
  670. return serve___tds__SetDot1XConfiguration_(this);
  671. if (!soap_match_tag(this, this->tag, "tds:GetDot1XConfiguration"))
  672. return serve___tds__GetDot1XConfiguration_(this);
  673. if (!soap_match_tag(this, this->tag, "tds:GetDot1XConfigurations"))
  674. return serve___tds__GetDot1XConfigurations_(this);
  675. if (!soap_match_tag(this, this->tag, "tds:DeleteDot1XConfiguration"))
  676. return serve___tds__DeleteDot1XConfiguration_(this);
  677. if (!soap_match_tag(this, this->tag, "tds:GetDot11Capabilities"))
  678. return serve___tds__GetDot11Capabilities_(this);
  679. if (!soap_match_tag(this, this->tag, "tds:GetDot11Status"))
  680. return serve___tds__GetDot11Status_(this);
  681. if (!soap_match_tag(this, this->tag, "tds:ScanAvailableDot11Networks"))
  682. return serve___tds__ScanAvailableDot11Networks_(this);
  683. if (!soap_match_tag(this, this->tag, "tds:GetSystemUris"))
  684. return serve___tds__GetSystemUris_(this);
  685. if (!soap_match_tag(this, this->tag, "tds:StartFirmwareUpgrade"))
  686. return serve___tds__StartFirmwareUpgrade_(this);
  687. if (!soap_match_tag(this, this->tag, "tds:StartSystemRestore"))
  688. return serve___tds__StartSystemRestore_(this);
  689. return this->error = SOAP_NO_METHOD;
  690. }
  691. static int serve___tds__GetServices(DeviceBindingService *soap)
  692. { struct __tds__GetServices soap_tmp___tds__GetServices;
  693. _tds__GetServicesResponse tds__GetServicesResponse;
  694. tds__GetServicesResponse.soap_default(soap);
  695. soap_default___tds__GetServices(soap, &soap_tmp___tds__GetServices);
  696. if (!soap_get___tds__GetServices(soap, &soap_tmp___tds__GetServices, "-tds:GetServices", NULL))
  697. return soap->error;
  698. if (soap_body_end_in(soap)
  699. || soap_envelope_end_in(soap)
  700. || soap_end_recv(soap))
  701. return soap->error;
  702. soap->error = soap->GetServices(soap_tmp___tds__GetServices.tds__GetServices, &tds__GetServicesResponse);
  703. if (soap->error)
  704. return soap->error;
  705. soap->encodingStyle = NULL;
  706. soap_serializeheader(soap);
  707. tds__GetServicesResponse.soap_serialize(soap);
  708. if (soap_begin_count(soap))
  709. return soap->error;
  710. if (soap->mode & SOAP_IO_LENGTH)
  711. { if (soap_envelope_begin_out(soap)
  712. || soap_putheader(soap)
  713. || soap_body_begin_out(soap)
  714. || tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
  715. || soap_body_end_out(soap)
  716. || soap_envelope_end_out(soap))
  717. return soap->error;
  718. };
  719. if (soap_end_count(soap)
  720. || soap_response(soap, SOAP_OK)
  721. || soap_envelope_begin_out(soap)
  722. || soap_putheader(soap)
  723. || soap_body_begin_out(soap)
  724. || tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
  725. || soap_body_end_out(soap)
  726. || soap_envelope_end_out(soap)
  727. || soap_end_send(soap))
  728. return soap->error;
  729. return soap_closesock(soap);
  730. }
  731. static int serve___tds__GetServiceCapabilities(DeviceBindingService *soap)
  732. { struct __tds__GetServiceCapabilities soap_tmp___tds__GetServiceCapabilities;
  733. _tds__GetServiceCapabilitiesResponse tds__GetServiceCapabilitiesResponse;
  734. tds__GetServiceCapabilitiesResponse.soap_default(soap);
  735. soap_default___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities);
  736. if (!soap_get___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities, "-tds:GetServiceCapabilities", NULL))
  737. return soap->error;
  738. if (soap_body_end_in(soap)
  739. || soap_envelope_end_in(soap)
  740. || soap_end_recv(soap))
  741. return soap->error;
  742. soap->error = soap->GetServiceCapabilities(soap_tmp___tds__GetServiceCapabilities.tds__GetServiceCapabilities, &tds__GetServiceCapabilitiesResponse);
  743. if (soap->error)
  744. return soap->error;
  745. soap->encodingStyle = NULL;
  746. soap_serializeheader(soap);
  747. tds__GetServiceCapabilitiesResponse.soap_serialize(soap);
  748. if (soap_begin_count(soap))
  749. return soap->error;
  750. if (soap->mode & SOAP_IO_LENGTH)
  751. { if (soap_envelope_begin_out(soap)
  752. || soap_putheader(soap)
  753. || soap_body_begin_out(soap)
  754. || tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
  755. || soap_body_end_out(soap)
  756. || soap_envelope_end_out(soap))
  757. return soap->error;
  758. };
  759. if (soap_end_count(soap)
  760. || soap_response(soap, SOAP_OK)
  761. || soap_envelope_begin_out(soap)
  762. || soap_putheader(soap)
  763. || soap_body_begin_out(soap)
  764. || tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
  765. || soap_body_end_out(soap)
  766. || soap_envelope_end_out(soap)
  767. || soap_end_send(soap))
  768. return soap->error;
  769. return soap_closesock(soap);
  770. }
  771. static int serve___tds__GetDeviceInformation(DeviceBindingService *soap)
  772. { struct __tds__GetDeviceInformation soap_tmp___tds__GetDeviceInformation;
  773. _tds__GetDeviceInformationResponse tds__GetDeviceInformationResponse;
  774. tds__GetDeviceInformationResponse.soap_default(soap);
  775. soap_default___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation);
  776. if (!soap_get___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation, "-tds:GetDeviceInformation", NULL))
  777. return soap->error;
  778. if (soap_body_end_in(soap)
  779. || soap_envelope_end_in(soap)
  780. || soap_end_recv(soap))
  781. return soap->error;
  782. soap->error = soap->GetDeviceInformation(soap_tmp___tds__GetDeviceInformation.tds__GetDeviceInformation, &tds__GetDeviceInformationResponse);
  783. if (soap->error)
  784. return soap->error;
  785. soap->encodingStyle = NULL;
  786. soap_serializeheader(soap);
  787. tds__GetDeviceInformationResponse.soap_serialize(soap);
  788. if (soap_begin_count(soap))
  789. return soap->error;
  790. if (soap->mode & SOAP_IO_LENGTH)
  791. { if (soap_envelope_begin_out(soap)
  792. || soap_putheader(soap)
  793. || soap_body_begin_out(soap)
  794. || tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
  795. || soap_body_end_out(soap)
  796. || soap_envelope_end_out(soap))
  797. return soap->error;
  798. };
  799. if (soap_end_count(soap)
  800. || soap_response(soap, SOAP_OK)
  801. || soap_envelope_begin_out(soap)
  802. || soap_putheader(soap)
  803. || soap_body_begin_out(soap)
  804. || tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
  805. || soap_body_end_out(soap)
  806. || soap_envelope_end_out(soap)
  807. || soap_end_send(soap))
  808. return soap->error;
  809. return soap_closesock(soap);
  810. }
  811. static int serve___tds__SetSystemDateAndTime(DeviceBindingService *soap)
  812. { struct __tds__SetSystemDateAndTime soap_tmp___tds__SetSystemDateAndTime;
  813. _tds__SetSystemDateAndTimeResponse tds__SetSystemDateAndTimeResponse;
  814. tds__SetSystemDateAndTimeResponse.soap_default(soap);
  815. soap_default___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime);
  816. if (!soap_get___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime, "-tds:SetSystemDateAndTime", NULL))
  817. return soap->error;
  818. if (soap_body_end_in(soap)
  819. || soap_envelope_end_in(soap)
  820. || soap_end_recv(soap))
  821. return soap->error;
  822. soap->error = soap->SetSystemDateAndTime(soap_tmp___tds__SetSystemDateAndTime.tds__SetSystemDateAndTime, &tds__SetSystemDateAndTimeResponse);
  823. if (soap->error)
  824. return soap->error;
  825. soap->encodingStyle = NULL;
  826. soap_serializeheader(soap);
  827. tds__SetSystemDateAndTimeResponse.soap_serialize(soap);
  828. if (soap_begin_count(soap))
  829. return soap->error;
  830. if (soap->mode & SOAP_IO_LENGTH)
  831. { if (soap_envelope_begin_out(soap)
  832. || soap_putheader(soap)
  833. || soap_body_begin_out(soap)
  834. || tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
  835. || soap_body_end_out(soap)
  836. || soap_envelope_end_out(soap))
  837. return soap->error;
  838. };
  839. if (soap_end_count(soap)
  840. || soap_response(soap, SOAP_OK)
  841. || soap_envelope_begin_out(soap)
  842. || soap_putheader(soap)
  843. || soap_body_begin_out(soap)
  844. || tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
  845. || soap_body_end_out(soap)
  846. || soap_envelope_end_out(soap)
  847. || soap_end_send(soap))
  848. return soap->error;
  849. return soap_closesock(soap);
  850. }
  851. static int serve___tds__GetSystemDateAndTime(DeviceBindingService *soap)
  852. { struct __tds__GetSystemDateAndTime soap_tmp___tds__GetSystemDateAndTime;
  853. _tds__GetSystemDateAndTimeResponse tds__GetSystemDateAndTimeResponse;
  854. tds__GetSystemDateAndTimeResponse.soap_default(soap);
  855. soap_default___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime);
  856. if (!soap_get___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime, "-tds:GetSystemDateAndTime", NULL))
  857. return soap->error;
  858. if (soap_body_end_in(soap)
  859. || soap_envelope_end_in(soap)
  860. || soap_end_recv(soap))
  861. return soap->error;
  862. soap->error = soap->GetSystemDateAndTime(soap_tmp___tds__GetSystemDateAndTime.tds__GetSystemDateAndTime, &tds__GetSystemDateAndTimeResponse);
  863. if (soap->error)
  864. return soap->error;
  865. soap->encodingStyle = NULL;
  866. soap_serializeheader(soap);
  867. tds__GetSystemDateAndTimeResponse.soap_serialize(soap);
  868. if (soap_begin_count(soap))
  869. return soap->error;
  870. if (soap->mode & SOAP_IO_LENGTH)
  871. { if (soap_envelope_begin_out(soap)
  872. || soap_putheader(soap)
  873. || soap_body_begin_out(soap)
  874. || tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
  875. || soap_body_end_out(soap)
  876. || soap_envelope_end_out(soap))
  877. return soap->error;
  878. };
  879. if (soap_end_count(soap)
  880. || soap_response(soap, SOAP_OK)
  881. || soap_envelope_begin_out(soap)
  882. || soap_putheader(soap)
  883. || soap_body_begin_out(soap)
  884. || tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
  885. || soap_body_end_out(soap)
  886. || soap_envelope_end_out(soap)
  887. || soap_end_send(soap))
  888. return soap->error;
  889. return soap_closesock(soap);
  890. }
  891. static int serve___tds__SetSystemFactoryDefault(DeviceBindingService *soap)
  892. { struct __tds__SetSystemFactoryDefault soap_tmp___tds__SetSystemFactoryDefault;
  893. _tds__SetSystemFactoryDefaultResponse tds__SetSystemFactoryDefaultResponse;
  894. tds__SetSystemFactoryDefaultResponse.soap_default(soap);
  895. soap_default___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault);
  896. if (!soap_get___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault, "-tds:SetSystemFactoryDefault", NULL))
  897. return soap->error;
  898. if (soap_body_end_in(soap)
  899. || soap_envelope_end_in(soap)
  900. || soap_end_recv(soap))
  901. return soap->error;
  902. soap->error = soap->SetSystemFactoryDefault(soap_tmp___tds__SetSystemFactoryDefault.tds__SetSystemFactoryDefault, &tds__SetSystemFactoryDefaultResponse);
  903. if (soap->error)
  904. return soap->error;
  905. soap->encodingStyle = NULL;
  906. soap_serializeheader(soap);
  907. tds__SetSystemFactoryDefaultResponse.soap_serialize(soap);
  908. if (soap_begin_count(soap))
  909. return soap->error;
  910. if (soap->mode & SOAP_IO_LENGTH)
  911. { if (soap_envelope_begin_out(soap)
  912. || soap_putheader(soap)
  913. || soap_body_begin_out(soap)
  914. || tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
  915. || soap_body_end_out(soap)
  916. || soap_envelope_end_out(soap))
  917. return soap->error;
  918. };
  919. if (soap_end_count(soap)
  920. || soap_response(soap, SOAP_OK)
  921. || soap_envelope_begin_out(soap)
  922. || soap_putheader(soap)
  923. || soap_body_begin_out(soap)
  924. || tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
  925. || soap_body_end_out(soap)
  926. || soap_envelope_end_out(soap)
  927. || soap_end_send(soap))
  928. return soap->error;
  929. return soap_closesock(soap);
  930. }
  931. static int serve___tds__UpgradeSystemFirmware(DeviceBindingService *soap)
  932. { struct __tds__UpgradeSystemFirmware soap_tmp___tds__UpgradeSystemFirmware;
  933. _tds__UpgradeSystemFirmwareResponse tds__UpgradeSystemFirmwareResponse;
  934. tds__UpgradeSystemFirmwareResponse.soap_default(soap);
  935. soap_default___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware);
  936. if (!soap_get___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware, "-tds:UpgradeSystemFirmware", NULL))
  937. return soap->error;
  938. if (soap_body_end_in(soap)
  939. || soap_envelope_end_in(soap)
  940. || soap_end_recv(soap))
  941. return soap->error;
  942. soap->error = soap->UpgradeSystemFirmware(soap_tmp___tds__UpgradeSystemFirmware.tds__UpgradeSystemFirmware, &tds__UpgradeSystemFirmwareResponse);
  943. if (soap->error)
  944. return soap->error;
  945. soap->encodingStyle = NULL;
  946. soap_serializeheader(soap);
  947. tds__UpgradeSystemFirmwareResponse.soap_serialize(soap);
  948. if (soap_begin_count(soap))
  949. return soap->error;
  950. if (soap->mode & SOAP_IO_LENGTH)
  951. { if (soap_envelope_begin_out(soap)
  952. || soap_putheader(soap)
  953. || soap_body_begin_out(soap)
  954. || tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
  955. || soap_body_end_out(soap)
  956. || soap_envelope_end_out(soap))
  957. return soap->error;
  958. };
  959. if (soap_end_count(soap)
  960. || soap_response(soap, SOAP_OK)
  961. || soap_envelope_begin_out(soap)
  962. || soap_putheader(soap)
  963. || soap_body_begin_out(soap)
  964. || tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
  965. || soap_body_end_out(soap)
  966. || soap_envelope_end_out(soap)
  967. || soap_end_send(soap))
  968. return soap->error;
  969. return soap_closesock(soap);
  970. }
  971. static int serve___tds__SystemReboot(DeviceBindingService *soap)
  972. { struct __tds__SystemReboot soap_tmp___tds__SystemReboot;
  973. _tds__SystemRebootResponse tds__SystemRebootResponse;
  974. tds__SystemRebootResponse.soap_default(soap);
  975. soap_default___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot);
  976. if (!soap_get___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot, "-tds:SystemReboot", NULL))
  977. return soap->error;
  978. if (soap_body_end_in(soap)
  979. || soap_envelope_end_in(soap)
  980. || soap_end_recv(soap))
  981. return soap->error;
  982. soap->error = soap->SystemReboot(soap_tmp___tds__SystemReboot.tds__SystemReboot, &tds__SystemRebootResponse);
  983. if (soap->error)
  984. return soap->error;
  985. soap->encodingStyle = NULL;
  986. soap_serializeheader(soap);
  987. tds__SystemRebootResponse.soap_serialize(soap);
  988. if (soap_begin_count(soap))
  989. return soap->error;
  990. if (soap->mode & SOAP_IO_LENGTH)
  991. { if (soap_envelope_begin_out(soap)
  992. || soap_putheader(soap)
  993. || soap_body_begin_out(soap)
  994. || tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
  995. || soap_body_end_out(soap)
  996. || soap_envelope_end_out(soap))
  997. return soap->error;
  998. };
  999. if (soap_end_count(soap)
  1000. || soap_response(soap, SOAP_OK)
  1001. || soap_envelope_begin_out(soap)
  1002. || soap_putheader(soap)
  1003. || soap_body_begin_out(soap)
  1004. || tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
  1005. || soap_body_end_out(soap)
  1006. || soap_envelope_end_out(soap)
  1007. || soap_end_send(soap))
  1008. return soap->error;
  1009. return soap_closesock(soap);
  1010. }
  1011. static int serve___tds__RestoreSystem(DeviceBindingService *soap)
  1012. { struct __tds__RestoreSystem soap_tmp___tds__RestoreSystem;
  1013. _tds__RestoreSystemResponse tds__RestoreSystemResponse;
  1014. tds__RestoreSystemResponse.soap_default(soap);
  1015. soap_default___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem);
  1016. if (!soap_get___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem, "-tds:RestoreSystem", NULL))
  1017. return soap->error;
  1018. if (soap_body_end_in(soap)
  1019. || soap_envelope_end_in(soap)
  1020. || soap_end_recv(soap))
  1021. return soap->error;
  1022. soap->error = soap->RestoreSystem(soap_tmp___tds__RestoreSystem.tds__RestoreSystem, &tds__RestoreSystemResponse);
  1023. if (soap->error)
  1024. return soap->error;
  1025. soap->encodingStyle = NULL;
  1026. soap_serializeheader(soap);
  1027. tds__RestoreSystemResponse.soap_serialize(soap);
  1028. if (soap_begin_count(soap))
  1029. return soap->error;
  1030. if (soap->mode & SOAP_IO_LENGTH)
  1031. { if (soap_envelope_begin_out(soap)
  1032. || soap_putheader(soap)
  1033. || soap_body_begin_out(soap)
  1034. || tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
  1035. || soap_body_end_out(soap)
  1036. || soap_envelope_end_out(soap))
  1037. return soap->error;
  1038. };
  1039. if (soap_end_count(soap)
  1040. || soap_response(soap, SOAP_OK)
  1041. || soap_envelope_begin_out(soap)
  1042. || soap_putheader(soap)
  1043. || soap_body_begin_out(soap)
  1044. || tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
  1045. || soap_body_end_out(soap)
  1046. || soap_envelope_end_out(soap)
  1047. || soap_end_send(soap))
  1048. return soap->error;
  1049. return soap_closesock(soap);
  1050. }
  1051. static int serve___tds__GetSystemBackup(DeviceBindingService *soap)
  1052. { struct __tds__GetSystemBackup soap_tmp___tds__GetSystemBackup;
  1053. _tds__GetSystemBackupResponse tds__GetSystemBackupResponse;
  1054. tds__GetSystemBackupResponse.soap_default(soap);
  1055. soap_default___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup);
  1056. if (!soap_get___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup, "-tds:GetSystemBackup", NULL))
  1057. return soap->error;
  1058. if (soap_body_end_in(soap)
  1059. || soap_envelope_end_in(soap)
  1060. || soap_end_recv(soap))
  1061. return soap->error;
  1062. soap->error = soap->GetSystemBackup(soap_tmp___tds__GetSystemBackup.tds__GetSystemBackup, &tds__GetSystemBackupResponse);
  1063. if (soap->error)
  1064. return soap->error;
  1065. soap->encodingStyle = NULL;
  1066. soap_serializeheader(soap);
  1067. tds__GetSystemBackupResponse.soap_serialize(soap);
  1068. if (soap_begin_count(soap))
  1069. return soap->error;
  1070. if (soap->mode & SOAP_IO_LENGTH)
  1071. { if (soap_envelope_begin_out(soap)
  1072. || soap_putheader(soap)
  1073. || soap_body_begin_out(soap)
  1074. || tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
  1075. || soap_body_end_out(soap)
  1076. || soap_envelope_end_out(soap))
  1077. return soap->error;
  1078. };
  1079. if (soap_end_count(soap)
  1080. || soap_response(soap, SOAP_OK)
  1081. || soap_envelope_begin_out(soap)
  1082. || soap_putheader(soap)
  1083. || soap_body_begin_out(soap)
  1084. || tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
  1085. || soap_body_end_out(soap)
  1086. || soap_envelope_end_out(soap)
  1087. || soap_end_send(soap))
  1088. return soap->error;
  1089. return soap_closesock(soap);
  1090. }
  1091. static int serve___tds__GetSystemLog(DeviceBindingService *soap)
  1092. { struct __tds__GetSystemLog soap_tmp___tds__GetSystemLog;
  1093. _tds__GetSystemLogResponse tds__GetSystemLogResponse;
  1094. tds__GetSystemLogResponse.soap_default(soap);
  1095. soap_default___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog);
  1096. if (!soap_get___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog, "-tds:GetSystemLog", NULL))
  1097. return soap->error;
  1098. if (soap_body_end_in(soap)
  1099. || soap_envelope_end_in(soap)
  1100. || soap_end_recv(soap))
  1101. return soap->error;
  1102. soap->error = soap->GetSystemLog(soap_tmp___tds__GetSystemLog.tds__GetSystemLog, &tds__GetSystemLogResponse);
  1103. if (soap->error)
  1104. return soap->error;
  1105. soap->encodingStyle = NULL;
  1106. soap_serializeheader(soap);
  1107. tds__GetSystemLogResponse.soap_serialize(soap);
  1108. if (soap_begin_count(soap))
  1109. return soap->error;
  1110. if (soap->mode & SOAP_IO_LENGTH)
  1111. { if (soap_envelope_begin_out(soap)
  1112. || soap_putheader(soap)
  1113. || soap_body_begin_out(soap)
  1114. || tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
  1115. || soap_body_end_out(soap)
  1116. || soap_envelope_end_out(soap))
  1117. return soap->error;
  1118. };
  1119. if (soap_end_count(soap)
  1120. || soap_response(soap, SOAP_OK)
  1121. || soap_envelope_begin_out(soap)
  1122. || soap_putheader(soap)
  1123. || soap_body_begin_out(soap)
  1124. || tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
  1125. || soap_body_end_out(soap)
  1126. || soap_envelope_end_out(soap)
  1127. || soap_end_send(soap))
  1128. return soap->error;
  1129. return soap_closesock(soap);
  1130. }
  1131. static int serve___tds__GetSystemSupportInformation(DeviceBindingService *soap)
  1132. { struct __tds__GetSystemSupportInformation soap_tmp___tds__GetSystemSupportInformation;
  1133. _tds__GetSystemSupportInformationResponse tds__GetSystemSupportInformationResponse;
  1134. tds__GetSystemSupportInformationResponse.soap_default(soap);
  1135. soap_default___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation);
  1136. if (!soap_get___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation, "-tds:GetSystemSupportInformation", NULL))
  1137. return soap->error;
  1138. if (soap_body_end_in(soap)
  1139. || soap_envelope_end_in(soap)
  1140. || soap_end_recv(soap))
  1141. return soap->error;
  1142. soap->error = soap->GetSystemSupportInformation(soap_tmp___tds__GetSystemSupportInformation.tds__GetSystemSupportInformation, &tds__GetSystemSupportInformationResponse);
  1143. if (soap->error)
  1144. return soap->error;
  1145. soap->encodingStyle = NULL;
  1146. soap_serializeheader(soap);
  1147. tds__GetSystemSupportInformationResponse.soap_serialize(soap);
  1148. if (soap_begin_count(soap))
  1149. return soap->error;
  1150. if (soap->mode & SOAP_IO_LENGTH)
  1151. { if (soap_envelope_begin_out(soap)
  1152. || soap_putheader(soap)
  1153. || soap_body_begin_out(soap)
  1154. || tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
  1155. || soap_body_end_out(soap)
  1156. || soap_envelope_end_out(soap))
  1157. return soap->error;
  1158. };
  1159. if (soap_end_count(soap)
  1160. || soap_response(soap, SOAP_OK)
  1161. || soap_envelope_begin_out(soap)
  1162. || soap_putheader(soap)
  1163. || soap_body_begin_out(soap)
  1164. || tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
  1165. || soap_body_end_out(soap)
  1166. || soap_envelope_end_out(soap)
  1167. || soap_end_send(soap))
  1168. return soap->error;
  1169. return soap_closesock(soap);
  1170. }
  1171. static int serve___tds__GetScopes(DeviceBindingService *soap)
  1172. { struct __tds__GetScopes soap_tmp___tds__GetScopes;
  1173. _tds__GetScopesResponse tds__GetScopesResponse;
  1174. tds__GetScopesResponse.soap_default(soap);
  1175. soap_default___tds__GetScopes(soap, &soap_tmp___tds__GetScopes);
  1176. if (!soap_get___tds__GetScopes(soap, &soap_tmp___tds__GetScopes, "-tds:GetScopes", NULL))
  1177. return soap->error;
  1178. if (soap_body_end_in(soap)
  1179. || soap_envelope_end_in(soap)
  1180. || soap_end_recv(soap))
  1181. return soap->error;
  1182. soap->error = soap->GetScopes(soap_tmp___tds__GetScopes.tds__GetScopes, &tds__GetScopesResponse);
  1183. if (soap->error)
  1184. return soap->error;
  1185. soap->encodingStyle = NULL;
  1186. soap_serializeheader(soap);
  1187. tds__GetScopesResponse.soap_serialize(soap);
  1188. if (soap_begin_count(soap))
  1189. return soap->error;
  1190. if (soap->mode & SOAP_IO_LENGTH)
  1191. { if (soap_envelope_begin_out(soap)
  1192. || soap_putheader(soap)
  1193. || soap_body_begin_out(soap)
  1194. || tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
  1195. || soap_body_end_out(soap)
  1196. || soap_envelope_end_out(soap))
  1197. return soap->error;
  1198. };
  1199. if (soap_end_count(soap)
  1200. || soap_response(soap, SOAP_OK)
  1201. || soap_envelope_begin_out(soap)
  1202. || soap_putheader(soap)
  1203. || soap_body_begin_out(soap)
  1204. || tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
  1205. || soap_body_end_out(soap)
  1206. || soap_envelope_end_out(soap)
  1207. || soap_end_send(soap))
  1208. return soap->error;
  1209. return soap_closesock(soap);
  1210. }
  1211. static int serve___tds__SetScopes(DeviceBindingService *soap)
  1212. { struct __tds__SetScopes soap_tmp___tds__SetScopes;
  1213. _tds__SetScopesResponse tds__SetScopesResponse;
  1214. tds__SetScopesResponse.soap_default(soap);
  1215. soap_default___tds__SetScopes(soap, &soap_tmp___tds__SetScopes);
  1216. if (!soap_get___tds__SetScopes(soap, &soap_tmp___tds__SetScopes, "-tds:SetScopes", NULL))
  1217. return soap->error;
  1218. if (soap_body_end_in(soap)
  1219. || soap_envelope_end_in(soap)
  1220. || soap_end_recv(soap))
  1221. return soap->error;
  1222. soap->error = soap->SetScopes(soap_tmp___tds__SetScopes.tds__SetScopes, &tds__SetScopesResponse);
  1223. if (soap->error)
  1224. return soap->error;
  1225. soap->encodingStyle = NULL;
  1226. soap_serializeheader(soap);
  1227. tds__SetScopesResponse.soap_serialize(soap);
  1228. if (soap_begin_count(soap))
  1229. return soap->error;
  1230. if (soap->mode & SOAP_IO_LENGTH)
  1231. { if (soap_envelope_begin_out(soap)
  1232. || soap_putheader(soap)
  1233. || soap_body_begin_out(soap)
  1234. || tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
  1235. || soap_body_end_out(soap)
  1236. || soap_envelope_end_out(soap))
  1237. return soap->error;
  1238. };
  1239. if (soap_end_count(soap)
  1240. || soap_response(soap, SOAP_OK)
  1241. || soap_envelope_begin_out(soap)
  1242. || soap_putheader(soap)
  1243. || soap_body_begin_out(soap)
  1244. || tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
  1245. || soap_body_end_out(soap)
  1246. || soap_envelope_end_out(soap)
  1247. || soap_end_send(soap))
  1248. return soap->error;
  1249. return soap_closesock(soap);
  1250. }
  1251. static int serve___tds__AddScopes(DeviceBindingService *soap)
  1252. { struct __tds__AddScopes soap_tmp___tds__AddScopes;
  1253. _tds__AddScopesResponse tds__AddScopesResponse;
  1254. tds__AddScopesResponse.soap_default(soap);
  1255. soap_default___tds__AddScopes(soap, &soap_tmp___tds__AddScopes);
  1256. if (!soap_get___tds__AddScopes(soap, &soap_tmp___tds__AddScopes, "-tds:AddScopes", NULL))
  1257. return soap->error;
  1258. if (soap_body_end_in(soap)
  1259. || soap_envelope_end_in(soap)
  1260. || soap_end_recv(soap))
  1261. return soap->error;
  1262. soap->error = soap->AddScopes(soap_tmp___tds__AddScopes.tds__AddScopes, &tds__AddScopesResponse);
  1263. if (soap->error)
  1264. return soap->error;
  1265. soap->encodingStyle = NULL;
  1266. soap_serializeheader(soap);
  1267. tds__AddScopesResponse.soap_serialize(soap);
  1268. if (soap_begin_count(soap))
  1269. return soap->error;
  1270. if (soap->mode & SOAP_IO_LENGTH)
  1271. { if (soap_envelope_begin_out(soap)
  1272. || soap_putheader(soap)
  1273. || soap_body_begin_out(soap)
  1274. || tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
  1275. || soap_body_end_out(soap)
  1276. || soap_envelope_end_out(soap))
  1277. return soap->error;
  1278. };
  1279. if (soap_end_count(soap)
  1280. || soap_response(soap, SOAP_OK)
  1281. || soap_envelope_begin_out(soap)
  1282. || soap_putheader(soap)
  1283. || soap_body_begin_out(soap)
  1284. || tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
  1285. || soap_body_end_out(soap)
  1286. || soap_envelope_end_out(soap)
  1287. || soap_end_send(soap))
  1288. return soap->error;
  1289. return soap_closesock(soap);
  1290. }
  1291. static int serve___tds__RemoveScopes(DeviceBindingService *soap)
  1292. { struct __tds__RemoveScopes soap_tmp___tds__RemoveScopes;
  1293. _tds__RemoveScopesResponse tds__RemoveScopesResponse;
  1294. tds__RemoveScopesResponse.soap_default(soap);
  1295. soap_default___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes);
  1296. if (!soap_get___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes, "-tds:RemoveScopes", NULL))
  1297. return soap->error;
  1298. if (soap_body_end_in(soap)
  1299. || soap_envelope_end_in(soap)
  1300. || soap_end_recv(soap))
  1301. return soap->error;
  1302. soap->error = soap->RemoveScopes(soap_tmp___tds__RemoveScopes.tds__RemoveScopes, &tds__RemoveScopesResponse);
  1303. if (soap->error)
  1304. return soap->error;
  1305. soap->encodingStyle = NULL;
  1306. soap_serializeheader(soap);
  1307. tds__RemoveScopesResponse.soap_serialize(soap);
  1308. if (soap_begin_count(soap))
  1309. return soap->error;
  1310. if (soap->mode & SOAP_IO_LENGTH)
  1311. { if (soap_envelope_begin_out(soap)
  1312. || soap_putheader(soap)
  1313. || soap_body_begin_out(soap)
  1314. || tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
  1315. || soap_body_end_out(soap)
  1316. || soap_envelope_end_out(soap))
  1317. return soap->error;
  1318. };
  1319. if (soap_end_count(soap)
  1320. || soap_response(soap, SOAP_OK)
  1321. || soap_envelope_begin_out(soap)
  1322. || soap_putheader(soap)
  1323. || soap_body_begin_out(soap)
  1324. || tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
  1325. || soap_body_end_out(soap)
  1326. || soap_envelope_end_out(soap)
  1327. || soap_end_send(soap))
  1328. return soap->error;
  1329. return soap_closesock(soap);
  1330. }
  1331. static int serve___tds__GetDiscoveryMode(DeviceBindingService *soap)
  1332. { struct __tds__GetDiscoveryMode soap_tmp___tds__GetDiscoveryMode;
  1333. _tds__GetDiscoveryModeResponse tds__GetDiscoveryModeResponse;
  1334. tds__GetDiscoveryModeResponse.soap_default(soap);
  1335. soap_default___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode);
  1336. if (!soap_get___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode, "-tds:GetDiscoveryMode", NULL))
  1337. return soap->error;
  1338. if (soap_body_end_in(soap)
  1339. || soap_envelope_end_in(soap)
  1340. || soap_end_recv(soap))
  1341. return soap->error;
  1342. soap->error = soap->GetDiscoveryMode(soap_tmp___tds__GetDiscoveryMode.tds__GetDiscoveryMode, &tds__GetDiscoveryModeResponse);
  1343. if (soap->error)
  1344. return soap->error;
  1345. soap->encodingStyle = NULL;
  1346. soap_serializeheader(soap);
  1347. tds__GetDiscoveryModeResponse.soap_serialize(soap);
  1348. if (soap_begin_count(soap))
  1349. return soap->error;
  1350. if (soap->mode & SOAP_IO_LENGTH)
  1351. { if (soap_envelope_begin_out(soap)
  1352. || soap_putheader(soap)
  1353. || soap_body_begin_out(soap)
  1354. || tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
  1355. || soap_body_end_out(soap)
  1356. || soap_envelope_end_out(soap))
  1357. return soap->error;
  1358. };
  1359. if (soap_end_count(soap)
  1360. || soap_response(soap, SOAP_OK)
  1361. || soap_envelope_begin_out(soap)
  1362. || soap_putheader(soap)
  1363. || soap_body_begin_out(soap)
  1364. || tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
  1365. || soap_body_end_out(soap)
  1366. || soap_envelope_end_out(soap)
  1367. || soap_end_send(soap))
  1368. return soap->error;
  1369. return soap_closesock(soap);
  1370. }
  1371. static int serve___tds__SetDiscoveryMode(DeviceBindingService *soap)
  1372. { struct __tds__SetDiscoveryMode soap_tmp___tds__SetDiscoveryMode;
  1373. _tds__SetDiscoveryModeResponse tds__SetDiscoveryModeResponse;
  1374. tds__SetDiscoveryModeResponse.soap_default(soap);
  1375. soap_default___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode);
  1376. if (!soap_get___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode, "-tds:SetDiscoveryMode", NULL))
  1377. return soap->error;
  1378. if (soap_body_end_in(soap)
  1379. || soap_envelope_end_in(soap)
  1380. || soap_end_recv(soap))
  1381. return soap->error;
  1382. soap->error = soap->SetDiscoveryMode(soap_tmp___tds__SetDiscoveryMode.tds__SetDiscoveryMode, &tds__SetDiscoveryModeResponse);
  1383. if (soap->error)
  1384. return soap->error;
  1385. soap->encodingStyle = NULL;
  1386. soap_serializeheader(soap);
  1387. tds__SetDiscoveryModeResponse.soap_serialize(soap);
  1388. if (soap_begin_count(soap))
  1389. return soap->error;
  1390. if (soap->mode & SOAP_IO_LENGTH)
  1391. { if (soap_envelope_begin_out(soap)
  1392. || soap_putheader(soap)
  1393. || soap_body_begin_out(soap)
  1394. || tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
  1395. || soap_body_end_out(soap)
  1396. || soap_envelope_end_out(soap))
  1397. return soap->error;
  1398. };
  1399. if (soap_end_count(soap)
  1400. || soap_response(soap, SOAP_OK)
  1401. || soap_envelope_begin_out(soap)
  1402. || soap_putheader(soap)
  1403. || soap_body_begin_out(soap)
  1404. || tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
  1405. || soap_body_end_out(soap)
  1406. || soap_envelope_end_out(soap)
  1407. || soap_end_send(soap))
  1408. return soap->error;
  1409. return soap_closesock(soap);
  1410. }
  1411. static int serve___tds__GetRemoteDiscoveryMode(DeviceBindingService *soap)
  1412. { struct __tds__GetRemoteDiscoveryMode soap_tmp___tds__GetRemoteDiscoveryMode;
  1413. _tds__GetRemoteDiscoveryModeResponse tds__GetRemoteDiscoveryModeResponse;
  1414. tds__GetRemoteDiscoveryModeResponse.soap_default(soap);
  1415. soap_default___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode);
  1416. if (!soap_get___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode, "-tds:GetRemoteDiscoveryMode", NULL))
  1417. return soap->error;
  1418. if (soap_body_end_in(soap)
  1419. || soap_envelope_end_in(soap)
  1420. || soap_end_recv(soap))
  1421. return soap->error;
  1422. soap->error = soap->GetRemoteDiscoveryMode(soap_tmp___tds__GetRemoteDiscoveryMode.tds__GetRemoteDiscoveryMode, &tds__GetRemoteDiscoveryModeResponse);
  1423. if (soap->error)
  1424. return soap->error;
  1425. soap->encodingStyle = NULL;
  1426. soap_serializeheader(soap);
  1427. tds__GetRemoteDiscoveryModeResponse.soap_serialize(soap);
  1428. if (soap_begin_count(soap))
  1429. return soap->error;
  1430. if (soap->mode & SOAP_IO_LENGTH)
  1431. { if (soap_envelope_begin_out(soap)
  1432. || soap_putheader(soap)
  1433. || soap_body_begin_out(soap)
  1434. || tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
  1435. || soap_body_end_out(soap)
  1436. || soap_envelope_end_out(soap))
  1437. return soap->error;
  1438. };
  1439. if (soap_end_count(soap)
  1440. || soap_response(soap, SOAP_OK)
  1441. || soap_envelope_begin_out(soap)
  1442. || soap_putheader(soap)
  1443. || soap_body_begin_out(soap)
  1444. || tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
  1445. || soap_body_end_out(soap)
  1446. || soap_envelope_end_out(soap)
  1447. || soap_end_send(soap))
  1448. return soap->error;
  1449. return soap_closesock(soap);
  1450. }
  1451. static int serve___tds__SetRemoteDiscoveryMode(DeviceBindingService *soap)
  1452. { struct __tds__SetRemoteDiscoveryMode soap_tmp___tds__SetRemoteDiscoveryMode;
  1453. _tds__SetRemoteDiscoveryModeResponse tds__SetRemoteDiscoveryModeResponse;
  1454. tds__SetRemoteDiscoveryModeResponse.soap_default(soap);
  1455. soap_default___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode);
  1456. if (!soap_get___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode, "-tds:SetRemoteDiscoveryMode", NULL))
  1457. return soap->error;
  1458. if (soap_body_end_in(soap)
  1459. || soap_envelope_end_in(soap)
  1460. || soap_end_recv(soap))
  1461. return soap->error;
  1462. soap->error = soap->SetRemoteDiscoveryMode(soap_tmp___tds__SetRemoteDiscoveryMode.tds__SetRemoteDiscoveryMode, &tds__SetRemoteDiscoveryModeResponse);
  1463. if (soap->error)
  1464. return soap->error;
  1465. soap->encodingStyle = NULL;
  1466. soap_serializeheader(soap);
  1467. tds__SetRemoteDiscoveryModeResponse.soap_serialize(soap);
  1468. if (soap_begin_count(soap))
  1469. return soap->error;
  1470. if (soap->mode & SOAP_IO_LENGTH)
  1471. { if (soap_envelope_begin_out(soap)
  1472. || soap_putheader(soap)
  1473. || soap_body_begin_out(soap)
  1474. || tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
  1475. || soap_body_end_out(soap)
  1476. || soap_envelope_end_out(soap))
  1477. return soap->error;
  1478. };
  1479. if (soap_end_count(soap)
  1480. || soap_response(soap, SOAP_OK)
  1481. || soap_envelope_begin_out(soap)
  1482. || soap_putheader(soap)
  1483. || soap_body_begin_out(soap)
  1484. || tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
  1485. || soap_body_end_out(soap)
  1486. || soap_envelope_end_out(soap)
  1487. || soap_end_send(soap))
  1488. return soap->error;
  1489. return soap_closesock(soap);
  1490. }
  1491. static int serve___tds__GetDPAddresses(DeviceBindingService *soap)
  1492. { struct __tds__GetDPAddresses soap_tmp___tds__GetDPAddresses;
  1493. _tds__GetDPAddressesResponse tds__GetDPAddressesResponse;
  1494. tds__GetDPAddressesResponse.soap_default(soap);
  1495. soap_default___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses);
  1496. if (!soap_get___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses, "-tds:GetDPAddresses", NULL))
  1497. return soap->error;
  1498. if (soap_body_end_in(soap)
  1499. || soap_envelope_end_in(soap)
  1500. || soap_end_recv(soap))
  1501. return soap->error;
  1502. soap->error = soap->GetDPAddresses(soap_tmp___tds__GetDPAddresses.tds__GetDPAddresses, &tds__GetDPAddressesResponse);
  1503. if (soap->error)
  1504. return soap->error;
  1505. soap->encodingStyle = NULL;
  1506. soap_serializeheader(soap);
  1507. tds__GetDPAddressesResponse.soap_serialize(soap);
  1508. if (soap_begin_count(soap))
  1509. return soap->error;
  1510. if (soap->mode & SOAP_IO_LENGTH)
  1511. { if (soap_envelope_begin_out(soap)
  1512. || soap_putheader(soap)
  1513. || soap_body_begin_out(soap)
  1514. || tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
  1515. || soap_body_end_out(soap)
  1516. || soap_envelope_end_out(soap))
  1517. return soap->error;
  1518. };
  1519. if (soap_end_count(soap)
  1520. || soap_response(soap, SOAP_OK)
  1521. || soap_envelope_begin_out(soap)
  1522. || soap_putheader(soap)
  1523. || soap_body_begin_out(soap)
  1524. || tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
  1525. || soap_body_end_out(soap)
  1526. || soap_envelope_end_out(soap)
  1527. || soap_end_send(soap))
  1528. return soap->error;
  1529. return soap_closesock(soap);
  1530. }
  1531. static int serve___tds__GetEndpointReference(DeviceBindingService *soap)
  1532. { struct __tds__GetEndpointReference soap_tmp___tds__GetEndpointReference;
  1533. _tds__GetEndpointReferenceResponse tds__GetEndpointReferenceResponse;
  1534. tds__GetEndpointReferenceResponse.soap_default(soap);
  1535. soap_default___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference);
  1536. if (!soap_get___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference, "-tds:GetEndpointReference", NULL))
  1537. return soap->error;
  1538. if (soap_body_end_in(soap)
  1539. || soap_envelope_end_in(soap)
  1540. || soap_end_recv(soap))
  1541. return soap->error;
  1542. soap->error = soap->GetEndpointReference(soap_tmp___tds__GetEndpointReference.tds__GetEndpointReference, &tds__GetEndpointReferenceResponse);
  1543. if (soap->error)
  1544. return soap->error;
  1545. soap->encodingStyle = NULL;
  1546. soap_serializeheader(soap);
  1547. tds__GetEndpointReferenceResponse.soap_serialize(soap);
  1548. if (soap_begin_count(soap))
  1549. return soap->error;
  1550. if (soap->mode & SOAP_IO_LENGTH)
  1551. { if (soap_envelope_begin_out(soap)
  1552. || soap_putheader(soap)
  1553. || soap_body_begin_out(soap)
  1554. || tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
  1555. || soap_body_end_out(soap)
  1556. || soap_envelope_end_out(soap))
  1557. return soap->error;
  1558. };
  1559. if (soap_end_count(soap)
  1560. || soap_response(soap, SOAP_OK)
  1561. || soap_envelope_begin_out(soap)
  1562. || soap_putheader(soap)
  1563. || soap_body_begin_out(soap)
  1564. || tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
  1565. || soap_body_end_out(soap)
  1566. || soap_envelope_end_out(soap)
  1567. || soap_end_send(soap))
  1568. return soap->error;
  1569. return soap_closesock(soap);
  1570. }
  1571. static int serve___tds__GetRemoteUser(DeviceBindingService *soap)
  1572. { struct __tds__GetRemoteUser soap_tmp___tds__GetRemoteUser;
  1573. _tds__GetRemoteUserResponse tds__GetRemoteUserResponse;
  1574. tds__GetRemoteUserResponse.soap_default(soap);
  1575. soap_default___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser);
  1576. if (!soap_get___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser, "-tds:GetRemoteUser", NULL))
  1577. return soap->error;
  1578. if (soap_body_end_in(soap)
  1579. || soap_envelope_end_in(soap)
  1580. || soap_end_recv(soap))
  1581. return soap->error;
  1582. soap->error = soap->GetRemoteUser(soap_tmp___tds__GetRemoteUser.tds__GetRemoteUser, &tds__GetRemoteUserResponse);
  1583. if (soap->error)
  1584. return soap->error;
  1585. soap->encodingStyle = NULL;
  1586. soap_serializeheader(soap);
  1587. tds__GetRemoteUserResponse.soap_serialize(soap);
  1588. if (soap_begin_count(soap))
  1589. return soap->error;
  1590. if (soap->mode & SOAP_IO_LENGTH)
  1591. { if (soap_envelope_begin_out(soap)
  1592. || soap_putheader(soap)
  1593. || soap_body_begin_out(soap)
  1594. || tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
  1595. || soap_body_end_out(soap)
  1596. || soap_envelope_end_out(soap))
  1597. return soap->error;
  1598. };
  1599. if (soap_end_count(soap)
  1600. || soap_response(soap, SOAP_OK)
  1601. || soap_envelope_begin_out(soap)
  1602. || soap_putheader(soap)
  1603. || soap_body_begin_out(soap)
  1604. || tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
  1605. || soap_body_end_out(soap)
  1606. || soap_envelope_end_out(soap)
  1607. || soap_end_send(soap))
  1608. return soap->error;
  1609. return soap_closesock(soap);
  1610. }
  1611. static int serve___tds__SetRemoteUser(DeviceBindingService *soap)
  1612. { struct __tds__SetRemoteUser soap_tmp___tds__SetRemoteUser;
  1613. _tds__SetRemoteUserResponse tds__SetRemoteUserResponse;
  1614. tds__SetRemoteUserResponse.soap_default(soap);
  1615. soap_default___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser);
  1616. if (!soap_get___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser, "-tds:SetRemoteUser", NULL))
  1617. return soap->error;
  1618. if (soap_body_end_in(soap)
  1619. || soap_envelope_end_in(soap)
  1620. || soap_end_recv(soap))
  1621. return soap->error;
  1622. soap->error = soap->SetRemoteUser(soap_tmp___tds__SetRemoteUser.tds__SetRemoteUser, &tds__SetRemoteUserResponse);
  1623. if (soap->error)
  1624. return soap->error;
  1625. soap->encodingStyle = NULL;
  1626. soap_serializeheader(soap);
  1627. tds__SetRemoteUserResponse.soap_serialize(soap);
  1628. if (soap_begin_count(soap))
  1629. return soap->error;
  1630. if (soap->mode & SOAP_IO_LENGTH)
  1631. { if (soap_envelope_begin_out(soap)
  1632. || soap_putheader(soap)
  1633. || soap_body_begin_out(soap)
  1634. || tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
  1635. || soap_body_end_out(soap)
  1636. || soap_envelope_end_out(soap))
  1637. return soap->error;
  1638. };
  1639. if (soap_end_count(soap)
  1640. || soap_response(soap, SOAP_OK)
  1641. || soap_envelope_begin_out(soap)
  1642. || soap_putheader(soap)
  1643. || soap_body_begin_out(soap)
  1644. || tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
  1645. || soap_body_end_out(soap)
  1646. || soap_envelope_end_out(soap)
  1647. || soap_end_send(soap))
  1648. return soap->error;
  1649. return soap_closesock(soap);
  1650. }
  1651. static int serve___tds__GetUsers(DeviceBindingService *soap)
  1652. { struct __tds__GetUsers soap_tmp___tds__GetUsers;
  1653. _tds__GetUsersResponse tds__GetUsersResponse;
  1654. tds__GetUsersResponse.soap_default(soap);
  1655. soap_default___tds__GetUsers(soap, &soap_tmp___tds__GetUsers);
  1656. if (!soap_get___tds__GetUsers(soap, &soap_tmp___tds__GetUsers, "-tds:GetUsers", NULL))
  1657. return soap->error;
  1658. if (soap_body_end_in(soap)
  1659. || soap_envelope_end_in(soap)
  1660. || soap_end_recv(soap))
  1661. return soap->error;
  1662. soap->error = soap->GetUsers(soap_tmp___tds__GetUsers.tds__GetUsers, &tds__GetUsersResponse);
  1663. if (soap->error)
  1664. return soap->error;
  1665. soap->encodingStyle = NULL;
  1666. soap_serializeheader(soap);
  1667. tds__GetUsersResponse.soap_serialize(soap);
  1668. if (soap_begin_count(soap))
  1669. return soap->error;
  1670. if (soap->mode & SOAP_IO_LENGTH)
  1671. { if (soap_envelope_begin_out(soap)
  1672. || soap_putheader(soap)
  1673. || soap_body_begin_out(soap)
  1674. || tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
  1675. || soap_body_end_out(soap)
  1676. || soap_envelope_end_out(soap))
  1677. return soap->error;
  1678. };
  1679. if (soap_end_count(soap)
  1680. || soap_response(soap, SOAP_OK)
  1681. || soap_envelope_begin_out(soap)
  1682. || soap_putheader(soap)
  1683. || soap_body_begin_out(soap)
  1684. || tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
  1685. || soap_body_end_out(soap)
  1686. || soap_envelope_end_out(soap)
  1687. || soap_end_send(soap))
  1688. return soap->error;
  1689. return soap_closesock(soap);
  1690. }
  1691. static int serve___tds__CreateUsers(DeviceBindingService *soap)
  1692. { struct __tds__CreateUsers soap_tmp___tds__CreateUsers;
  1693. _tds__CreateUsersResponse tds__CreateUsersResponse;
  1694. tds__CreateUsersResponse.soap_default(soap);
  1695. soap_default___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers);
  1696. if (!soap_get___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers, "-tds:CreateUsers", NULL))
  1697. return soap->error;
  1698. if (soap_body_end_in(soap)
  1699. || soap_envelope_end_in(soap)
  1700. || soap_end_recv(soap))
  1701. return soap->error;
  1702. soap->error = soap->CreateUsers(soap_tmp___tds__CreateUsers.tds__CreateUsers, &tds__CreateUsersResponse);
  1703. if (soap->error)
  1704. return soap->error;
  1705. soap->encodingStyle = NULL;
  1706. soap_serializeheader(soap);
  1707. tds__CreateUsersResponse.soap_serialize(soap);
  1708. if (soap_begin_count(soap))
  1709. return soap->error;
  1710. if (soap->mode & SOAP_IO_LENGTH)
  1711. { if (soap_envelope_begin_out(soap)
  1712. || soap_putheader(soap)
  1713. || soap_body_begin_out(soap)
  1714. || tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
  1715. || soap_body_end_out(soap)
  1716. || soap_envelope_end_out(soap))
  1717. return soap->error;
  1718. };
  1719. if (soap_end_count(soap)
  1720. || soap_response(soap, SOAP_OK)
  1721. || soap_envelope_begin_out(soap)
  1722. || soap_putheader(soap)
  1723. || soap_body_begin_out(soap)
  1724. || tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
  1725. || soap_body_end_out(soap)
  1726. || soap_envelope_end_out(soap)
  1727. || soap_end_send(soap))
  1728. return soap->error;
  1729. return soap_closesock(soap);
  1730. }
  1731. static int serve___tds__DeleteUsers(DeviceBindingService *soap)
  1732. { struct __tds__DeleteUsers soap_tmp___tds__DeleteUsers;
  1733. _tds__DeleteUsersResponse tds__DeleteUsersResponse;
  1734. tds__DeleteUsersResponse.soap_default(soap);
  1735. soap_default___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers);
  1736. if (!soap_get___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers, "-tds:DeleteUsers", NULL))
  1737. return soap->error;
  1738. if (soap_body_end_in(soap)
  1739. || soap_envelope_end_in(soap)
  1740. || soap_end_recv(soap))
  1741. return soap->error;
  1742. soap->error = soap->DeleteUsers(soap_tmp___tds__DeleteUsers.tds__DeleteUsers, &tds__DeleteUsersResponse);
  1743. if (soap->error)
  1744. return soap->error;
  1745. soap->encodingStyle = NULL;
  1746. soap_serializeheader(soap);
  1747. tds__DeleteUsersResponse.soap_serialize(soap);
  1748. if (soap_begin_count(soap))
  1749. return soap->error;
  1750. if (soap->mode & SOAP_IO_LENGTH)
  1751. { if (soap_envelope_begin_out(soap)
  1752. || soap_putheader(soap)
  1753. || soap_body_begin_out(soap)
  1754. || tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
  1755. || soap_body_end_out(soap)
  1756. || soap_envelope_end_out(soap))
  1757. return soap->error;
  1758. };
  1759. if (soap_end_count(soap)
  1760. || soap_response(soap, SOAP_OK)
  1761. || soap_envelope_begin_out(soap)
  1762. || soap_putheader(soap)
  1763. || soap_body_begin_out(soap)
  1764. || tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
  1765. || soap_body_end_out(soap)
  1766. || soap_envelope_end_out(soap)
  1767. || soap_end_send(soap))
  1768. return soap->error;
  1769. return soap_closesock(soap);
  1770. }
  1771. static int serve___tds__SetUser(DeviceBindingService *soap)
  1772. { struct __tds__SetUser soap_tmp___tds__SetUser;
  1773. _tds__SetUserResponse tds__SetUserResponse;
  1774. tds__SetUserResponse.soap_default(soap);
  1775. soap_default___tds__SetUser(soap, &soap_tmp___tds__SetUser);
  1776. if (!soap_get___tds__SetUser(soap, &soap_tmp___tds__SetUser, "-tds:SetUser", NULL))
  1777. return soap->error;
  1778. if (soap_body_end_in(soap)
  1779. || soap_envelope_end_in(soap)
  1780. || soap_end_recv(soap))
  1781. return soap->error;
  1782. soap->error = soap->SetUser(soap_tmp___tds__SetUser.tds__SetUser, &tds__SetUserResponse);
  1783. if (soap->error)
  1784. return soap->error;
  1785. soap->encodingStyle = NULL;
  1786. soap_serializeheader(soap);
  1787. tds__SetUserResponse.soap_serialize(soap);
  1788. if (soap_begin_count(soap))
  1789. return soap->error;
  1790. if (soap->mode & SOAP_IO_LENGTH)
  1791. { if (soap_envelope_begin_out(soap)
  1792. || soap_putheader(soap)
  1793. || soap_body_begin_out(soap)
  1794. || tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
  1795. || soap_body_end_out(soap)
  1796. || soap_envelope_end_out(soap))
  1797. return soap->error;
  1798. };
  1799. if (soap_end_count(soap)
  1800. || soap_response(soap, SOAP_OK)
  1801. || soap_envelope_begin_out(soap)
  1802. || soap_putheader(soap)
  1803. || soap_body_begin_out(soap)
  1804. || tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
  1805. || soap_body_end_out(soap)
  1806. || soap_envelope_end_out(soap)
  1807. || soap_end_send(soap))
  1808. return soap->error;
  1809. return soap_closesock(soap);
  1810. }
  1811. static int serve___tds__GetWsdlUrl(DeviceBindingService *soap)
  1812. { struct __tds__GetWsdlUrl soap_tmp___tds__GetWsdlUrl;
  1813. _tds__GetWsdlUrlResponse tds__GetWsdlUrlResponse;
  1814. tds__GetWsdlUrlResponse.soap_default(soap);
  1815. soap_default___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl);
  1816. if (!soap_get___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl, "-tds:GetWsdlUrl", NULL))
  1817. return soap->error;
  1818. if (soap_body_end_in(soap)
  1819. || soap_envelope_end_in(soap)
  1820. || soap_end_recv(soap))
  1821. return soap->error;
  1822. soap->error = soap->GetWsdlUrl(soap_tmp___tds__GetWsdlUrl.tds__GetWsdlUrl, &tds__GetWsdlUrlResponse);
  1823. if (soap->error)
  1824. return soap->error;
  1825. soap->encodingStyle = NULL;
  1826. soap_serializeheader(soap);
  1827. tds__GetWsdlUrlResponse.soap_serialize(soap);
  1828. if (soap_begin_count(soap))
  1829. return soap->error;
  1830. if (soap->mode & SOAP_IO_LENGTH)
  1831. { if (soap_envelope_begin_out(soap)
  1832. || soap_putheader(soap)
  1833. || soap_body_begin_out(soap)
  1834. || tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
  1835. || soap_body_end_out(soap)
  1836. || soap_envelope_end_out(soap))
  1837. return soap->error;
  1838. };
  1839. if (soap_end_count(soap)
  1840. || soap_response(soap, SOAP_OK)
  1841. || soap_envelope_begin_out(soap)
  1842. || soap_putheader(soap)
  1843. || soap_body_begin_out(soap)
  1844. || tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
  1845. || soap_body_end_out(soap)
  1846. || soap_envelope_end_out(soap)
  1847. || soap_end_send(soap))
  1848. return soap->error;
  1849. return soap_closesock(soap);
  1850. }
  1851. static int serve___tds__GetCapabilities(DeviceBindingService *soap)
  1852. { struct __tds__GetCapabilities soap_tmp___tds__GetCapabilities;
  1853. _tds__GetCapabilitiesResponse tds__GetCapabilitiesResponse;
  1854. tds__GetCapabilitiesResponse.soap_default(soap);
  1855. soap_default___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities);
  1856. if (!soap_get___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities, "-tds:GetCapabilities", NULL))
  1857. return soap->error;
  1858. if (soap_body_end_in(soap)
  1859. || soap_envelope_end_in(soap)
  1860. || soap_end_recv(soap))
  1861. return soap->error;
  1862. soap->error = soap->GetCapabilities(soap_tmp___tds__GetCapabilities.tds__GetCapabilities, &tds__GetCapabilitiesResponse);
  1863. if (soap->error)
  1864. return soap->error;
  1865. soap->encodingStyle = NULL;
  1866. soap_serializeheader(soap);
  1867. tds__GetCapabilitiesResponse.soap_serialize(soap);
  1868. if (soap_begin_count(soap))
  1869. return soap->error;
  1870. if (soap->mode & SOAP_IO_LENGTH)
  1871. { if (soap_envelope_begin_out(soap)
  1872. || soap_putheader(soap)
  1873. || soap_body_begin_out(soap)
  1874. || tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
  1875. || soap_body_end_out(soap)
  1876. || soap_envelope_end_out(soap))
  1877. return soap->error;
  1878. };
  1879. if (soap_end_count(soap)
  1880. || soap_response(soap, SOAP_OK)
  1881. || soap_envelope_begin_out(soap)
  1882. || soap_putheader(soap)
  1883. || soap_body_begin_out(soap)
  1884. || tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
  1885. || soap_body_end_out(soap)
  1886. || soap_envelope_end_out(soap)
  1887. || soap_end_send(soap))
  1888. return soap->error;
  1889. return soap_closesock(soap);
  1890. }
  1891. static int serve___tds__SetDPAddresses(DeviceBindingService *soap)
  1892. { struct __tds__SetDPAddresses soap_tmp___tds__SetDPAddresses;
  1893. _tds__SetDPAddressesResponse tds__SetDPAddressesResponse;
  1894. tds__SetDPAddressesResponse.soap_default(soap);
  1895. soap_default___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses);
  1896. if (!soap_get___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses, "-tds:SetDPAddresses", NULL))
  1897. return soap->error;
  1898. if (soap_body_end_in(soap)
  1899. || soap_envelope_end_in(soap)
  1900. || soap_end_recv(soap))
  1901. return soap->error;
  1902. soap->error = soap->SetDPAddresses(soap_tmp___tds__SetDPAddresses.tds__SetDPAddresses, &tds__SetDPAddressesResponse);
  1903. if (soap->error)
  1904. return soap->error;
  1905. soap->encodingStyle = NULL;
  1906. soap_serializeheader(soap);
  1907. tds__SetDPAddressesResponse.soap_serialize(soap);
  1908. if (soap_begin_count(soap))
  1909. return soap->error;
  1910. if (soap->mode & SOAP_IO_LENGTH)
  1911. { if (soap_envelope_begin_out(soap)
  1912. || soap_putheader(soap)
  1913. || soap_body_begin_out(soap)
  1914. || tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
  1915. || soap_body_end_out(soap)
  1916. || soap_envelope_end_out(soap))
  1917. return soap->error;
  1918. };
  1919. if (soap_end_count(soap)
  1920. || soap_response(soap, SOAP_OK)
  1921. || soap_envelope_begin_out(soap)
  1922. || soap_putheader(soap)
  1923. || soap_body_begin_out(soap)
  1924. || tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
  1925. || soap_body_end_out(soap)
  1926. || soap_envelope_end_out(soap)
  1927. || soap_end_send(soap))
  1928. return soap->error;
  1929. return soap_closesock(soap);
  1930. }
  1931. static int serve___tds__GetHostname(DeviceBindingService *soap)
  1932. { struct __tds__GetHostname soap_tmp___tds__GetHostname;
  1933. _tds__GetHostnameResponse tds__GetHostnameResponse;
  1934. tds__GetHostnameResponse.soap_default(soap);
  1935. soap_default___tds__GetHostname(soap, &soap_tmp___tds__GetHostname);
  1936. if (!soap_get___tds__GetHostname(soap, &soap_tmp___tds__GetHostname, "-tds:GetHostname", NULL))
  1937. return soap->error;
  1938. if (soap_body_end_in(soap)
  1939. || soap_envelope_end_in(soap)
  1940. || soap_end_recv(soap))
  1941. return soap->error;
  1942. soap->error = soap->GetHostname(soap_tmp___tds__GetHostname.tds__GetHostname, &tds__GetHostnameResponse);
  1943. if (soap->error)
  1944. return soap->error;
  1945. soap->encodingStyle = NULL;
  1946. soap_serializeheader(soap);
  1947. tds__GetHostnameResponse.soap_serialize(soap);
  1948. if (soap_begin_count(soap))
  1949. return soap->error;
  1950. if (soap->mode & SOAP_IO_LENGTH)
  1951. { if (soap_envelope_begin_out(soap)
  1952. || soap_putheader(soap)
  1953. || soap_body_begin_out(soap)
  1954. || tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
  1955. || soap_body_end_out(soap)
  1956. || soap_envelope_end_out(soap))
  1957. return soap->error;
  1958. };
  1959. if (soap_end_count(soap)
  1960. || soap_response(soap, SOAP_OK)
  1961. || soap_envelope_begin_out(soap)
  1962. || soap_putheader(soap)
  1963. || soap_body_begin_out(soap)
  1964. || tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
  1965. || soap_body_end_out(soap)
  1966. || soap_envelope_end_out(soap)
  1967. || soap_end_send(soap))
  1968. return soap->error;
  1969. return soap_closesock(soap);
  1970. }
  1971. static int serve___tds__SetHostname(DeviceBindingService *soap)
  1972. { struct __tds__SetHostname soap_tmp___tds__SetHostname;
  1973. _tds__SetHostnameResponse tds__SetHostnameResponse;
  1974. tds__SetHostnameResponse.soap_default(soap);
  1975. soap_default___tds__SetHostname(soap, &soap_tmp___tds__SetHostname);
  1976. if (!soap_get___tds__SetHostname(soap, &soap_tmp___tds__SetHostname, "-tds:SetHostname", NULL))
  1977. return soap->error;
  1978. if (soap_body_end_in(soap)
  1979. || soap_envelope_end_in(soap)
  1980. || soap_end_recv(soap))
  1981. return soap->error;
  1982. soap->error = soap->SetHostname(soap_tmp___tds__SetHostname.tds__SetHostname, &tds__SetHostnameResponse);
  1983. if (soap->error)
  1984. return soap->error;
  1985. soap->encodingStyle = NULL;
  1986. soap_serializeheader(soap);
  1987. tds__SetHostnameResponse.soap_serialize(soap);
  1988. if (soap_begin_count(soap))
  1989. return soap->error;
  1990. if (soap->mode & SOAP_IO_LENGTH)
  1991. { if (soap_envelope_begin_out(soap)
  1992. || soap_putheader(soap)
  1993. || soap_body_begin_out(soap)
  1994. || tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
  1995. || soap_body_end_out(soap)
  1996. || soap_envelope_end_out(soap))
  1997. return soap->error;
  1998. };
  1999. if (soap_end_count(soap)
  2000. || soap_response(soap, SOAP_OK)
  2001. || soap_envelope_begin_out(soap)
  2002. || soap_putheader(soap)
  2003. || soap_body_begin_out(soap)
  2004. || tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
  2005. || soap_body_end_out(soap)
  2006. || soap_envelope_end_out(soap)
  2007. || soap_end_send(soap))
  2008. return soap->error;
  2009. return soap_closesock(soap);
  2010. }
  2011. static int serve___tds__SetHostnameFromDHCP(DeviceBindingService *soap)
  2012. { struct __tds__SetHostnameFromDHCP soap_tmp___tds__SetHostnameFromDHCP;
  2013. _tds__SetHostnameFromDHCPResponse tds__SetHostnameFromDHCPResponse;
  2014. tds__SetHostnameFromDHCPResponse.soap_default(soap);
  2015. soap_default___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP);
  2016. if (!soap_get___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP, "-tds:SetHostnameFromDHCP", NULL))
  2017. return soap->error;
  2018. if (soap_body_end_in(soap)
  2019. || soap_envelope_end_in(soap)
  2020. || soap_end_recv(soap))
  2021. return soap->error;
  2022. soap->error = soap->SetHostnameFromDHCP(soap_tmp___tds__SetHostnameFromDHCP.tds__SetHostnameFromDHCP, &tds__SetHostnameFromDHCPResponse);
  2023. if (soap->error)
  2024. return soap->error;
  2025. soap->encodingStyle = NULL;
  2026. soap_serializeheader(soap);
  2027. tds__SetHostnameFromDHCPResponse.soap_serialize(soap);
  2028. if (soap_begin_count(soap))
  2029. return soap->error;
  2030. if (soap->mode & SOAP_IO_LENGTH)
  2031. { if (soap_envelope_begin_out(soap)
  2032. || soap_putheader(soap)
  2033. || soap_body_begin_out(soap)
  2034. || tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
  2035. || soap_body_end_out(soap)
  2036. || soap_envelope_end_out(soap))
  2037. return soap->error;
  2038. };
  2039. if (soap_end_count(soap)
  2040. || soap_response(soap, SOAP_OK)
  2041. || soap_envelope_begin_out(soap)
  2042. || soap_putheader(soap)
  2043. || soap_body_begin_out(soap)
  2044. || tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
  2045. || soap_body_end_out(soap)
  2046. || soap_envelope_end_out(soap)
  2047. || soap_end_send(soap))
  2048. return soap->error;
  2049. return soap_closesock(soap);
  2050. }
  2051. static int serve___tds__GetDNS(DeviceBindingService *soap)
  2052. { struct __tds__GetDNS soap_tmp___tds__GetDNS;
  2053. _tds__GetDNSResponse tds__GetDNSResponse;
  2054. tds__GetDNSResponse.soap_default(soap);
  2055. soap_default___tds__GetDNS(soap, &soap_tmp___tds__GetDNS);
  2056. if (!soap_get___tds__GetDNS(soap, &soap_tmp___tds__GetDNS, "-tds:GetDNS", NULL))
  2057. return soap->error;
  2058. if (soap_body_end_in(soap)
  2059. || soap_envelope_end_in(soap)
  2060. || soap_end_recv(soap))
  2061. return soap->error;
  2062. soap->error = soap->GetDNS(soap_tmp___tds__GetDNS.tds__GetDNS, &tds__GetDNSResponse);
  2063. if (soap->error)
  2064. return soap->error;
  2065. soap->encodingStyle = NULL;
  2066. soap_serializeheader(soap);
  2067. tds__GetDNSResponse.soap_serialize(soap);
  2068. if (soap_begin_count(soap))
  2069. return soap->error;
  2070. if (soap->mode & SOAP_IO_LENGTH)
  2071. { if (soap_envelope_begin_out(soap)
  2072. || soap_putheader(soap)
  2073. || soap_body_begin_out(soap)
  2074. || tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
  2075. || soap_body_end_out(soap)
  2076. || soap_envelope_end_out(soap))
  2077. return soap->error;
  2078. };
  2079. if (soap_end_count(soap)
  2080. || soap_response(soap, SOAP_OK)
  2081. || soap_envelope_begin_out(soap)
  2082. || soap_putheader(soap)
  2083. || soap_body_begin_out(soap)
  2084. || tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
  2085. || soap_body_end_out(soap)
  2086. || soap_envelope_end_out(soap)
  2087. || soap_end_send(soap))
  2088. return soap->error;
  2089. return soap_closesock(soap);
  2090. }
  2091. static int serve___tds__SetDNS(DeviceBindingService *soap)
  2092. { struct __tds__SetDNS soap_tmp___tds__SetDNS;
  2093. _tds__SetDNSResponse tds__SetDNSResponse;
  2094. tds__SetDNSResponse.soap_default(soap);
  2095. soap_default___tds__SetDNS(soap, &soap_tmp___tds__SetDNS);
  2096. if (!soap_get___tds__SetDNS(soap, &soap_tmp___tds__SetDNS, "-tds:SetDNS", NULL))
  2097. return soap->error;
  2098. if (soap_body_end_in(soap)
  2099. || soap_envelope_end_in(soap)
  2100. || soap_end_recv(soap))
  2101. return soap->error;
  2102. soap->error = soap->SetDNS(soap_tmp___tds__SetDNS.tds__SetDNS, &tds__SetDNSResponse);
  2103. if (soap->error)
  2104. return soap->error;
  2105. soap->encodingStyle = NULL;
  2106. soap_serializeheader(soap);
  2107. tds__SetDNSResponse.soap_serialize(soap);
  2108. if (soap_begin_count(soap))
  2109. return soap->error;
  2110. if (soap->mode & SOAP_IO_LENGTH)
  2111. { if (soap_envelope_begin_out(soap)
  2112. || soap_putheader(soap)
  2113. || soap_body_begin_out(soap)
  2114. || tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
  2115. || soap_body_end_out(soap)
  2116. || soap_envelope_end_out(soap))
  2117. return soap->error;
  2118. };
  2119. if (soap_end_count(soap)
  2120. || soap_response(soap, SOAP_OK)
  2121. || soap_envelope_begin_out(soap)
  2122. || soap_putheader(soap)
  2123. || soap_body_begin_out(soap)
  2124. || tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
  2125. || soap_body_end_out(soap)
  2126. || soap_envelope_end_out(soap)
  2127. || soap_end_send(soap))
  2128. return soap->error;
  2129. return soap_closesock(soap);
  2130. }
  2131. static int serve___tds__GetNTP(DeviceBindingService *soap)
  2132. { struct __tds__GetNTP soap_tmp___tds__GetNTP;
  2133. _tds__GetNTPResponse tds__GetNTPResponse;
  2134. tds__GetNTPResponse.soap_default(soap);
  2135. soap_default___tds__GetNTP(soap, &soap_tmp___tds__GetNTP);
  2136. if (!soap_get___tds__GetNTP(soap, &soap_tmp___tds__GetNTP, "-tds:GetNTP", NULL))
  2137. return soap->error;
  2138. if (soap_body_end_in(soap)
  2139. || soap_envelope_end_in(soap)
  2140. || soap_end_recv(soap))
  2141. return soap->error;
  2142. soap->error = soap->GetNTP(soap_tmp___tds__GetNTP.tds__GetNTP, &tds__GetNTPResponse);
  2143. if (soap->error)
  2144. return soap->error;
  2145. soap->encodingStyle = NULL;
  2146. soap_serializeheader(soap);
  2147. tds__GetNTPResponse.soap_serialize(soap);
  2148. if (soap_begin_count(soap))
  2149. return soap->error;
  2150. if (soap->mode & SOAP_IO_LENGTH)
  2151. { if (soap_envelope_begin_out(soap)
  2152. || soap_putheader(soap)
  2153. || soap_body_begin_out(soap)
  2154. || tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
  2155. || soap_body_end_out(soap)
  2156. || soap_envelope_end_out(soap))
  2157. return soap->error;
  2158. };
  2159. if (soap_end_count(soap)
  2160. || soap_response(soap, SOAP_OK)
  2161. || soap_envelope_begin_out(soap)
  2162. || soap_putheader(soap)
  2163. || soap_body_begin_out(soap)
  2164. || tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
  2165. || soap_body_end_out(soap)
  2166. || soap_envelope_end_out(soap)
  2167. || soap_end_send(soap))
  2168. return soap->error;
  2169. return soap_closesock(soap);
  2170. }
  2171. static int serve___tds__SetNTP(DeviceBindingService *soap)
  2172. { struct __tds__SetNTP soap_tmp___tds__SetNTP;
  2173. _tds__SetNTPResponse tds__SetNTPResponse;
  2174. tds__SetNTPResponse.soap_default(soap);
  2175. soap_default___tds__SetNTP(soap, &soap_tmp___tds__SetNTP);
  2176. if (!soap_get___tds__SetNTP(soap, &soap_tmp___tds__SetNTP, "-tds:SetNTP", NULL))
  2177. return soap->error;
  2178. if (soap_body_end_in(soap)
  2179. || soap_envelope_end_in(soap)
  2180. || soap_end_recv(soap))
  2181. return soap->error;
  2182. soap->error = soap->SetNTP(soap_tmp___tds__SetNTP.tds__SetNTP, &tds__SetNTPResponse);
  2183. if (soap->error)
  2184. return soap->error;
  2185. soap->encodingStyle = NULL;
  2186. soap_serializeheader(soap);
  2187. tds__SetNTPResponse.soap_serialize(soap);
  2188. if (soap_begin_count(soap))
  2189. return soap->error;
  2190. if (soap->mode & SOAP_IO_LENGTH)
  2191. { if (soap_envelope_begin_out(soap)
  2192. || soap_putheader(soap)
  2193. || soap_body_begin_out(soap)
  2194. || tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
  2195. || soap_body_end_out(soap)
  2196. || soap_envelope_end_out(soap))
  2197. return soap->error;
  2198. };
  2199. if (soap_end_count(soap)
  2200. || soap_response(soap, SOAP_OK)
  2201. || soap_envelope_begin_out(soap)
  2202. || soap_putheader(soap)
  2203. || soap_body_begin_out(soap)
  2204. || tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
  2205. || soap_body_end_out(soap)
  2206. || soap_envelope_end_out(soap)
  2207. || soap_end_send(soap))
  2208. return soap->error;
  2209. return soap_closesock(soap);
  2210. }
  2211. static int serve___tds__GetDynamicDNS(DeviceBindingService *soap)
  2212. { struct __tds__GetDynamicDNS soap_tmp___tds__GetDynamicDNS;
  2213. _tds__GetDynamicDNSResponse tds__GetDynamicDNSResponse;
  2214. tds__GetDynamicDNSResponse.soap_default(soap);
  2215. soap_default___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS);
  2216. if (!soap_get___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS, "-tds:GetDynamicDNS", NULL))
  2217. return soap->error;
  2218. if (soap_body_end_in(soap)
  2219. || soap_envelope_end_in(soap)
  2220. || soap_end_recv(soap))
  2221. return soap->error;
  2222. soap->error = soap->GetDynamicDNS(soap_tmp___tds__GetDynamicDNS.tds__GetDynamicDNS, &tds__GetDynamicDNSResponse);
  2223. if (soap->error)
  2224. return soap->error;
  2225. soap->encodingStyle = NULL;
  2226. soap_serializeheader(soap);
  2227. tds__GetDynamicDNSResponse.soap_serialize(soap);
  2228. if (soap_begin_count(soap))
  2229. return soap->error;
  2230. if (soap->mode & SOAP_IO_LENGTH)
  2231. { if (soap_envelope_begin_out(soap)
  2232. || soap_putheader(soap)
  2233. || soap_body_begin_out(soap)
  2234. || tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
  2235. || soap_body_end_out(soap)
  2236. || soap_envelope_end_out(soap))
  2237. return soap->error;
  2238. };
  2239. if (soap_end_count(soap)
  2240. || soap_response(soap, SOAP_OK)
  2241. || soap_envelope_begin_out(soap)
  2242. || soap_putheader(soap)
  2243. || soap_body_begin_out(soap)
  2244. || tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
  2245. || soap_body_end_out(soap)
  2246. || soap_envelope_end_out(soap)
  2247. || soap_end_send(soap))
  2248. return soap->error;
  2249. return soap_closesock(soap);
  2250. }
  2251. static int serve___tds__SetDynamicDNS(DeviceBindingService *soap)
  2252. { struct __tds__SetDynamicDNS soap_tmp___tds__SetDynamicDNS;
  2253. _tds__SetDynamicDNSResponse tds__SetDynamicDNSResponse;
  2254. tds__SetDynamicDNSResponse.soap_default(soap);
  2255. soap_default___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS);
  2256. if (!soap_get___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS, "-tds:SetDynamicDNS", NULL))
  2257. return soap->error;
  2258. if (soap_body_end_in(soap)
  2259. || soap_envelope_end_in(soap)
  2260. || soap_end_recv(soap))
  2261. return soap->error;
  2262. soap->error = soap->SetDynamicDNS(soap_tmp___tds__SetDynamicDNS.tds__SetDynamicDNS, &tds__SetDynamicDNSResponse);
  2263. if (soap->error)
  2264. return soap->error;
  2265. soap->encodingStyle = NULL;
  2266. soap_serializeheader(soap);
  2267. tds__SetDynamicDNSResponse.soap_serialize(soap);
  2268. if (soap_begin_count(soap))
  2269. return soap->error;
  2270. if (soap->mode & SOAP_IO_LENGTH)
  2271. { if (soap_envelope_begin_out(soap)
  2272. || soap_putheader(soap)
  2273. || soap_body_begin_out(soap)
  2274. || tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
  2275. || soap_body_end_out(soap)
  2276. || soap_envelope_end_out(soap))
  2277. return soap->error;
  2278. };
  2279. if (soap_end_count(soap)
  2280. || soap_response(soap, SOAP_OK)
  2281. || soap_envelope_begin_out(soap)
  2282. || soap_putheader(soap)
  2283. || soap_body_begin_out(soap)
  2284. || tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
  2285. || soap_body_end_out(soap)
  2286. || soap_envelope_end_out(soap)
  2287. || soap_end_send(soap))
  2288. return soap->error;
  2289. return soap_closesock(soap);
  2290. }
  2291. static int serve___tds__GetNetworkInterfaces(DeviceBindingService *soap)
  2292. { struct __tds__GetNetworkInterfaces soap_tmp___tds__GetNetworkInterfaces;
  2293. _tds__GetNetworkInterfacesResponse tds__GetNetworkInterfacesResponse;
  2294. tds__GetNetworkInterfacesResponse.soap_default(soap);
  2295. soap_default___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces);
  2296. if (!soap_get___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces, "-tds:GetNetworkInterfaces", NULL))
  2297. return soap->error;
  2298. if (soap_body_end_in(soap)
  2299. || soap_envelope_end_in(soap)
  2300. || soap_end_recv(soap))
  2301. return soap->error;
  2302. soap->error = soap->GetNetworkInterfaces(soap_tmp___tds__GetNetworkInterfaces.tds__GetNetworkInterfaces, &tds__GetNetworkInterfacesResponse);
  2303. if (soap->error)
  2304. return soap->error;
  2305. soap->encodingStyle = NULL;
  2306. soap_serializeheader(soap);
  2307. tds__GetNetworkInterfacesResponse.soap_serialize(soap);
  2308. if (soap_begin_count(soap))
  2309. return soap->error;
  2310. if (soap->mode & SOAP_IO_LENGTH)
  2311. { if (soap_envelope_begin_out(soap)
  2312. || soap_putheader(soap)
  2313. || soap_body_begin_out(soap)
  2314. || tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
  2315. || soap_body_end_out(soap)
  2316. || soap_envelope_end_out(soap))
  2317. return soap->error;
  2318. };
  2319. if (soap_end_count(soap)
  2320. || soap_response(soap, SOAP_OK)
  2321. || soap_envelope_begin_out(soap)
  2322. || soap_putheader(soap)
  2323. || soap_body_begin_out(soap)
  2324. || tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
  2325. || soap_body_end_out(soap)
  2326. || soap_envelope_end_out(soap)
  2327. || soap_end_send(soap))
  2328. return soap->error;
  2329. return soap_closesock(soap);
  2330. }
  2331. static int serve___tds__SetNetworkInterfaces(DeviceBindingService *soap)
  2332. { struct __tds__SetNetworkInterfaces soap_tmp___tds__SetNetworkInterfaces;
  2333. _tds__SetNetworkInterfacesResponse tds__SetNetworkInterfacesResponse;
  2334. tds__SetNetworkInterfacesResponse.soap_default(soap);
  2335. soap_default___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces);
  2336. if (!soap_get___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces, "-tds:SetNetworkInterfaces", NULL))
  2337. return soap->error;
  2338. if (soap_body_end_in(soap)
  2339. || soap_envelope_end_in(soap)
  2340. || soap_end_recv(soap))
  2341. return soap->error;
  2342. soap->error = soap->SetNetworkInterfaces(soap_tmp___tds__SetNetworkInterfaces.tds__SetNetworkInterfaces, &tds__SetNetworkInterfacesResponse);
  2343. if (soap->error)
  2344. return soap->error;
  2345. soap->encodingStyle = NULL;
  2346. soap_serializeheader(soap);
  2347. tds__SetNetworkInterfacesResponse.soap_serialize(soap);
  2348. if (soap_begin_count(soap))
  2349. return soap->error;
  2350. if (soap->mode & SOAP_IO_LENGTH)
  2351. { if (soap_envelope_begin_out(soap)
  2352. || soap_putheader(soap)
  2353. || soap_body_begin_out(soap)
  2354. || tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
  2355. || soap_body_end_out(soap)
  2356. || soap_envelope_end_out(soap))
  2357. return soap->error;
  2358. };
  2359. if (soap_end_count(soap)
  2360. || soap_response(soap, SOAP_OK)
  2361. || soap_envelope_begin_out(soap)
  2362. || soap_putheader(soap)
  2363. || soap_body_begin_out(soap)
  2364. || tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
  2365. || soap_body_end_out(soap)
  2366. || soap_envelope_end_out(soap)
  2367. || soap_end_send(soap))
  2368. return soap->error;
  2369. return soap_closesock(soap);
  2370. }
  2371. static int serve___tds__GetNetworkProtocols(DeviceBindingService *soap)
  2372. { struct __tds__GetNetworkProtocols soap_tmp___tds__GetNetworkProtocols;
  2373. _tds__GetNetworkProtocolsResponse tds__GetNetworkProtocolsResponse;
  2374. tds__GetNetworkProtocolsResponse.soap_default(soap);
  2375. soap_default___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols);
  2376. if (!soap_get___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols, "-tds:GetNetworkProtocols", NULL))
  2377. return soap->error;
  2378. if (soap_body_end_in(soap)
  2379. || soap_envelope_end_in(soap)
  2380. || soap_end_recv(soap))
  2381. return soap->error;
  2382. soap->error = soap->GetNetworkProtocols(soap_tmp___tds__GetNetworkProtocols.tds__GetNetworkProtocols, &tds__GetNetworkProtocolsResponse);
  2383. if (soap->error)
  2384. return soap->error;
  2385. soap->encodingStyle = NULL;
  2386. soap_serializeheader(soap);
  2387. tds__GetNetworkProtocolsResponse.soap_serialize(soap);
  2388. if (soap_begin_count(soap))
  2389. return soap->error;
  2390. if (soap->mode & SOAP_IO_LENGTH)
  2391. { if (soap_envelope_begin_out(soap)
  2392. || soap_putheader(soap)
  2393. || soap_body_begin_out(soap)
  2394. || tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
  2395. || soap_body_end_out(soap)
  2396. || soap_envelope_end_out(soap))
  2397. return soap->error;
  2398. };
  2399. if (soap_end_count(soap)
  2400. || soap_response(soap, SOAP_OK)
  2401. || soap_envelope_begin_out(soap)
  2402. || soap_putheader(soap)
  2403. || soap_body_begin_out(soap)
  2404. || tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
  2405. || soap_body_end_out(soap)
  2406. || soap_envelope_end_out(soap)
  2407. || soap_end_send(soap))
  2408. return soap->error;
  2409. return soap_closesock(soap);
  2410. }
  2411. static int serve___tds__SetNetworkProtocols(DeviceBindingService *soap)
  2412. { struct __tds__SetNetworkProtocols soap_tmp___tds__SetNetworkProtocols;
  2413. _tds__SetNetworkProtocolsResponse tds__SetNetworkProtocolsResponse;
  2414. tds__SetNetworkProtocolsResponse.soap_default(soap);
  2415. soap_default___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols);
  2416. if (!soap_get___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols, "-tds:SetNetworkProtocols", NULL))
  2417. return soap->error;
  2418. if (soap_body_end_in(soap)
  2419. || soap_envelope_end_in(soap)
  2420. || soap_end_recv(soap))
  2421. return soap->error;
  2422. soap->error = soap->SetNetworkProtocols(soap_tmp___tds__SetNetworkProtocols.tds__SetNetworkProtocols, &tds__SetNetworkProtocolsResponse);
  2423. if (soap->error)
  2424. return soap->error;
  2425. soap->encodingStyle = NULL;
  2426. soap_serializeheader(soap);
  2427. tds__SetNetworkProtocolsResponse.soap_serialize(soap);
  2428. if (soap_begin_count(soap))
  2429. return soap->error;
  2430. if (soap->mode & SOAP_IO_LENGTH)
  2431. { if (soap_envelope_begin_out(soap)
  2432. || soap_putheader(soap)
  2433. || soap_body_begin_out(soap)
  2434. || tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
  2435. || soap_body_end_out(soap)
  2436. || soap_envelope_end_out(soap))
  2437. return soap->error;
  2438. };
  2439. if (soap_end_count(soap)
  2440. || soap_response(soap, SOAP_OK)
  2441. || soap_envelope_begin_out(soap)
  2442. || soap_putheader(soap)
  2443. || soap_body_begin_out(soap)
  2444. || tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
  2445. || soap_body_end_out(soap)
  2446. || soap_envelope_end_out(soap)
  2447. || soap_end_send(soap))
  2448. return soap->error;
  2449. return soap_closesock(soap);
  2450. }
  2451. static int serve___tds__GetNetworkDefaultGateway(DeviceBindingService *soap)
  2452. { struct __tds__GetNetworkDefaultGateway soap_tmp___tds__GetNetworkDefaultGateway;
  2453. _tds__GetNetworkDefaultGatewayResponse tds__GetNetworkDefaultGatewayResponse;
  2454. tds__GetNetworkDefaultGatewayResponse.soap_default(soap);
  2455. soap_default___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway);
  2456. if (!soap_get___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway, "-tds:GetNetworkDefaultGateway", NULL))
  2457. return soap->error;
  2458. if (soap_body_end_in(soap)
  2459. || soap_envelope_end_in(soap)
  2460. || soap_end_recv(soap))
  2461. return soap->error;
  2462. soap->error = soap->GetNetworkDefaultGateway(soap_tmp___tds__GetNetworkDefaultGateway.tds__GetNetworkDefaultGateway, &tds__GetNetworkDefaultGatewayResponse);
  2463. if (soap->error)
  2464. return soap->error;
  2465. soap->encodingStyle = NULL;
  2466. soap_serializeheader(soap);
  2467. tds__GetNetworkDefaultGatewayResponse.soap_serialize(soap);
  2468. if (soap_begin_count(soap))
  2469. return soap->error;
  2470. if (soap->mode & SOAP_IO_LENGTH)
  2471. { if (soap_envelope_begin_out(soap)
  2472. || soap_putheader(soap)
  2473. || soap_body_begin_out(soap)
  2474. || tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
  2475. || soap_body_end_out(soap)
  2476. || soap_envelope_end_out(soap))
  2477. return soap->error;
  2478. };
  2479. if (soap_end_count(soap)
  2480. || soap_response(soap, SOAP_OK)
  2481. || soap_envelope_begin_out(soap)
  2482. || soap_putheader(soap)
  2483. || soap_body_begin_out(soap)
  2484. || tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
  2485. || soap_body_end_out(soap)
  2486. || soap_envelope_end_out(soap)
  2487. || soap_end_send(soap))
  2488. return soap->error;
  2489. return soap_closesock(soap);
  2490. }
  2491. static int serve___tds__SetNetworkDefaultGateway(DeviceBindingService *soap)
  2492. { struct __tds__SetNetworkDefaultGateway soap_tmp___tds__SetNetworkDefaultGateway;
  2493. _tds__SetNetworkDefaultGatewayResponse tds__SetNetworkDefaultGatewayResponse;
  2494. tds__SetNetworkDefaultGatewayResponse.soap_default(soap);
  2495. soap_default___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway);
  2496. if (!soap_get___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway, "-tds:SetNetworkDefaultGateway", NULL))
  2497. return soap->error;
  2498. if (soap_body_end_in(soap)
  2499. || soap_envelope_end_in(soap)
  2500. || soap_end_recv(soap))
  2501. return soap->error;
  2502. soap->error = soap->SetNetworkDefaultGateway(soap_tmp___tds__SetNetworkDefaultGateway.tds__SetNetworkDefaultGateway, &tds__SetNetworkDefaultGatewayResponse);
  2503. if (soap->error)
  2504. return soap->error;
  2505. soap->encodingStyle = NULL;
  2506. soap_serializeheader(soap);
  2507. tds__SetNetworkDefaultGatewayResponse.soap_serialize(soap);
  2508. if (soap_begin_count(soap))
  2509. return soap->error;
  2510. if (soap->mode & SOAP_IO_LENGTH)
  2511. { if (soap_envelope_begin_out(soap)
  2512. || soap_putheader(soap)
  2513. || soap_body_begin_out(soap)
  2514. || tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
  2515. || soap_body_end_out(soap)
  2516. || soap_envelope_end_out(soap))
  2517. return soap->error;
  2518. };
  2519. if (soap_end_count(soap)
  2520. || soap_response(soap, SOAP_OK)
  2521. || soap_envelope_begin_out(soap)
  2522. || soap_putheader(soap)
  2523. || soap_body_begin_out(soap)
  2524. || tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
  2525. || soap_body_end_out(soap)
  2526. || soap_envelope_end_out(soap)
  2527. || soap_end_send(soap))
  2528. return soap->error;
  2529. return soap_closesock(soap);
  2530. }
  2531. static int serve___tds__GetZeroConfiguration(DeviceBindingService *soap)
  2532. { struct __tds__GetZeroConfiguration soap_tmp___tds__GetZeroConfiguration;
  2533. _tds__GetZeroConfigurationResponse tds__GetZeroConfigurationResponse;
  2534. tds__GetZeroConfigurationResponse.soap_default(soap);
  2535. soap_default___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration);
  2536. if (!soap_get___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration, "-tds:GetZeroConfiguration", NULL))
  2537. return soap->error;
  2538. if (soap_body_end_in(soap)
  2539. || soap_envelope_end_in(soap)
  2540. || soap_end_recv(soap))
  2541. return soap->error;
  2542. soap->error = soap->GetZeroConfiguration(soap_tmp___tds__GetZeroConfiguration.tds__GetZeroConfiguration, &tds__GetZeroConfigurationResponse);
  2543. if (soap->error)
  2544. return soap->error;
  2545. soap->encodingStyle = NULL;
  2546. soap_serializeheader(soap);
  2547. tds__GetZeroConfigurationResponse.soap_serialize(soap);
  2548. if (soap_begin_count(soap))
  2549. return soap->error;
  2550. if (soap->mode & SOAP_IO_LENGTH)
  2551. { if (soap_envelope_begin_out(soap)
  2552. || soap_putheader(soap)
  2553. || soap_body_begin_out(soap)
  2554. || tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
  2555. || soap_body_end_out(soap)
  2556. || soap_envelope_end_out(soap))
  2557. return soap->error;
  2558. };
  2559. if (soap_end_count(soap)
  2560. || soap_response(soap, SOAP_OK)
  2561. || soap_envelope_begin_out(soap)
  2562. || soap_putheader(soap)
  2563. || soap_body_begin_out(soap)
  2564. || tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
  2565. || soap_body_end_out(soap)
  2566. || soap_envelope_end_out(soap)
  2567. || soap_end_send(soap))
  2568. return soap->error;
  2569. return soap_closesock(soap);
  2570. }
  2571. static int serve___tds__SetZeroConfiguration(DeviceBindingService *soap)
  2572. { struct __tds__SetZeroConfiguration soap_tmp___tds__SetZeroConfiguration;
  2573. _tds__SetZeroConfigurationResponse tds__SetZeroConfigurationResponse;
  2574. tds__SetZeroConfigurationResponse.soap_default(soap);
  2575. soap_default___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration);
  2576. if (!soap_get___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration, "-tds:SetZeroConfiguration", NULL))
  2577. return soap->error;
  2578. if (soap_body_end_in(soap)
  2579. || soap_envelope_end_in(soap)
  2580. || soap_end_recv(soap))
  2581. return soap->error;
  2582. soap->error = soap->SetZeroConfiguration(soap_tmp___tds__SetZeroConfiguration.tds__SetZeroConfiguration, &tds__SetZeroConfigurationResponse);
  2583. if (soap->error)
  2584. return soap->error;
  2585. soap->encodingStyle = NULL;
  2586. soap_serializeheader(soap);
  2587. tds__SetZeroConfigurationResponse.soap_serialize(soap);
  2588. if (soap_begin_count(soap))
  2589. return soap->error;
  2590. if (soap->mode & SOAP_IO_LENGTH)
  2591. { if (soap_envelope_begin_out(soap)
  2592. || soap_putheader(soap)
  2593. || soap_body_begin_out(soap)
  2594. || tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
  2595. || soap_body_end_out(soap)
  2596. || soap_envelope_end_out(soap))
  2597. return soap->error;
  2598. };
  2599. if (soap_end_count(soap)
  2600. || soap_response(soap, SOAP_OK)
  2601. || soap_envelope_begin_out(soap)
  2602. || soap_putheader(soap)
  2603. || soap_body_begin_out(soap)
  2604. || tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
  2605. || soap_body_end_out(soap)
  2606. || soap_envelope_end_out(soap)
  2607. || soap_end_send(soap))
  2608. return soap->error;
  2609. return soap_closesock(soap);
  2610. }
  2611. static int serve___tds__GetIPAddressFilter(DeviceBindingService *soap)
  2612. { struct __tds__GetIPAddressFilter soap_tmp___tds__GetIPAddressFilter;
  2613. _tds__GetIPAddressFilterResponse tds__GetIPAddressFilterResponse;
  2614. tds__GetIPAddressFilterResponse.soap_default(soap);
  2615. soap_default___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter);
  2616. if (!soap_get___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter, "-tds:GetIPAddressFilter", NULL))
  2617. return soap->error;
  2618. if (soap_body_end_in(soap)
  2619. || soap_envelope_end_in(soap)
  2620. || soap_end_recv(soap))
  2621. return soap->error;
  2622. soap->error = soap->GetIPAddressFilter(soap_tmp___tds__GetIPAddressFilter.tds__GetIPAddressFilter, &tds__GetIPAddressFilterResponse);
  2623. if (soap->error)
  2624. return soap->error;
  2625. soap->encodingStyle = NULL;
  2626. soap_serializeheader(soap);
  2627. tds__GetIPAddressFilterResponse.soap_serialize(soap);
  2628. if (soap_begin_count(soap))
  2629. return soap->error;
  2630. if (soap->mode & SOAP_IO_LENGTH)
  2631. { if (soap_envelope_begin_out(soap)
  2632. || soap_putheader(soap)
  2633. || soap_body_begin_out(soap)
  2634. || tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
  2635. || soap_body_end_out(soap)
  2636. || soap_envelope_end_out(soap))
  2637. return soap->error;
  2638. };
  2639. if (soap_end_count(soap)
  2640. || soap_response(soap, SOAP_OK)
  2641. || soap_envelope_begin_out(soap)
  2642. || soap_putheader(soap)
  2643. || soap_body_begin_out(soap)
  2644. || tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
  2645. || soap_body_end_out(soap)
  2646. || soap_envelope_end_out(soap)
  2647. || soap_end_send(soap))
  2648. return soap->error;
  2649. return soap_closesock(soap);
  2650. }
  2651. static int serve___tds__SetIPAddressFilter(DeviceBindingService *soap)
  2652. { struct __tds__SetIPAddressFilter soap_tmp___tds__SetIPAddressFilter;
  2653. _tds__SetIPAddressFilterResponse tds__SetIPAddressFilterResponse;
  2654. tds__SetIPAddressFilterResponse.soap_default(soap);
  2655. soap_default___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter);
  2656. if (!soap_get___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter, "-tds:SetIPAddressFilter", NULL))
  2657. return soap->error;
  2658. if (soap_body_end_in(soap)
  2659. || soap_envelope_end_in(soap)
  2660. || soap_end_recv(soap))
  2661. return soap->error;
  2662. soap->error = soap->SetIPAddressFilter(soap_tmp___tds__SetIPAddressFilter.tds__SetIPAddressFilter, &tds__SetIPAddressFilterResponse);
  2663. if (soap->error)
  2664. return soap->error;
  2665. soap->encodingStyle = NULL;
  2666. soap_serializeheader(soap);
  2667. tds__SetIPAddressFilterResponse.soap_serialize(soap);
  2668. if (soap_begin_count(soap))
  2669. return soap->error;
  2670. if (soap->mode & SOAP_IO_LENGTH)
  2671. { if (soap_envelope_begin_out(soap)
  2672. || soap_putheader(soap)
  2673. || soap_body_begin_out(soap)
  2674. || tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
  2675. || soap_body_end_out(soap)
  2676. || soap_envelope_end_out(soap))
  2677. return soap->error;
  2678. };
  2679. if (soap_end_count(soap)
  2680. || soap_response(soap, SOAP_OK)
  2681. || soap_envelope_begin_out(soap)
  2682. || soap_putheader(soap)
  2683. || soap_body_begin_out(soap)
  2684. || tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
  2685. || soap_body_end_out(soap)
  2686. || soap_envelope_end_out(soap)
  2687. || soap_end_send(soap))
  2688. return soap->error;
  2689. return soap_closesock(soap);
  2690. }
  2691. static int serve___tds__AddIPAddressFilter(DeviceBindingService *soap)
  2692. { struct __tds__AddIPAddressFilter soap_tmp___tds__AddIPAddressFilter;
  2693. _tds__AddIPAddressFilterResponse tds__AddIPAddressFilterResponse;
  2694. tds__AddIPAddressFilterResponse.soap_default(soap);
  2695. soap_default___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter);
  2696. if (!soap_get___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter, "-tds:AddIPAddressFilter", NULL))
  2697. return soap->error;
  2698. if (soap_body_end_in(soap)
  2699. || soap_envelope_end_in(soap)
  2700. || soap_end_recv(soap))
  2701. return soap->error;
  2702. soap->error = soap->AddIPAddressFilter(soap_tmp___tds__AddIPAddressFilter.tds__AddIPAddressFilter, &tds__AddIPAddressFilterResponse);
  2703. if (soap->error)
  2704. return soap->error;
  2705. soap->encodingStyle = NULL;
  2706. soap_serializeheader(soap);
  2707. tds__AddIPAddressFilterResponse.soap_serialize(soap);
  2708. if (soap_begin_count(soap))
  2709. return soap->error;
  2710. if (soap->mode & SOAP_IO_LENGTH)
  2711. { if (soap_envelope_begin_out(soap)
  2712. || soap_putheader(soap)
  2713. || soap_body_begin_out(soap)
  2714. || tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
  2715. || soap_body_end_out(soap)
  2716. || soap_envelope_end_out(soap))
  2717. return soap->error;
  2718. };
  2719. if (soap_end_count(soap)
  2720. || soap_response(soap, SOAP_OK)
  2721. || soap_envelope_begin_out(soap)
  2722. || soap_putheader(soap)
  2723. || soap_body_begin_out(soap)
  2724. || tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
  2725. || soap_body_end_out(soap)
  2726. || soap_envelope_end_out(soap)
  2727. || soap_end_send(soap))
  2728. return soap->error;
  2729. return soap_closesock(soap);
  2730. }
  2731. static int serve___tds__RemoveIPAddressFilter(DeviceBindingService *soap)
  2732. { struct __tds__RemoveIPAddressFilter soap_tmp___tds__RemoveIPAddressFilter;
  2733. _tds__RemoveIPAddressFilterResponse tds__RemoveIPAddressFilterResponse;
  2734. tds__RemoveIPAddressFilterResponse.soap_default(soap);
  2735. soap_default___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter);
  2736. if (!soap_get___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter, "-tds:RemoveIPAddressFilter", NULL))
  2737. return soap->error;
  2738. if (soap_body_end_in(soap)
  2739. || soap_envelope_end_in(soap)
  2740. || soap_end_recv(soap))
  2741. return soap->error;
  2742. soap->error = soap->RemoveIPAddressFilter(soap_tmp___tds__RemoveIPAddressFilter.tds__RemoveIPAddressFilter, &tds__RemoveIPAddressFilterResponse);
  2743. if (soap->error)
  2744. return soap->error;
  2745. soap->encodingStyle = NULL;
  2746. soap_serializeheader(soap);
  2747. tds__RemoveIPAddressFilterResponse.soap_serialize(soap);
  2748. if (soap_begin_count(soap))
  2749. return soap->error;
  2750. if (soap->mode & SOAP_IO_LENGTH)
  2751. { if (soap_envelope_begin_out(soap)
  2752. || soap_putheader(soap)
  2753. || soap_body_begin_out(soap)
  2754. || tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
  2755. || soap_body_end_out(soap)
  2756. || soap_envelope_end_out(soap))
  2757. return soap->error;
  2758. };
  2759. if (soap_end_count(soap)
  2760. || soap_response(soap, SOAP_OK)
  2761. || soap_envelope_begin_out(soap)
  2762. || soap_putheader(soap)
  2763. || soap_body_begin_out(soap)
  2764. || tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
  2765. || soap_body_end_out(soap)
  2766. || soap_envelope_end_out(soap)
  2767. || soap_end_send(soap))
  2768. return soap->error;
  2769. return soap_closesock(soap);
  2770. }
  2771. static int serve___tds__GetAccessPolicy(DeviceBindingService *soap)
  2772. { struct __tds__GetAccessPolicy soap_tmp___tds__GetAccessPolicy;
  2773. _tds__GetAccessPolicyResponse tds__GetAccessPolicyResponse;
  2774. tds__GetAccessPolicyResponse.soap_default(soap);
  2775. soap_default___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy);
  2776. if (!soap_get___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy, "-tds:GetAccessPolicy", NULL))
  2777. return soap->error;
  2778. if (soap_body_end_in(soap)
  2779. || soap_envelope_end_in(soap)
  2780. || soap_end_recv(soap))
  2781. return soap->error;
  2782. soap->error = soap->GetAccessPolicy(soap_tmp___tds__GetAccessPolicy.tds__GetAccessPolicy, &tds__GetAccessPolicyResponse);
  2783. if (soap->error)
  2784. return soap->error;
  2785. soap->encodingStyle = NULL;
  2786. soap_serializeheader(soap);
  2787. tds__GetAccessPolicyResponse.soap_serialize(soap);
  2788. if (soap_begin_count(soap))
  2789. return soap->error;
  2790. if (soap->mode & SOAP_IO_LENGTH)
  2791. { if (soap_envelope_begin_out(soap)
  2792. || soap_putheader(soap)
  2793. || soap_body_begin_out(soap)
  2794. || tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
  2795. || soap_body_end_out(soap)
  2796. || soap_envelope_end_out(soap))
  2797. return soap->error;
  2798. };
  2799. if (soap_end_count(soap)
  2800. || soap_response(soap, SOAP_OK)
  2801. || soap_envelope_begin_out(soap)
  2802. || soap_putheader(soap)
  2803. || soap_body_begin_out(soap)
  2804. || tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
  2805. || soap_body_end_out(soap)
  2806. || soap_envelope_end_out(soap)
  2807. || soap_end_send(soap))
  2808. return soap->error;
  2809. return soap_closesock(soap);
  2810. }
  2811. static int serve___tds__SetAccessPolicy(DeviceBindingService *soap)
  2812. { struct __tds__SetAccessPolicy soap_tmp___tds__SetAccessPolicy;
  2813. _tds__SetAccessPolicyResponse tds__SetAccessPolicyResponse;
  2814. tds__SetAccessPolicyResponse.soap_default(soap);
  2815. soap_default___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy);
  2816. if (!soap_get___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy, "-tds:SetAccessPolicy", NULL))
  2817. return soap->error;
  2818. if (soap_body_end_in(soap)
  2819. || soap_envelope_end_in(soap)
  2820. || soap_end_recv(soap))
  2821. return soap->error;
  2822. soap->error = soap->SetAccessPolicy(soap_tmp___tds__SetAccessPolicy.tds__SetAccessPolicy, &tds__SetAccessPolicyResponse);
  2823. if (soap->error)
  2824. return soap->error;
  2825. soap->encodingStyle = NULL;
  2826. soap_serializeheader(soap);
  2827. tds__SetAccessPolicyResponse.soap_serialize(soap);
  2828. if (soap_begin_count(soap))
  2829. return soap->error;
  2830. if (soap->mode & SOAP_IO_LENGTH)
  2831. { if (soap_envelope_begin_out(soap)
  2832. || soap_putheader(soap)
  2833. || soap_body_begin_out(soap)
  2834. || tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
  2835. || soap_body_end_out(soap)
  2836. || soap_envelope_end_out(soap))
  2837. return soap->error;
  2838. };
  2839. if (soap_end_count(soap)
  2840. || soap_response(soap, SOAP_OK)
  2841. || soap_envelope_begin_out(soap)
  2842. || soap_putheader(soap)
  2843. || soap_body_begin_out(soap)
  2844. || tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
  2845. || soap_body_end_out(soap)
  2846. || soap_envelope_end_out(soap)
  2847. || soap_end_send(soap))
  2848. return soap->error;
  2849. return soap_closesock(soap);
  2850. }
  2851. static int serve___tds__CreateCertificate(DeviceBindingService *soap)
  2852. { struct __tds__CreateCertificate soap_tmp___tds__CreateCertificate;
  2853. _tds__CreateCertificateResponse tds__CreateCertificateResponse;
  2854. tds__CreateCertificateResponse.soap_default(soap);
  2855. soap_default___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate);
  2856. if (!soap_get___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate, "-tds:CreateCertificate", NULL))
  2857. return soap->error;
  2858. if (soap_body_end_in(soap)
  2859. || soap_envelope_end_in(soap)
  2860. || soap_end_recv(soap))
  2861. return soap->error;
  2862. soap->error = soap->CreateCertificate(soap_tmp___tds__CreateCertificate.tds__CreateCertificate, &tds__CreateCertificateResponse);
  2863. if (soap->error)
  2864. return soap->error;
  2865. soap->encodingStyle = NULL;
  2866. soap_serializeheader(soap);
  2867. tds__CreateCertificateResponse.soap_serialize(soap);
  2868. if (soap_begin_count(soap))
  2869. return soap->error;
  2870. if (soap->mode & SOAP_IO_LENGTH)
  2871. { if (soap_envelope_begin_out(soap)
  2872. || soap_putheader(soap)
  2873. || soap_body_begin_out(soap)
  2874. || tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
  2875. || soap_body_end_out(soap)
  2876. || soap_envelope_end_out(soap))
  2877. return soap->error;
  2878. };
  2879. if (soap_end_count(soap)
  2880. || soap_response(soap, SOAP_OK)
  2881. || soap_envelope_begin_out(soap)
  2882. || soap_putheader(soap)
  2883. || soap_body_begin_out(soap)
  2884. || tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
  2885. || soap_body_end_out(soap)
  2886. || soap_envelope_end_out(soap)
  2887. || soap_end_send(soap))
  2888. return soap->error;
  2889. return soap_closesock(soap);
  2890. }
  2891. static int serve___tds__GetCertificates(DeviceBindingService *soap)
  2892. { struct __tds__GetCertificates soap_tmp___tds__GetCertificates;
  2893. _tds__GetCertificatesResponse tds__GetCertificatesResponse;
  2894. tds__GetCertificatesResponse.soap_default(soap);
  2895. soap_default___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates);
  2896. if (!soap_get___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates, "-tds:GetCertificates", NULL))
  2897. return soap->error;
  2898. if (soap_body_end_in(soap)
  2899. || soap_envelope_end_in(soap)
  2900. || soap_end_recv(soap))
  2901. return soap->error;
  2902. soap->error = soap->GetCertificates(soap_tmp___tds__GetCertificates.tds__GetCertificates, &tds__GetCertificatesResponse);
  2903. if (soap->error)
  2904. return soap->error;
  2905. soap->encodingStyle = NULL;
  2906. soap_serializeheader(soap);
  2907. tds__GetCertificatesResponse.soap_serialize(soap);
  2908. if (soap_begin_count(soap))
  2909. return soap->error;
  2910. if (soap->mode & SOAP_IO_LENGTH)
  2911. { if (soap_envelope_begin_out(soap)
  2912. || soap_putheader(soap)
  2913. || soap_body_begin_out(soap)
  2914. || tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
  2915. || soap_body_end_out(soap)
  2916. || soap_envelope_end_out(soap))
  2917. return soap->error;
  2918. };
  2919. if (soap_end_count(soap)
  2920. || soap_response(soap, SOAP_OK)
  2921. || soap_envelope_begin_out(soap)
  2922. || soap_putheader(soap)
  2923. || soap_body_begin_out(soap)
  2924. || tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
  2925. || soap_body_end_out(soap)
  2926. || soap_envelope_end_out(soap)
  2927. || soap_end_send(soap))
  2928. return soap->error;
  2929. return soap_closesock(soap);
  2930. }
  2931. static int serve___tds__GetCertificatesStatus(DeviceBindingService *soap)
  2932. { struct __tds__GetCertificatesStatus soap_tmp___tds__GetCertificatesStatus;
  2933. _tds__GetCertificatesStatusResponse tds__GetCertificatesStatusResponse;
  2934. tds__GetCertificatesStatusResponse.soap_default(soap);
  2935. soap_default___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus);
  2936. if (!soap_get___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus, "-tds:GetCertificatesStatus", NULL))
  2937. return soap->error;
  2938. if (soap_body_end_in(soap)
  2939. || soap_envelope_end_in(soap)
  2940. || soap_end_recv(soap))
  2941. return soap->error;
  2942. soap->error = soap->GetCertificatesStatus(soap_tmp___tds__GetCertificatesStatus.tds__GetCertificatesStatus, &tds__GetCertificatesStatusResponse);
  2943. if (soap->error)
  2944. return soap->error;
  2945. soap->encodingStyle = NULL;
  2946. soap_serializeheader(soap);
  2947. tds__GetCertificatesStatusResponse.soap_serialize(soap);
  2948. if (soap_begin_count(soap))
  2949. return soap->error;
  2950. if (soap->mode & SOAP_IO_LENGTH)
  2951. { if (soap_envelope_begin_out(soap)
  2952. || soap_putheader(soap)
  2953. || soap_body_begin_out(soap)
  2954. || tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
  2955. || soap_body_end_out(soap)
  2956. || soap_envelope_end_out(soap))
  2957. return soap->error;
  2958. };
  2959. if (soap_end_count(soap)
  2960. || soap_response(soap, SOAP_OK)
  2961. || soap_envelope_begin_out(soap)
  2962. || soap_putheader(soap)
  2963. || soap_body_begin_out(soap)
  2964. || tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
  2965. || soap_body_end_out(soap)
  2966. || soap_envelope_end_out(soap)
  2967. || soap_end_send(soap))
  2968. return soap->error;
  2969. return soap_closesock(soap);
  2970. }
  2971. static int serve___tds__SetCertificatesStatus(DeviceBindingService *soap)
  2972. { struct __tds__SetCertificatesStatus soap_tmp___tds__SetCertificatesStatus;
  2973. _tds__SetCertificatesStatusResponse tds__SetCertificatesStatusResponse;
  2974. tds__SetCertificatesStatusResponse.soap_default(soap);
  2975. soap_default___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus);
  2976. if (!soap_get___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus, "-tds:SetCertificatesStatus", NULL))
  2977. return soap->error;
  2978. if (soap_body_end_in(soap)
  2979. || soap_envelope_end_in(soap)
  2980. || soap_end_recv(soap))
  2981. return soap->error;
  2982. soap->error = soap->SetCertificatesStatus(soap_tmp___tds__SetCertificatesStatus.tds__SetCertificatesStatus, &tds__SetCertificatesStatusResponse);
  2983. if (soap->error)
  2984. return soap->error;
  2985. soap->encodingStyle = NULL;
  2986. soap_serializeheader(soap);
  2987. tds__SetCertificatesStatusResponse.soap_serialize(soap);
  2988. if (soap_begin_count(soap))
  2989. return soap->error;
  2990. if (soap->mode & SOAP_IO_LENGTH)
  2991. { if (soap_envelope_begin_out(soap)
  2992. || soap_putheader(soap)
  2993. || soap_body_begin_out(soap)
  2994. || tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
  2995. || soap_body_end_out(soap)
  2996. || soap_envelope_end_out(soap))
  2997. return soap->error;
  2998. };
  2999. if (soap_end_count(soap)
  3000. || soap_response(soap, SOAP_OK)
  3001. || soap_envelope_begin_out(soap)
  3002. || soap_putheader(soap)
  3003. || soap_body_begin_out(soap)
  3004. || tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
  3005. || soap_body_end_out(soap)
  3006. || soap_envelope_end_out(soap)
  3007. || soap_end_send(soap))
  3008. return soap->error;
  3009. return soap_closesock(soap);
  3010. }
  3011. static int serve___tds__DeleteCertificates(DeviceBindingService *soap)
  3012. { struct __tds__DeleteCertificates soap_tmp___tds__DeleteCertificates;
  3013. _tds__DeleteCertificatesResponse tds__DeleteCertificatesResponse;
  3014. tds__DeleteCertificatesResponse.soap_default(soap);
  3015. soap_default___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates);
  3016. if (!soap_get___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates, "-tds:DeleteCertificates", NULL))
  3017. return soap->error;
  3018. if (soap_body_end_in(soap)
  3019. || soap_envelope_end_in(soap)
  3020. || soap_end_recv(soap))
  3021. return soap->error;
  3022. soap->error = soap->DeleteCertificates(soap_tmp___tds__DeleteCertificates.tds__DeleteCertificates, &tds__DeleteCertificatesResponse);
  3023. if (soap->error)
  3024. return soap->error;
  3025. soap->encodingStyle = NULL;
  3026. soap_serializeheader(soap);
  3027. tds__DeleteCertificatesResponse.soap_serialize(soap);
  3028. if (soap_begin_count(soap))
  3029. return soap->error;
  3030. if (soap->mode & SOAP_IO_LENGTH)
  3031. { if (soap_envelope_begin_out(soap)
  3032. || soap_putheader(soap)
  3033. || soap_body_begin_out(soap)
  3034. || tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
  3035. || soap_body_end_out(soap)
  3036. || soap_envelope_end_out(soap))
  3037. return soap->error;
  3038. };
  3039. if (soap_end_count(soap)
  3040. || soap_response(soap, SOAP_OK)
  3041. || soap_envelope_begin_out(soap)
  3042. || soap_putheader(soap)
  3043. || soap_body_begin_out(soap)
  3044. || tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
  3045. || soap_body_end_out(soap)
  3046. || soap_envelope_end_out(soap)
  3047. || soap_end_send(soap))
  3048. return soap->error;
  3049. return soap_closesock(soap);
  3050. }
  3051. static int serve___tds__GetPkcs10Request(DeviceBindingService *soap)
  3052. { struct __tds__GetPkcs10Request soap_tmp___tds__GetPkcs10Request;
  3053. _tds__GetPkcs10RequestResponse tds__GetPkcs10RequestResponse;
  3054. tds__GetPkcs10RequestResponse.soap_default(soap);
  3055. soap_default___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request);
  3056. if (!soap_get___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request, "-tds:GetPkcs10Request", NULL))
  3057. return soap->error;
  3058. if (soap_body_end_in(soap)
  3059. || soap_envelope_end_in(soap)
  3060. || soap_end_recv(soap))
  3061. return soap->error;
  3062. soap->error = soap->GetPkcs10Request(soap_tmp___tds__GetPkcs10Request.tds__GetPkcs10Request, &tds__GetPkcs10RequestResponse);
  3063. if (soap->error)
  3064. return soap->error;
  3065. soap->encodingStyle = NULL;
  3066. soap_serializeheader(soap);
  3067. tds__GetPkcs10RequestResponse.soap_serialize(soap);
  3068. if (soap_begin_count(soap))
  3069. return soap->error;
  3070. if (soap->mode & SOAP_IO_LENGTH)
  3071. { if (soap_envelope_begin_out(soap)
  3072. || soap_putheader(soap)
  3073. || soap_body_begin_out(soap)
  3074. || tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
  3075. || soap_body_end_out(soap)
  3076. || soap_envelope_end_out(soap))
  3077. return soap->error;
  3078. };
  3079. if (soap_end_count(soap)
  3080. || soap_response(soap, SOAP_OK)
  3081. || soap_envelope_begin_out(soap)
  3082. || soap_putheader(soap)
  3083. || soap_body_begin_out(soap)
  3084. || tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
  3085. || soap_body_end_out(soap)
  3086. || soap_envelope_end_out(soap)
  3087. || soap_end_send(soap))
  3088. return soap->error;
  3089. return soap_closesock(soap);
  3090. }
  3091. static int serve___tds__LoadCertificates(DeviceBindingService *soap)
  3092. { struct __tds__LoadCertificates soap_tmp___tds__LoadCertificates;
  3093. _tds__LoadCertificatesResponse tds__LoadCertificatesResponse;
  3094. tds__LoadCertificatesResponse.soap_default(soap);
  3095. soap_default___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates);
  3096. if (!soap_get___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates, "-tds:LoadCertificates", NULL))
  3097. return soap->error;
  3098. if (soap_body_end_in(soap)
  3099. || soap_envelope_end_in(soap)
  3100. || soap_end_recv(soap))
  3101. return soap->error;
  3102. soap->error = soap->LoadCertificates(soap_tmp___tds__LoadCertificates.tds__LoadCertificates, &tds__LoadCertificatesResponse);
  3103. if (soap->error)
  3104. return soap->error;
  3105. soap->encodingStyle = NULL;
  3106. soap_serializeheader(soap);
  3107. tds__LoadCertificatesResponse.soap_serialize(soap);
  3108. if (soap_begin_count(soap))
  3109. return soap->error;
  3110. if (soap->mode & SOAP_IO_LENGTH)
  3111. { if (soap_envelope_begin_out(soap)
  3112. || soap_putheader(soap)
  3113. || soap_body_begin_out(soap)
  3114. || tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
  3115. || soap_body_end_out(soap)
  3116. || soap_envelope_end_out(soap))
  3117. return soap->error;
  3118. };
  3119. if (soap_end_count(soap)
  3120. || soap_response(soap, SOAP_OK)
  3121. || soap_envelope_begin_out(soap)
  3122. || soap_putheader(soap)
  3123. || soap_body_begin_out(soap)
  3124. || tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
  3125. || soap_body_end_out(soap)
  3126. || soap_envelope_end_out(soap)
  3127. || soap_end_send(soap))
  3128. return soap->error;
  3129. return soap_closesock(soap);
  3130. }
  3131. static int serve___tds__GetClientCertificateMode(DeviceBindingService *soap)
  3132. { struct __tds__GetClientCertificateMode soap_tmp___tds__GetClientCertificateMode;
  3133. _tds__GetClientCertificateModeResponse tds__GetClientCertificateModeResponse;
  3134. tds__GetClientCertificateModeResponse.soap_default(soap);
  3135. soap_default___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode);
  3136. if (!soap_get___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode, "-tds:GetClientCertificateMode", NULL))
  3137. return soap->error;
  3138. if (soap_body_end_in(soap)
  3139. || soap_envelope_end_in(soap)
  3140. || soap_end_recv(soap))
  3141. return soap->error;
  3142. soap->error = soap->GetClientCertificateMode(soap_tmp___tds__GetClientCertificateMode.tds__GetClientCertificateMode, &tds__GetClientCertificateModeResponse);
  3143. if (soap->error)
  3144. return soap->error;
  3145. soap->encodingStyle = NULL;
  3146. soap_serializeheader(soap);
  3147. tds__GetClientCertificateModeResponse.soap_serialize(soap);
  3148. if (soap_begin_count(soap))
  3149. return soap->error;
  3150. if (soap->mode & SOAP_IO_LENGTH)
  3151. { if (soap_envelope_begin_out(soap)
  3152. || soap_putheader(soap)
  3153. || soap_body_begin_out(soap)
  3154. || tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
  3155. || soap_body_end_out(soap)
  3156. || soap_envelope_end_out(soap))
  3157. return soap->error;
  3158. };
  3159. if (soap_end_count(soap)
  3160. || soap_response(soap, SOAP_OK)
  3161. || soap_envelope_begin_out(soap)
  3162. || soap_putheader(soap)
  3163. || soap_body_begin_out(soap)
  3164. || tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
  3165. || soap_body_end_out(soap)
  3166. || soap_envelope_end_out(soap)
  3167. || soap_end_send(soap))
  3168. return soap->error;
  3169. return soap_closesock(soap);
  3170. }
  3171. static int serve___tds__SetClientCertificateMode(DeviceBindingService *soap)
  3172. { struct __tds__SetClientCertificateMode soap_tmp___tds__SetClientCertificateMode;
  3173. _tds__SetClientCertificateModeResponse tds__SetClientCertificateModeResponse;
  3174. tds__SetClientCertificateModeResponse.soap_default(soap);
  3175. soap_default___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode);
  3176. if (!soap_get___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode, "-tds:SetClientCertificateMode", NULL))
  3177. return soap->error;
  3178. if (soap_body_end_in(soap)
  3179. || soap_envelope_end_in(soap)
  3180. || soap_end_recv(soap))
  3181. return soap->error;
  3182. soap->error = soap->SetClientCertificateMode(soap_tmp___tds__SetClientCertificateMode.tds__SetClientCertificateMode, &tds__SetClientCertificateModeResponse);
  3183. if (soap->error)
  3184. return soap->error;
  3185. soap->encodingStyle = NULL;
  3186. soap_serializeheader(soap);
  3187. tds__SetClientCertificateModeResponse.soap_serialize(soap);
  3188. if (soap_begin_count(soap))
  3189. return soap->error;
  3190. if (soap->mode & SOAP_IO_LENGTH)
  3191. { if (soap_envelope_begin_out(soap)
  3192. || soap_putheader(soap)
  3193. || soap_body_begin_out(soap)
  3194. || tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
  3195. || soap_body_end_out(soap)
  3196. || soap_envelope_end_out(soap))
  3197. return soap->error;
  3198. };
  3199. if (soap_end_count(soap)
  3200. || soap_response(soap, SOAP_OK)
  3201. || soap_envelope_begin_out(soap)
  3202. || soap_putheader(soap)
  3203. || soap_body_begin_out(soap)
  3204. || tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
  3205. || soap_body_end_out(soap)
  3206. || soap_envelope_end_out(soap)
  3207. || soap_end_send(soap))
  3208. return soap->error;
  3209. return soap_closesock(soap);
  3210. }
  3211. static int serve___tds__GetRelayOutputs(DeviceBindingService *soap)
  3212. { struct __tds__GetRelayOutputs soap_tmp___tds__GetRelayOutputs;
  3213. _tds__GetRelayOutputsResponse tds__GetRelayOutputsResponse;
  3214. tds__GetRelayOutputsResponse.soap_default(soap);
  3215. soap_default___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs);
  3216. if (!soap_get___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs, "-tds:GetRelayOutputs", NULL))
  3217. return soap->error;
  3218. if (soap_body_end_in(soap)
  3219. || soap_envelope_end_in(soap)
  3220. || soap_end_recv(soap))
  3221. return soap->error;
  3222. soap->error = soap->GetRelayOutputs(soap_tmp___tds__GetRelayOutputs.tds__GetRelayOutputs, &tds__GetRelayOutputsResponse);
  3223. if (soap->error)
  3224. return soap->error;
  3225. soap->encodingStyle = NULL;
  3226. soap_serializeheader(soap);
  3227. tds__GetRelayOutputsResponse.soap_serialize(soap);
  3228. if (soap_begin_count(soap))
  3229. return soap->error;
  3230. if (soap->mode & SOAP_IO_LENGTH)
  3231. { if (soap_envelope_begin_out(soap)
  3232. || soap_putheader(soap)
  3233. || soap_body_begin_out(soap)
  3234. || tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
  3235. || soap_body_end_out(soap)
  3236. || soap_envelope_end_out(soap))
  3237. return soap->error;
  3238. };
  3239. if (soap_end_count(soap)
  3240. || soap_response(soap, SOAP_OK)
  3241. || soap_envelope_begin_out(soap)
  3242. || soap_putheader(soap)
  3243. || soap_body_begin_out(soap)
  3244. || tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
  3245. || soap_body_end_out(soap)
  3246. || soap_envelope_end_out(soap)
  3247. || soap_end_send(soap))
  3248. return soap->error;
  3249. return soap_closesock(soap);
  3250. }
  3251. static int serve___tds__SetRelayOutputSettings(DeviceBindingService *soap)
  3252. { struct __tds__SetRelayOutputSettings soap_tmp___tds__SetRelayOutputSettings;
  3253. _tds__SetRelayOutputSettingsResponse tds__SetRelayOutputSettingsResponse;
  3254. tds__SetRelayOutputSettingsResponse.soap_default(soap);
  3255. soap_default___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings);
  3256. if (!soap_get___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings, "-tds:SetRelayOutputSettings", NULL))
  3257. return soap->error;
  3258. if (soap_body_end_in(soap)
  3259. || soap_envelope_end_in(soap)
  3260. || soap_end_recv(soap))
  3261. return soap->error;
  3262. soap->error = soap->SetRelayOutputSettings(soap_tmp___tds__SetRelayOutputSettings.tds__SetRelayOutputSettings, &tds__SetRelayOutputSettingsResponse);
  3263. if (soap->error)
  3264. return soap->error;
  3265. soap->encodingStyle = NULL;
  3266. soap_serializeheader(soap);
  3267. tds__SetRelayOutputSettingsResponse.soap_serialize(soap);
  3268. if (soap_begin_count(soap))
  3269. return soap->error;
  3270. if (soap->mode & SOAP_IO_LENGTH)
  3271. { if (soap_envelope_begin_out(soap)
  3272. || soap_putheader(soap)
  3273. || soap_body_begin_out(soap)
  3274. || tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
  3275. || soap_body_end_out(soap)
  3276. || soap_envelope_end_out(soap))
  3277. return soap->error;
  3278. };
  3279. if (soap_end_count(soap)
  3280. || soap_response(soap, SOAP_OK)
  3281. || soap_envelope_begin_out(soap)
  3282. || soap_putheader(soap)
  3283. || soap_body_begin_out(soap)
  3284. || tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
  3285. || soap_body_end_out(soap)
  3286. || soap_envelope_end_out(soap)
  3287. || soap_end_send(soap))
  3288. return soap->error;
  3289. return soap_closesock(soap);
  3290. }
  3291. static int serve___tds__SetRelayOutputState(DeviceBindingService *soap)
  3292. { struct __tds__SetRelayOutputState soap_tmp___tds__SetRelayOutputState;
  3293. _tds__SetRelayOutputStateResponse tds__SetRelayOutputStateResponse;
  3294. tds__SetRelayOutputStateResponse.soap_default(soap);
  3295. soap_default___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState);
  3296. if (!soap_get___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState, "-tds:SetRelayOutputState", NULL))
  3297. return soap->error;
  3298. if (soap_body_end_in(soap)
  3299. || soap_envelope_end_in(soap)
  3300. || soap_end_recv(soap))
  3301. return soap->error;
  3302. soap->error = soap->SetRelayOutputState(soap_tmp___tds__SetRelayOutputState.tds__SetRelayOutputState, &tds__SetRelayOutputStateResponse);
  3303. if (soap->error)
  3304. return soap->error;
  3305. soap->encodingStyle = NULL;
  3306. soap_serializeheader(soap);
  3307. tds__SetRelayOutputStateResponse.soap_serialize(soap);
  3308. if (soap_begin_count(soap))
  3309. return soap->error;
  3310. if (soap->mode & SOAP_IO_LENGTH)
  3311. { if (soap_envelope_begin_out(soap)
  3312. || soap_putheader(soap)
  3313. || soap_body_begin_out(soap)
  3314. || tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
  3315. || soap_body_end_out(soap)
  3316. || soap_envelope_end_out(soap))
  3317. return soap->error;
  3318. };
  3319. if (soap_end_count(soap)
  3320. || soap_response(soap, SOAP_OK)
  3321. || soap_envelope_begin_out(soap)
  3322. || soap_putheader(soap)
  3323. || soap_body_begin_out(soap)
  3324. || tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
  3325. || soap_body_end_out(soap)
  3326. || soap_envelope_end_out(soap)
  3327. || soap_end_send(soap))
  3328. return soap->error;
  3329. return soap_closesock(soap);
  3330. }
  3331. static int serve___tds__SendAuxiliaryCommand(DeviceBindingService *soap)
  3332. { struct __tds__SendAuxiliaryCommand soap_tmp___tds__SendAuxiliaryCommand;
  3333. _tds__SendAuxiliaryCommandResponse tds__SendAuxiliaryCommandResponse;
  3334. tds__SendAuxiliaryCommandResponse.soap_default(soap);
  3335. soap_default___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand);
  3336. if (!soap_get___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand, "-tds:SendAuxiliaryCommand", NULL))
  3337. return soap->error;
  3338. if (soap_body_end_in(soap)
  3339. || soap_envelope_end_in(soap)
  3340. || soap_end_recv(soap))
  3341. return soap->error;
  3342. soap->error = soap->SendAuxiliaryCommand(soap_tmp___tds__SendAuxiliaryCommand.tds__SendAuxiliaryCommand, &tds__SendAuxiliaryCommandResponse);
  3343. if (soap->error)
  3344. return soap->error;
  3345. soap->encodingStyle = NULL;
  3346. soap_serializeheader(soap);
  3347. tds__SendAuxiliaryCommandResponse.soap_serialize(soap);
  3348. if (soap_begin_count(soap))
  3349. return soap->error;
  3350. if (soap->mode & SOAP_IO_LENGTH)
  3351. { if (soap_envelope_begin_out(soap)
  3352. || soap_putheader(soap)
  3353. || soap_body_begin_out(soap)
  3354. || tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
  3355. || soap_body_end_out(soap)
  3356. || soap_envelope_end_out(soap))
  3357. return soap->error;
  3358. };
  3359. if (soap_end_count(soap)
  3360. || soap_response(soap, SOAP_OK)
  3361. || soap_envelope_begin_out(soap)
  3362. || soap_putheader(soap)
  3363. || soap_body_begin_out(soap)
  3364. || tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
  3365. || soap_body_end_out(soap)
  3366. || soap_envelope_end_out(soap)
  3367. || soap_end_send(soap))
  3368. return soap->error;
  3369. return soap_closesock(soap);
  3370. }
  3371. static int serve___tds__GetCACertificates(DeviceBindingService *soap)
  3372. { struct __tds__GetCACertificates soap_tmp___tds__GetCACertificates;
  3373. _tds__GetCACertificatesResponse tds__GetCACertificatesResponse;
  3374. tds__GetCACertificatesResponse.soap_default(soap);
  3375. soap_default___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates);
  3376. if (!soap_get___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates, "-tds:GetCACertificates", NULL))
  3377. return soap->error;
  3378. if (soap_body_end_in(soap)
  3379. || soap_envelope_end_in(soap)
  3380. || soap_end_recv(soap))
  3381. return soap->error;
  3382. soap->error = soap->GetCACertificates(soap_tmp___tds__GetCACertificates.tds__GetCACertificates, &tds__GetCACertificatesResponse);
  3383. if (soap->error)
  3384. return soap->error;
  3385. soap->encodingStyle = NULL;
  3386. soap_serializeheader(soap);
  3387. tds__GetCACertificatesResponse.soap_serialize(soap);
  3388. if (soap_begin_count(soap))
  3389. return soap->error;
  3390. if (soap->mode & SOAP_IO_LENGTH)
  3391. { if (soap_envelope_begin_out(soap)
  3392. || soap_putheader(soap)
  3393. || soap_body_begin_out(soap)
  3394. || tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
  3395. || soap_body_end_out(soap)
  3396. || soap_envelope_end_out(soap))
  3397. return soap->error;
  3398. };
  3399. if (soap_end_count(soap)
  3400. || soap_response(soap, SOAP_OK)
  3401. || soap_envelope_begin_out(soap)
  3402. || soap_putheader(soap)
  3403. || soap_body_begin_out(soap)
  3404. || tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
  3405. || soap_body_end_out(soap)
  3406. || soap_envelope_end_out(soap)
  3407. || soap_end_send(soap))
  3408. return soap->error;
  3409. return soap_closesock(soap);
  3410. }
  3411. static int serve___tds__LoadCertificateWithPrivateKey(DeviceBindingService *soap)
  3412. { struct __tds__LoadCertificateWithPrivateKey soap_tmp___tds__LoadCertificateWithPrivateKey;
  3413. _tds__LoadCertificateWithPrivateKeyResponse tds__LoadCertificateWithPrivateKeyResponse;
  3414. tds__LoadCertificateWithPrivateKeyResponse.soap_default(soap);
  3415. soap_default___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey);
  3416. if (!soap_get___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey, "-tds:LoadCertificateWithPrivateKey", NULL))
  3417. return soap->error;
  3418. if (soap_body_end_in(soap)
  3419. || soap_envelope_end_in(soap)
  3420. || soap_end_recv(soap))
  3421. return soap->error;
  3422. soap->error = soap->LoadCertificateWithPrivateKey(soap_tmp___tds__LoadCertificateWithPrivateKey.tds__LoadCertificateWithPrivateKey, &tds__LoadCertificateWithPrivateKeyResponse);
  3423. if (soap->error)
  3424. return soap->error;
  3425. soap->encodingStyle = NULL;
  3426. soap_serializeheader(soap);
  3427. tds__LoadCertificateWithPrivateKeyResponse.soap_serialize(soap);
  3428. if (soap_begin_count(soap))
  3429. return soap->error;
  3430. if (soap->mode & SOAP_IO_LENGTH)
  3431. { if (soap_envelope_begin_out(soap)
  3432. || soap_putheader(soap)
  3433. || soap_body_begin_out(soap)
  3434. || tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
  3435. || soap_body_end_out(soap)
  3436. || soap_envelope_end_out(soap))
  3437. return soap->error;
  3438. };
  3439. if (soap_end_count(soap)
  3440. || soap_response(soap, SOAP_OK)
  3441. || soap_envelope_begin_out(soap)
  3442. || soap_putheader(soap)
  3443. || soap_body_begin_out(soap)
  3444. || tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
  3445. || soap_body_end_out(soap)
  3446. || soap_envelope_end_out(soap)
  3447. || soap_end_send(soap))
  3448. return soap->error;
  3449. return soap_closesock(soap);
  3450. }
  3451. static int serve___tds__GetCertificateInformation(DeviceBindingService *soap)
  3452. { struct __tds__GetCertificateInformation soap_tmp___tds__GetCertificateInformation;
  3453. _tds__GetCertificateInformationResponse tds__GetCertificateInformationResponse;
  3454. tds__GetCertificateInformationResponse.soap_default(soap);
  3455. soap_default___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation);
  3456. if (!soap_get___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation, "-tds:GetCertificateInformation", NULL))
  3457. return soap->error;
  3458. if (soap_body_end_in(soap)
  3459. || soap_envelope_end_in(soap)
  3460. || soap_end_recv(soap))
  3461. return soap->error;
  3462. soap->error = soap->GetCertificateInformation(soap_tmp___tds__GetCertificateInformation.tds__GetCertificateInformation, &tds__GetCertificateInformationResponse);
  3463. if (soap->error)
  3464. return soap->error;
  3465. soap->encodingStyle = NULL;
  3466. soap_serializeheader(soap);
  3467. tds__GetCertificateInformationResponse.soap_serialize(soap);
  3468. if (soap_begin_count(soap))
  3469. return soap->error;
  3470. if (soap->mode & SOAP_IO_LENGTH)
  3471. { if (soap_envelope_begin_out(soap)
  3472. || soap_putheader(soap)
  3473. || soap_body_begin_out(soap)
  3474. || tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
  3475. || soap_body_end_out(soap)
  3476. || soap_envelope_end_out(soap))
  3477. return soap->error;
  3478. };
  3479. if (soap_end_count(soap)
  3480. || soap_response(soap, SOAP_OK)
  3481. || soap_envelope_begin_out(soap)
  3482. || soap_putheader(soap)
  3483. || soap_body_begin_out(soap)
  3484. || tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
  3485. || soap_body_end_out(soap)
  3486. || soap_envelope_end_out(soap)
  3487. || soap_end_send(soap))
  3488. return soap->error;
  3489. return soap_closesock(soap);
  3490. }
  3491. static int serve___tds__LoadCACertificates(DeviceBindingService *soap)
  3492. { struct __tds__LoadCACertificates soap_tmp___tds__LoadCACertificates;
  3493. _tds__LoadCACertificatesResponse tds__LoadCACertificatesResponse;
  3494. tds__LoadCACertificatesResponse.soap_default(soap);
  3495. soap_default___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates);
  3496. if (!soap_get___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates, "-tds:LoadCACertificates", NULL))
  3497. return soap->error;
  3498. if (soap_body_end_in(soap)
  3499. || soap_envelope_end_in(soap)
  3500. || soap_end_recv(soap))
  3501. return soap->error;
  3502. soap->error = soap->LoadCACertificates(soap_tmp___tds__LoadCACertificates.tds__LoadCACertificates, &tds__LoadCACertificatesResponse);
  3503. if (soap->error)
  3504. return soap->error;
  3505. soap->encodingStyle = NULL;
  3506. soap_serializeheader(soap);
  3507. tds__LoadCACertificatesResponse.soap_serialize(soap);
  3508. if (soap_begin_count(soap))
  3509. return soap->error;
  3510. if (soap->mode & SOAP_IO_LENGTH)
  3511. { if (soap_envelope_begin_out(soap)
  3512. || soap_putheader(soap)
  3513. || soap_body_begin_out(soap)
  3514. || tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
  3515. || soap_body_end_out(soap)
  3516. || soap_envelope_end_out(soap))
  3517. return soap->error;
  3518. };
  3519. if (soap_end_count(soap)
  3520. || soap_response(soap, SOAP_OK)
  3521. || soap_envelope_begin_out(soap)
  3522. || soap_putheader(soap)
  3523. || soap_body_begin_out(soap)
  3524. || tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
  3525. || soap_body_end_out(soap)
  3526. || soap_envelope_end_out(soap)
  3527. || soap_end_send(soap))
  3528. return soap->error;
  3529. return soap_closesock(soap);
  3530. }
  3531. static int serve___tds__CreateDot1XConfiguration(DeviceBindingService *soap)
  3532. { struct __tds__CreateDot1XConfiguration soap_tmp___tds__CreateDot1XConfiguration;
  3533. _tds__CreateDot1XConfigurationResponse tds__CreateDot1XConfigurationResponse;
  3534. tds__CreateDot1XConfigurationResponse.soap_default(soap);
  3535. soap_default___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration);
  3536. if (!soap_get___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration, "-tds:CreateDot1XConfiguration", NULL))
  3537. return soap->error;
  3538. if (soap_body_end_in(soap)
  3539. || soap_envelope_end_in(soap)
  3540. || soap_end_recv(soap))
  3541. return soap->error;
  3542. soap->error = soap->CreateDot1XConfiguration(soap_tmp___tds__CreateDot1XConfiguration.tds__CreateDot1XConfiguration, &tds__CreateDot1XConfigurationResponse);
  3543. if (soap->error)
  3544. return soap->error;
  3545. soap->encodingStyle = NULL;
  3546. soap_serializeheader(soap);
  3547. tds__CreateDot1XConfigurationResponse.soap_serialize(soap);
  3548. if (soap_begin_count(soap))
  3549. return soap->error;
  3550. if (soap->mode & SOAP_IO_LENGTH)
  3551. { if (soap_envelope_begin_out(soap)
  3552. || soap_putheader(soap)
  3553. || soap_body_begin_out(soap)
  3554. || tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
  3555. || soap_body_end_out(soap)
  3556. || soap_envelope_end_out(soap))
  3557. return soap->error;
  3558. };
  3559. if (soap_end_count(soap)
  3560. || soap_response(soap, SOAP_OK)
  3561. || soap_envelope_begin_out(soap)
  3562. || soap_putheader(soap)
  3563. || soap_body_begin_out(soap)
  3564. || tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
  3565. || soap_body_end_out(soap)
  3566. || soap_envelope_end_out(soap)
  3567. || soap_end_send(soap))
  3568. return soap->error;
  3569. return soap_closesock(soap);
  3570. }
  3571. static int serve___tds__SetDot1XConfiguration(DeviceBindingService *soap)
  3572. { struct __tds__SetDot1XConfiguration soap_tmp___tds__SetDot1XConfiguration;
  3573. _tds__SetDot1XConfigurationResponse tds__SetDot1XConfigurationResponse;
  3574. tds__SetDot1XConfigurationResponse.soap_default(soap);
  3575. soap_default___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration);
  3576. if (!soap_get___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration, "-tds:SetDot1XConfiguration", NULL))
  3577. return soap->error;
  3578. if (soap_body_end_in(soap)
  3579. || soap_envelope_end_in(soap)
  3580. || soap_end_recv(soap))
  3581. return soap->error;
  3582. soap->error = soap->SetDot1XConfiguration(soap_tmp___tds__SetDot1XConfiguration.tds__SetDot1XConfiguration, &tds__SetDot1XConfigurationResponse);
  3583. if (soap->error)
  3584. return soap->error;
  3585. soap->encodingStyle = NULL;
  3586. soap_serializeheader(soap);
  3587. tds__SetDot1XConfigurationResponse.soap_serialize(soap);
  3588. if (soap_begin_count(soap))
  3589. return soap->error;
  3590. if (soap->mode & SOAP_IO_LENGTH)
  3591. { if (soap_envelope_begin_out(soap)
  3592. || soap_putheader(soap)
  3593. || soap_body_begin_out(soap)
  3594. || tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
  3595. || soap_body_end_out(soap)
  3596. || soap_envelope_end_out(soap))
  3597. return soap->error;
  3598. };
  3599. if (soap_end_count(soap)
  3600. || soap_response(soap, SOAP_OK)
  3601. || soap_envelope_begin_out(soap)
  3602. || soap_putheader(soap)
  3603. || soap_body_begin_out(soap)
  3604. || tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
  3605. || soap_body_end_out(soap)
  3606. || soap_envelope_end_out(soap)
  3607. || soap_end_send(soap))
  3608. return soap->error;
  3609. return soap_closesock(soap);
  3610. }
  3611. static int serve___tds__GetDot1XConfiguration(DeviceBindingService *soap)
  3612. { struct __tds__GetDot1XConfiguration soap_tmp___tds__GetDot1XConfiguration;
  3613. _tds__GetDot1XConfigurationResponse tds__GetDot1XConfigurationResponse;
  3614. tds__GetDot1XConfigurationResponse.soap_default(soap);
  3615. soap_default___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration);
  3616. if (!soap_get___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration, "-tds:GetDot1XConfiguration", NULL))
  3617. return soap->error;
  3618. if (soap_body_end_in(soap)
  3619. || soap_envelope_end_in(soap)
  3620. || soap_end_recv(soap))
  3621. return soap->error;
  3622. soap->error = soap->GetDot1XConfiguration(soap_tmp___tds__GetDot1XConfiguration.tds__GetDot1XConfiguration, &tds__GetDot1XConfigurationResponse);
  3623. if (soap->error)
  3624. return soap->error;
  3625. soap->encodingStyle = NULL;
  3626. soap_serializeheader(soap);
  3627. tds__GetDot1XConfigurationResponse.soap_serialize(soap);
  3628. if (soap_begin_count(soap))
  3629. return soap->error;
  3630. if (soap->mode & SOAP_IO_LENGTH)
  3631. { if (soap_envelope_begin_out(soap)
  3632. || soap_putheader(soap)
  3633. || soap_body_begin_out(soap)
  3634. || tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
  3635. || soap_body_end_out(soap)
  3636. || soap_envelope_end_out(soap))
  3637. return soap->error;
  3638. };
  3639. if (soap_end_count(soap)
  3640. || soap_response(soap, SOAP_OK)
  3641. || soap_envelope_begin_out(soap)
  3642. || soap_putheader(soap)
  3643. || soap_body_begin_out(soap)
  3644. || tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
  3645. || soap_body_end_out(soap)
  3646. || soap_envelope_end_out(soap)
  3647. || soap_end_send(soap))
  3648. return soap->error;
  3649. return soap_closesock(soap);
  3650. }
  3651. static int serve___tds__GetDot1XConfigurations(DeviceBindingService *soap)
  3652. { struct __tds__GetDot1XConfigurations soap_tmp___tds__GetDot1XConfigurations;
  3653. _tds__GetDot1XConfigurationsResponse tds__GetDot1XConfigurationsResponse;
  3654. tds__GetDot1XConfigurationsResponse.soap_default(soap);
  3655. soap_default___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations);
  3656. if (!soap_get___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations, "-tds:GetDot1XConfigurations", NULL))
  3657. return soap->error;
  3658. if (soap_body_end_in(soap)
  3659. || soap_envelope_end_in(soap)
  3660. || soap_end_recv(soap))
  3661. return soap->error;
  3662. soap->error = soap->GetDot1XConfigurations(soap_tmp___tds__GetDot1XConfigurations.tds__GetDot1XConfigurations, &tds__GetDot1XConfigurationsResponse);
  3663. if (soap->error)
  3664. return soap->error;
  3665. soap->encodingStyle = NULL;
  3666. soap_serializeheader(soap);
  3667. tds__GetDot1XConfigurationsResponse.soap_serialize(soap);
  3668. if (soap_begin_count(soap))
  3669. return soap->error;
  3670. if (soap->mode & SOAP_IO_LENGTH)
  3671. { if (soap_envelope_begin_out(soap)
  3672. || soap_putheader(soap)
  3673. || soap_body_begin_out(soap)
  3674. || tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
  3675. || soap_body_end_out(soap)
  3676. || soap_envelope_end_out(soap))
  3677. return soap->error;
  3678. };
  3679. if (soap_end_count(soap)
  3680. || soap_response(soap, SOAP_OK)
  3681. || soap_envelope_begin_out(soap)
  3682. || soap_putheader(soap)
  3683. || soap_body_begin_out(soap)
  3684. || tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
  3685. || soap_body_end_out(soap)
  3686. || soap_envelope_end_out(soap)
  3687. || soap_end_send(soap))
  3688. return soap->error;
  3689. return soap_closesock(soap);
  3690. }
  3691. static int serve___tds__DeleteDot1XConfiguration(DeviceBindingService *soap)
  3692. { struct __tds__DeleteDot1XConfiguration soap_tmp___tds__DeleteDot1XConfiguration;
  3693. _tds__DeleteDot1XConfigurationResponse tds__DeleteDot1XConfigurationResponse;
  3694. tds__DeleteDot1XConfigurationResponse.soap_default(soap);
  3695. soap_default___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration);
  3696. if (!soap_get___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration, "-tds:DeleteDot1XConfiguration", NULL))
  3697. return soap->error;
  3698. if (soap_body_end_in(soap)
  3699. || soap_envelope_end_in(soap)
  3700. || soap_end_recv(soap))
  3701. return soap->error;
  3702. soap->error = soap->DeleteDot1XConfiguration(soap_tmp___tds__DeleteDot1XConfiguration.tds__DeleteDot1XConfiguration, &tds__DeleteDot1XConfigurationResponse);
  3703. if (soap->error)
  3704. return soap->error;
  3705. soap->encodingStyle = NULL;
  3706. soap_serializeheader(soap);
  3707. tds__DeleteDot1XConfigurationResponse.soap_serialize(soap);
  3708. if (soap_begin_count(soap))
  3709. return soap->error;
  3710. if (soap->mode & SOAP_IO_LENGTH)
  3711. { if (soap_envelope_begin_out(soap)
  3712. || soap_putheader(soap)
  3713. || soap_body_begin_out(soap)
  3714. || tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
  3715. || soap_body_end_out(soap)
  3716. || soap_envelope_end_out(soap))
  3717. return soap->error;
  3718. };
  3719. if (soap_end_count(soap)
  3720. || soap_response(soap, SOAP_OK)
  3721. || soap_envelope_begin_out(soap)
  3722. || soap_putheader(soap)
  3723. || soap_body_begin_out(soap)
  3724. || tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
  3725. || soap_body_end_out(soap)
  3726. || soap_envelope_end_out(soap)
  3727. || soap_end_send(soap))
  3728. return soap->error;
  3729. return soap_closesock(soap);
  3730. }
  3731. static int serve___tds__GetDot11Capabilities(DeviceBindingService *soap)
  3732. { struct __tds__GetDot11Capabilities soap_tmp___tds__GetDot11Capabilities;
  3733. _tds__GetDot11CapabilitiesResponse tds__GetDot11CapabilitiesResponse;
  3734. tds__GetDot11CapabilitiesResponse.soap_default(soap);
  3735. soap_default___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities);
  3736. if (!soap_get___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities, "-tds:GetDot11Capabilities", NULL))
  3737. return soap->error;
  3738. if (soap_body_end_in(soap)
  3739. || soap_envelope_end_in(soap)
  3740. || soap_end_recv(soap))
  3741. return soap->error;
  3742. soap->error = soap->GetDot11Capabilities(soap_tmp___tds__GetDot11Capabilities.tds__GetDot11Capabilities, &tds__GetDot11CapabilitiesResponse);
  3743. if (soap->error)
  3744. return soap->error;
  3745. soap->encodingStyle = NULL;
  3746. soap_serializeheader(soap);
  3747. tds__GetDot11CapabilitiesResponse.soap_serialize(soap);
  3748. if (soap_begin_count(soap))
  3749. return soap->error;
  3750. if (soap->mode & SOAP_IO_LENGTH)
  3751. { if (soap_envelope_begin_out(soap)
  3752. || soap_putheader(soap)
  3753. || soap_body_begin_out(soap)
  3754. || tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
  3755. || soap_body_end_out(soap)
  3756. || soap_envelope_end_out(soap))
  3757. return soap->error;
  3758. };
  3759. if (soap_end_count(soap)
  3760. || soap_response(soap, SOAP_OK)
  3761. || soap_envelope_begin_out(soap)
  3762. || soap_putheader(soap)
  3763. || soap_body_begin_out(soap)
  3764. || tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
  3765. || soap_body_end_out(soap)
  3766. || soap_envelope_end_out(soap)
  3767. || soap_end_send(soap))
  3768. return soap->error;
  3769. return soap_closesock(soap);
  3770. }
  3771. static int serve___tds__GetDot11Status(DeviceBindingService *soap)
  3772. { struct __tds__GetDot11Status soap_tmp___tds__GetDot11Status;
  3773. _tds__GetDot11StatusResponse tds__GetDot11StatusResponse;
  3774. tds__GetDot11StatusResponse.soap_default(soap);
  3775. soap_default___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status);
  3776. if (!soap_get___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status, "-tds:GetDot11Status", NULL))
  3777. return soap->error;
  3778. if (soap_body_end_in(soap)
  3779. || soap_envelope_end_in(soap)
  3780. || soap_end_recv(soap))
  3781. return soap->error;
  3782. soap->error = soap->GetDot11Status(soap_tmp___tds__GetDot11Status.tds__GetDot11Status, &tds__GetDot11StatusResponse);
  3783. if (soap->error)
  3784. return soap->error;
  3785. soap->encodingStyle = NULL;
  3786. soap_serializeheader(soap);
  3787. tds__GetDot11StatusResponse.soap_serialize(soap);
  3788. if (soap_begin_count(soap))
  3789. return soap->error;
  3790. if (soap->mode & SOAP_IO_LENGTH)
  3791. { if (soap_envelope_begin_out(soap)
  3792. || soap_putheader(soap)
  3793. || soap_body_begin_out(soap)
  3794. || tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
  3795. || soap_body_end_out(soap)
  3796. || soap_envelope_end_out(soap))
  3797. return soap->error;
  3798. };
  3799. if (soap_end_count(soap)
  3800. || soap_response(soap, SOAP_OK)
  3801. || soap_envelope_begin_out(soap)
  3802. || soap_putheader(soap)
  3803. || soap_body_begin_out(soap)
  3804. || tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
  3805. || soap_body_end_out(soap)
  3806. || soap_envelope_end_out(soap)
  3807. || soap_end_send(soap))
  3808. return soap->error;
  3809. return soap_closesock(soap);
  3810. }
  3811. static int serve___tds__ScanAvailableDot11Networks(DeviceBindingService *soap)
  3812. { struct __tds__ScanAvailableDot11Networks soap_tmp___tds__ScanAvailableDot11Networks;
  3813. _tds__ScanAvailableDot11NetworksResponse tds__ScanAvailableDot11NetworksResponse;
  3814. tds__ScanAvailableDot11NetworksResponse.soap_default(soap);
  3815. soap_default___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks);
  3816. if (!soap_get___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks, "-tds:ScanAvailableDot11Networks", NULL))
  3817. return soap->error;
  3818. if (soap_body_end_in(soap)
  3819. || soap_envelope_end_in(soap)
  3820. || soap_end_recv(soap))
  3821. return soap->error;
  3822. soap->error = soap->ScanAvailableDot11Networks(soap_tmp___tds__ScanAvailableDot11Networks.tds__ScanAvailableDot11Networks, &tds__ScanAvailableDot11NetworksResponse);
  3823. if (soap->error)
  3824. return soap->error;
  3825. soap->encodingStyle = NULL;
  3826. soap_serializeheader(soap);
  3827. tds__ScanAvailableDot11NetworksResponse.soap_serialize(soap);
  3828. if (soap_begin_count(soap))
  3829. return soap->error;
  3830. if (soap->mode & SOAP_IO_LENGTH)
  3831. { if (soap_envelope_begin_out(soap)
  3832. || soap_putheader(soap)
  3833. || soap_body_begin_out(soap)
  3834. || tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
  3835. || soap_body_end_out(soap)
  3836. || soap_envelope_end_out(soap))
  3837. return soap->error;
  3838. };
  3839. if (soap_end_count(soap)
  3840. || soap_response(soap, SOAP_OK)
  3841. || soap_envelope_begin_out(soap)
  3842. || soap_putheader(soap)
  3843. || soap_body_begin_out(soap)
  3844. || tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
  3845. || soap_body_end_out(soap)
  3846. || soap_envelope_end_out(soap)
  3847. || soap_end_send(soap))
  3848. return soap->error;
  3849. return soap_closesock(soap);
  3850. }
  3851. static int serve___tds__GetSystemUris(DeviceBindingService *soap)
  3852. { struct __tds__GetSystemUris soap_tmp___tds__GetSystemUris;
  3853. _tds__GetSystemUrisResponse tds__GetSystemUrisResponse;
  3854. tds__GetSystemUrisResponse.soap_default(soap);
  3855. soap_default___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris);
  3856. if (!soap_get___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris, "-tds:GetSystemUris", NULL))
  3857. return soap->error;
  3858. if (soap_body_end_in(soap)
  3859. || soap_envelope_end_in(soap)
  3860. || soap_end_recv(soap))
  3861. return soap->error;
  3862. soap->error = soap->GetSystemUris(soap_tmp___tds__GetSystemUris.tds__GetSystemUris, &tds__GetSystemUrisResponse);
  3863. if (soap->error)
  3864. return soap->error;
  3865. soap->encodingStyle = NULL;
  3866. soap_serializeheader(soap);
  3867. tds__GetSystemUrisResponse.soap_serialize(soap);
  3868. if (soap_begin_count(soap))
  3869. return soap->error;
  3870. if (soap->mode & SOAP_IO_LENGTH)
  3871. { if (soap_envelope_begin_out(soap)
  3872. || soap_putheader(soap)
  3873. || soap_body_begin_out(soap)
  3874. || tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
  3875. || soap_body_end_out(soap)
  3876. || soap_envelope_end_out(soap))
  3877. return soap->error;
  3878. };
  3879. if (soap_end_count(soap)
  3880. || soap_response(soap, SOAP_OK)
  3881. || soap_envelope_begin_out(soap)
  3882. || soap_putheader(soap)
  3883. || soap_body_begin_out(soap)
  3884. || tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
  3885. || soap_body_end_out(soap)
  3886. || soap_envelope_end_out(soap)
  3887. || soap_end_send(soap))
  3888. return soap->error;
  3889. return soap_closesock(soap);
  3890. }
  3891. static int serve___tds__StartFirmwareUpgrade(DeviceBindingService *soap)
  3892. { struct __tds__StartFirmwareUpgrade soap_tmp___tds__StartFirmwareUpgrade;
  3893. _tds__StartFirmwareUpgradeResponse tds__StartFirmwareUpgradeResponse;
  3894. tds__StartFirmwareUpgradeResponse.soap_default(soap);
  3895. soap_default___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade);
  3896. if (!soap_get___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade, "-tds:StartFirmwareUpgrade", NULL))
  3897. return soap->error;
  3898. if (soap_body_end_in(soap)
  3899. || soap_envelope_end_in(soap)
  3900. || soap_end_recv(soap))
  3901. return soap->error;
  3902. soap->error = soap->StartFirmwareUpgrade(soap_tmp___tds__StartFirmwareUpgrade.tds__StartFirmwareUpgrade, &tds__StartFirmwareUpgradeResponse);
  3903. if (soap->error)
  3904. return soap->error;
  3905. soap->encodingStyle = NULL;
  3906. soap_serializeheader(soap);
  3907. tds__StartFirmwareUpgradeResponse.soap_serialize(soap);
  3908. if (soap_begin_count(soap))
  3909. return soap->error;
  3910. if (soap->mode & SOAP_IO_LENGTH)
  3911. { if (soap_envelope_begin_out(soap)
  3912. || soap_putheader(soap)
  3913. || soap_body_begin_out(soap)
  3914. || tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
  3915. || soap_body_end_out(soap)
  3916. || soap_envelope_end_out(soap))
  3917. return soap->error;
  3918. };
  3919. if (soap_end_count(soap)
  3920. || soap_response(soap, SOAP_OK)
  3921. || soap_envelope_begin_out(soap)
  3922. || soap_putheader(soap)
  3923. || soap_body_begin_out(soap)
  3924. || tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
  3925. || soap_body_end_out(soap)
  3926. || soap_envelope_end_out(soap)
  3927. || soap_end_send(soap))
  3928. return soap->error;
  3929. return soap_closesock(soap);
  3930. }
  3931. static int serve___tds__StartSystemRestore(DeviceBindingService *soap)
  3932. { struct __tds__StartSystemRestore soap_tmp___tds__StartSystemRestore;
  3933. _tds__StartSystemRestoreResponse tds__StartSystemRestoreResponse;
  3934. tds__StartSystemRestoreResponse.soap_default(soap);
  3935. soap_default___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore);
  3936. if (!soap_get___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore, "-tds:StartSystemRestore", NULL))
  3937. return soap->error;
  3938. if (soap_body_end_in(soap)
  3939. || soap_envelope_end_in(soap)
  3940. || soap_end_recv(soap))
  3941. return soap->error;
  3942. soap->error = soap->StartSystemRestore(soap_tmp___tds__StartSystemRestore.tds__StartSystemRestore, &tds__StartSystemRestoreResponse);
  3943. if (soap->error)
  3944. return soap->error;
  3945. soap->encodingStyle = NULL;
  3946. soap_serializeheader(soap);
  3947. tds__StartSystemRestoreResponse.soap_serialize(soap);
  3948. if (soap_begin_count(soap))
  3949. return soap->error;
  3950. if (soap->mode & SOAP_IO_LENGTH)
  3951. { if (soap_envelope_begin_out(soap)
  3952. || soap_putheader(soap)
  3953. || soap_body_begin_out(soap)
  3954. || tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
  3955. || soap_body_end_out(soap)
  3956. || soap_envelope_end_out(soap))
  3957. return soap->error;
  3958. };
  3959. if (soap_end_count(soap)
  3960. || soap_response(soap, SOAP_OK)
  3961. || soap_envelope_begin_out(soap)
  3962. || soap_putheader(soap)
  3963. || soap_body_begin_out(soap)
  3964. || tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
  3965. || soap_body_end_out(soap)
  3966. || soap_envelope_end_out(soap)
  3967. || soap_end_send(soap))
  3968. return soap->error;
  3969. return soap_closesock(soap);
  3970. }
  3971. static int serve___tds__GetServices_(DeviceBindingService *soap)
  3972. { struct __tds__GetServices_ soap_tmp___tds__GetServices_;
  3973. _tds__GetServicesResponse tds__GetServicesResponse;
  3974. tds__GetServicesResponse.soap_default(soap);
  3975. soap_default___tds__GetServices_(soap, &soap_tmp___tds__GetServices_);
  3976. if (!soap_get___tds__GetServices_(soap, &soap_tmp___tds__GetServices_, "-tds:GetServices", NULL))
  3977. return soap->error;
  3978. if (soap_body_end_in(soap)
  3979. || soap_envelope_end_in(soap)
  3980. || soap_end_recv(soap))
  3981. return soap->error;
  3982. soap->error = soap->GetServices_(soap_tmp___tds__GetServices_.tds__GetServices, &tds__GetServicesResponse);
  3983. if (soap->error)
  3984. return soap->error;
  3985. soap->encodingStyle = NULL;
  3986. soap_serializeheader(soap);
  3987. tds__GetServicesResponse.soap_serialize(soap);
  3988. if (soap_begin_count(soap))
  3989. return soap->error;
  3990. if (soap->mode & SOAP_IO_LENGTH)
  3991. { if (soap_envelope_begin_out(soap)
  3992. || soap_putheader(soap)
  3993. || soap_body_begin_out(soap)
  3994. || tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
  3995. || soap_body_end_out(soap)
  3996. || soap_envelope_end_out(soap))
  3997. return soap->error;
  3998. };
  3999. if (soap_end_count(soap)
  4000. || soap_response(soap, SOAP_OK)
  4001. || soap_envelope_begin_out(soap)
  4002. || soap_putheader(soap)
  4003. || soap_body_begin_out(soap)
  4004. || tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
  4005. || soap_body_end_out(soap)
  4006. || soap_envelope_end_out(soap)
  4007. || soap_end_send(soap))
  4008. return soap->error;
  4009. return soap_closesock(soap);
  4010. }
  4011. static int serve___tds__GetServiceCapabilities_(DeviceBindingService *soap)
  4012. { struct __tds__GetServiceCapabilities_ soap_tmp___tds__GetServiceCapabilities_;
  4013. _tds__GetServiceCapabilitiesResponse tds__GetServiceCapabilitiesResponse;
  4014. tds__GetServiceCapabilitiesResponse.soap_default(soap);
  4015. soap_default___tds__GetServiceCapabilities_(soap, &soap_tmp___tds__GetServiceCapabilities_);
  4016. if (!soap_get___tds__GetServiceCapabilities_(soap, &soap_tmp___tds__GetServiceCapabilities_, "-tds:GetServiceCapabilities", NULL))
  4017. return soap->error;
  4018. if (soap_body_end_in(soap)
  4019. || soap_envelope_end_in(soap)
  4020. || soap_end_recv(soap))
  4021. return soap->error;
  4022. soap->error = soap->GetServiceCapabilities_(soap_tmp___tds__GetServiceCapabilities_.tds__GetServiceCapabilities, &tds__GetServiceCapabilitiesResponse);
  4023. if (soap->error)
  4024. return soap->error;
  4025. soap->encodingStyle = NULL;
  4026. soap_serializeheader(soap);
  4027. tds__GetServiceCapabilitiesResponse.soap_serialize(soap);
  4028. if (soap_begin_count(soap))
  4029. return soap->error;
  4030. if (soap->mode & SOAP_IO_LENGTH)
  4031. { if (soap_envelope_begin_out(soap)
  4032. || soap_putheader(soap)
  4033. || soap_body_begin_out(soap)
  4034. || tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
  4035. || soap_body_end_out(soap)
  4036. || soap_envelope_end_out(soap))
  4037. return soap->error;
  4038. };
  4039. if (soap_end_count(soap)
  4040. || soap_response(soap, SOAP_OK)
  4041. || soap_envelope_begin_out(soap)
  4042. || soap_putheader(soap)
  4043. || soap_body_begin_out(soap)
  4044. || tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
  4045. || soap_body_end_out(soap)
  4046. || soap_envelope_end_out(soap)
  4047. || soap_end_send(soap))
  4048. return soap->error;
  4049. return soap_closesock(soap);
  4050. }
  4051. static int serve___tds__GetDeviceInformation_(DeviceBindingService *soap)
  4052. { struct __tds__GetDeviceInformation_ soap_tmp___tds__GetDeviceInformation_;
  4053. _tds__GetDeviceInformationResponse tds__GetDeviceInformationResponse;
  4054. tds__GetDeviceInformationResponse.soap_default(soap);
  4055. soap_default___tds__GetDeviceInformation_(soap, &soap_tmp___tds__GetDeviceInformation_);
  4056. if (!soap_get___tds__GetDeviceInformation_(soap, &soap_tmp___tds__GetDeviceInformation_, "-tds:GetDeviceInformation", NULL))
  4057. return soap->error;
  4058. if (soap_body_end_in(soap)
  4059. || soap_envelope_end_in(soap)
  4060. || soap_end_recv(soap))
  4061. return soap->error;
  4062. soap->error = soap->GetDeviceInformation_(soap_tmp___tds__GetDeviceInformation_.tds__GetDeviceInformation, &tds__GetDeviceInformationResponse);
  4063. if (soap->error)
  4064. return soap->error;
  4065. soap->encodingStyle = NULL;
  4066. soap_serializeheader(soap);
  4067. tds__GetDeviceInformationResponse.soap_serialize(soap);
  4068. if (soap_begin_count(soap))
  4069. return soap->error;
  4070. if (soap->mode & SOAP_IO_LENGTH)
  4071. { if (soap_envelope_begin_out(soap)
  4072. || soap_putheader(soap)
  4073. || soap_body_begin_out(soap)
  4074. || tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
  4075. || soap_body_end_out(soap)
  4076. || soap_envelope_end_out(soap))
  4077. return soap->error;
  4078. };
  4079. if (soap_end_count(soap)
  4080. || soap_response(soap, SOAP_OK)
  4081. || soap_envelope_begin_out(soap)
  4082. || soap_putheader(soap)
  4083. || soap_body_begin_out(soap)
  4084. || tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
  4085. || soap_body_end_out(soap)
  4086. || soap_envelope_end_out(soap)
  4087. || soap_end_send(soap))
  4088. return soap->error;
  4089. return soap_closesock(soap);
  4090. }
  4091. static int serve___tds__SetSystemDateAndTime_(DeviceBindingService *soap)
  4092. { struct __tds__SetSystemDateAndTime_ soap_tmp___tds__SetSystemDateAndTime_;
  4093. _tds__SetSystemDateAndTimeResponse tds__SetSystemDateAndTimeResponse;
  4094. tds__SetSystemDateAndTimeResponse.soap_default(soap);
  4095. soap_default___tds__SetSystemDateAndTime_(soap, &soap_tmp___tds__SetSystemDateAndTime_);
  4096. if (!soap_get___tds__SetSystemDateAndTime_(soap, &soap_tmp___tds__SetSystemDateAndTime_, "-tds:SetSystemDateAndTime", NULL))
  4097. return soap->error;
  4098. if (soap_body_end_in(soap)
  4099. || soap_envelope_end_in(soap)
  4100. || soap_end_recv(soap))
  4101. return soap->error;
  4102. soap->error = soap->SetSystemDateAndTime_(soap_tmp___tds__SetSystemDateAndTime_.tds__SetSystemDateAndTime, &tds__SetSystemDateAndTimeResponse);
  4103. if (soap->error)
  4104. return soap->error;
  4105. soap->encodingStyle = NULL;
  4106. soap_serializeheader(soap);
  4107. tds__SetSystemDateAndTimeResponse.soap_serialize(soap);
  4108. if (soap_begin_count(soap))
  4109. return soap->error;
  4110. if (soap->mode & SOAP_IO_LENGTH)
  4111. { if (soap_envelope_begin_out(soap)
  4112. || soap_putheader(soap)
  4113. || soap_body_begin_out(soap)
  4114. || tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
  4115. || soap_body_end_out(soap)
  4116. || soap_envelope_end_out(soap))
  4117. return soap->error;
  4118. };
  4119. if (soap_end_count(soap)
  4120. || soap_response(soap, SOAP_OK)
  4121. || soap_envelope_begin_out(soap)
  4122. || soap_putheader(soap)
  4123. || soap_body_begin_out(soap)
  4124. || tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
  4125. || soap_body_end_out(soap)
  4126. || soap_envelope_end_out(soap)
  4127. || soap_end_send(soap))
  4128. return soap->error;
  4129. return soap_closesock(soap);
  4130. }
  4131. static int serve___tds__GetSystemDateAndTime_(DeviceBindingService *soap)
  4132. { struct __tds__GetSystemDateAndTime_ soap_tmp___tds__GetSystemDateAndTime_;
  4133. _tds__GetSystemDateAndTimeResponse tds__GetSystemDateAndTimeResponse;
  4134. tds__GetSystemDateAndTimeResponse.soap_default(soap);
  4135. soap_default___tds__GetSystemDateAndTime_(soap, &soap_tmp___tds__GetSystemDateAndTime_);
  4136. if (!soap_get___tds__GetSystemDateAndTime_(soap, &soap_tmp___tds__GetSystemDateAndTime_, "-tds:GetSystemDateAndTime", NULL))
  4137. return soap->error;
  4138. if (soap_body_end_in(soap)
  4139. || soap_envelope_end_in(soap)
  4140. || soap_end_recv(soap))
  4141. return soap->error;
  4142. soap->error = soap->GetSystemDateAndTime_(soap_tmp___tds__GetSystemDateAndTime_.tds__GetSystemDateAndTime, &tds__GetSystemDateAndTimeResponse);
  4143. if (soap->error)
  4144. return soap->error;
  4145. soap->encodingStyle = NULL;
  4146. soap_serializeheader(soap);
  4147. tds__GetSystemDateAndTimeResponse.soap_serialize(soap);
  4148. if (soap_begin_count(soap))
  4149. return soap->error;
  4150. if (soap->mode & SOAP_IO_LENGTH)
  4151. { if (soap_envelope_begin_out(soap)
  4152. || soap_putheader(soap)
  4153. || soap_body_begin_out(soap)
  4154. || tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
  4155. || soap_body_end_out(soap)
  4156. || soap_envelope_end_out(soap))
  4157. return soap->error;
  4158. };
  4159. if (soap_end_count(soap)
  4160. || soap_response(soap, SOAP_OK)
  4161. || soap_envelope_begin_out(soap)
  4162. || soap_putheader(soap)
  4163. || soap_body_begin_out(soap)
  4164. || tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
  4165. || soap_body_end_out(soap)
  4166. || soap_envelope_end_out(soap)
  4167. || soap_end_send(soap))
  4168. return soap->error;
  4169. return soap_closesock(soap);
  4170. }
  4171. static int serve___tds__SetSystemFactoryDefault_(DeviceBindingService *soap)
  4172. { struct __tds__SetSystemFactoryDefault_ soap_tmp___tds__SetSystemFactoryDefault_;
  4173. _tds__SetSystemFactoryDefaultResponse tds__SetSystemFactoryDefaultResponse;
  4174. tds__SetSystemFactoryDefaultResponse.soap_default(soap);
  4175. soap_default___tds__SetSystemFactoryDefault_(soap, &soap_tmp___tds__SetSystemFactoryDefault_);
  4176. if (!soap_get___tds__SetSystemFactoryDefault_(soap, &soap_tmp___tds__SetSystemFactoryDefault_, "-tds:SetSystemFactoryDefault", NULL))
  4177. return soap->error;
  4178. if (soap_body_end_in(soap)
  4179. || soap_envelope_end_in(soap)
  4180. || soap_end_recv(soap))
  4181. return soap->error;
  4182. soap->error = soap->SetSystemFactoryDefault_(soap_tmp___tds__SetSystemFactoryDefault_.tds__SetSystemFactoryDefault, &tds__SetSystemFactoryDefaultResponse);
  4183. if (soap->error)
  4184. return soap->error;
  4185. soap->encodingStyle = NULL;
  4186. soap_serializeheader(soap);
  4187. tds__SetSystemFactoryDefaultResponse.soap_serialize(soap);
  4188. if (soap_begin_count(soap))
  4189. return soap->error;
  4190. if (soap->mode & SOAP_IO_LENGTH)
  4191. { if (soap_envelope_begin_out(soap)
  4192. || soap_putheader(soap)
  4193. || soap_body_begin_out(soap)
  4194. || tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
  4195. || soap_body_end_out(soap)
  4196. || soap_envelope_end_out(soap))
  4197. return soap->error;
  4198. };
  4199. if (soap_end_count(soap)
  4200. || soap_response(soap, SOAP_OK)
  4201. || soap_envelope_begin_out(soap)
  4202. || soap_putheader(soap)
  4203. || soap_body_begin_out(soap)
  4204. || tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
  4205. || soap_body_end_out(soap)
  4206. || soap_envelope_end_out(soap)
  4207. || soap_end_send(soap))
  4208. return soap->error;
  4209. return soap_closesock(soap);
  4210. }
  4211. static int serve___tds__UpgradeSystemFirmware_(DeviceBindingService *soap)
  4212. { struct __tds__UpgradeSystemFirmware_ soap_tmp___tds__UpgradeSystemFirmware_;
  4213. _tds__UpgradeSystemFirmwareResponse tds__UpgradeSystemFirmwareResponse;
  4214. tds__UpgradeSystemFirmwareResponse.soap_default(soap);
  4215. soap_default___tds__UpgradeSystemFirmware_(soap, &soap_tmp___tds__UpgradeSystemFirmware_);
  4216. if (!soap_get___tds__UpgradeSystemFirmware_(soap, &soap_tmp___tds__UpgradeSystemFirmware_, "-tds:UpgradeSystemFirmware", NULL))
  4217. return soap->error;
  4218. if (soap_body_end_in(soap)
  4219. || soap_envelope_end_in(soap)
  4220. || soap_end_recv(soap))
  4221. return soap->error;
  4222. soap->error = soap->UpgradeSystemFirmware_(soap_tmp___tds__UpgradeSystemFirmware_.tds__UpgradeSystemFirmware, &tds__UpgradeSystemFirmwareResponse);
  4223. if (soap->error)
  4224. return soap->error;
  4225. soap->encodingStyle = NULL;
  4226. soap_serializeheader(soap);
  4227. tds__UpgradeSystemFirmwareResponse.soap_serialize(soap);
  4228. if (soap_begin_count(soap))
  4229. return soap->error;
  4230. if (soap->mode & SOAP_IO_LENGTH)
  4231. { if (soap_envelope_begin_out(soap)
  4232. || soap_putheader(soap)
  4233. || soap_body_begin_out(soap)
  4234. || tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
  4235. || soap_body_end_out(soap)
  4236. || soap_envelope_end_out(soap))
  4237. return soap->error;
  4238. };
  4239. if (soap_end_count(soap)
  4240. || soap_response(soap, SOAP_OK)
  4241. || soap_envelope_begin_out(soap)
  4242. || soap_putheader(soap)
  4243. || soap_body_begin_out(soap)
  4244. || tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
  4245. || soap_body_end_out(soap)
  4246. || soap_envelope_end_out(soap)
  4247. || soap_end_send(soap))
  4248. return soap->error;
  4249. return soap_closesock(soap);
  4250. }
  4251. static int serve___tds__SystemReboot_(DeviceBindingService *soap)
  4252. { struct __tds__SystemReboot_ soap_tmp___tds__SystemReboot_;
  4253. _tds__SystemRebootResponse tds__SystemRebootResponse;
  4254. tds__SystemRebootResponse.soap_default(soap);
  4255. soap_default___tds__SystemReboot_(soap, &soap_tmp___tds__SystemReboot_);
  4256. if (!soap_get___tds__SystemReboot_(soap, &soap_tmp___tds__SystemReboot_, "-tds:SystemReboot", NULL))
  4257. return soap->error;
  4258. if (soap_body_end_in(soap)
  4259. || soap_envelope_end_in(soap)
  4260. || soap_end_recv(soap))
  4261. return soap->error;
  4262. soap->error = soap->SystemReboot_(soap_tmp___tds__SystemReboot_.tds__SystemReboot, &tds__SystemRebootResponse);
  4263. if (soap->error)
  4264. return soap->error;
  4265. soap->encodingStyle = NULL;
  4266. soap_serializeheader(soap);
  4267. tds__SystemRebootResponse.soap_serialize(soap);
  4268. if (soap_begin_count(soap))
  4269. return soap->error;
  4270. if (soap->mode & SOAP_IO_LENGTH)
  4271. { if (soap_envelope_begin_out(soap)
  4272. || soap_putheader(soap)
  4273. || soap_body_begin_out(soap)
  4274. || tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
  4275. || soap_body_end_out(soap)
  4276. || soap_envelope_end_out(soap))
  4277. return soap->error;
  4278. };
  4279. if (soap_end_count(soap)
  4280. || soap_response(soap, SOAP_OK)
  4281. || soap_envelope_begin_out(soap)
  4282. || soap_putheader(soap)
  4283. || soap_body_begin_out(soap)
  4284. || tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
  4285. || soap_body_end_out(soap)
  4286. || soap_envelope_end_out(soap)
  4287. || soap_end_send(soap))
  4288. return soap->error;
  4289. return soap_closesock(soap);
  4290. }
  4291. static int serve___tds__RestoreSystem_(DeviceBindingService *soap)
  4292. { struct __tds__RestoreSystem_ soap_tmp___tds__RestoreSystem_;
  4293. _tds__RestoreSystemResponse tds__RestoreSystemResponse;
  4294. tds__RestoreSystemResponse.soap_default(soap);
  4295. soap_default___tds__RestoreSystem_(soap, &soap_tmp___tds__RestoreSystem_);
  4296. if (!soap_get___tds__RestoreSystem_(soap, &soap_tmp___tds__RestoreSystem_, "-tds:RestoreSystem", NULL))
  4297. return soap->error;
  4298. if (soap_body_end_in(soap)
  4299. || soap_envelope_end_in(soap)
  4300. || soap_end_recv(soap))
  4301. return soap->error;
  4302. soap->error = soap->RestoreSystem_(soap_tmp___tds__RestoreSystem_.tds__RestoreSystem, &tds__RestoreSystemResponse);
  4303. if (soap->error)
  4304. return soap->error;
  4305. soap->encodingStyle = NULL;
  4306. soap_serializeheader(soap);
  4307. tds__RestoreSystemResponse.soap_serialize(soap);
  4308. if (soap_begin_count(soap))
  4309. return soap->error;
  4310. if (soap->mode & SOAP_IO_LENGTH)
  4311. { if (soap_envelope_begin_out(soap)
  4312. || soap_putheader(soap)
  4313. || soap_body_begin_out(soap)
  4314. || tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
  4315. || soap_body_end_out(soap)
  4316. || soap_envelope_end_out(soap))
  4317. return soap->error;
  4318. };
  4319. if (soap_end_count(soap)
  4320. || soap_response(soap, SOAP_OK)
  4321. || soap_envelope_begin_out(soap)
  4322. || soap_putheader(soap)
  4323. || soap_body_begin_out(soap)
  4324. || tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
  4325. || soap_body_end_out(soap)
  4326. || soap_envelope_end_out(soap)
  4327. || soap_end_send(soap))
  4328. return soap->error;
  4329. return soap_closesock(soap);
  4330. }
  4331. static int serve___tds__GetSystemBackup_(DeviceBindingService *soap)
  4332. { struct __tds__GetSystemBackup_ soap_tmp___tds__GetSystemBackup_;
  4333. _tds__GetSystemBackupResponse tds__GetSystemBackupResponse;
  4334. tds__GetSystemBackupResponse.soap_default(soap);
  4335. soap_default___tds__GetSystemBackup_(soap, &soap_tmp___tds__GetSystemBackup_);
  4336. if (!soap_get___tds__GetSystemBackup_(soap, &soap_tmp___tds__GetSystemBackup_, "-tds:GetSystemBackup", NULL))
  4337. return soap->error;
  4338. if (soap_body_end_in(soap)
  4339. || soap_envelope_end_in(soap)
  4340. || soap_end_recv(soap))
  4341. return soap->error;
  4342. soap->error = soap->GetSystemBackup_(soap_tmp___tds__GetSystemBackup_.tds__GetSystemBackup, &tds__GetSystemBackupResponse);
  4343. if (soap->error)
  4344. return soap->error;
  4345. soap->encodingStyle = NULL;
  4346. soap_serializeheader(soap);
  4347. tds__GetSystemBackupResponse.soap_serialize(soap);
  4348. if (soap_begin_count(soap))
  4349. return soap->error;
  4350. if (soap->mode & SOAP_IO_LENGTH)
  4351. { if (soap_envelope_begin_out(soap)
  4352. || soap_putheader(soap)
  4353. || soap_body_begin_out(soap)
  4354. || tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
  4355. || soap_body_end_out(soap)
  4356. || soap_envelope_end_out(soap))
  4357. return soap->error;
  4358. };
  4359. if (soap_end_count(soap)
  4360. || soap_response(soap, SOAP_OK)
  4361. || soap_envelope_begin_out(soap)
  4362. || soap_putheader(soap)
  4363. || soap_body_begin_out(soap)
  4364. || tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
  4365. || soap_body_end_out(soap)
  4366. || soap_envelope_end_out(soap)
  4367. || soap_end_send(soap))
  4368. return soap->error;
  4369. return soap_closesock(soap);
  4370. }
  4371. static int serve___tds__GetSystemLog_(DeviceBindingService *soap)
  4372. { struct __tds__GetSystemLog_ soap_tmp___tds__GetSystemLog_;
  4373. _tds__GetSystemLogResponse tds__GetSystemLogResponse;
  4374. tds__GetSystemLogResponse.soap_default(soap);
  4375. soap_default___tds__GetSystemLog_(soap, &soap_tmp___tds__GetSystemLog_);
  4376. if (!soap_get___tds__GetSystemLog_(soap, &soap_tmp___tds__GetSystemLog_, "-tds:GetSystemLog", NULL))
  4377. return soap->error;
  4378. if (soap_body_end_in(soap)
  4379. || soap_envelope_end_in(soap)
  4380. || soap_end_recv(soap))
  4381. return soap->error;
  4382. soap->error = soap->GetSystemLog_(soap_tmp___tds__GetSystemLog_.tds__GetSystemLog, &tds__GetSystemLogResponse);
  4383. if (soap->error)
  4384. return soap->error;
  4385. soap->encodingStyle = NULL;
  4386. soap_serializeheader(soap);
  4387. tds__GetSystemLogResponse.soap_serialize(soap);
  4388. if (soap_begin_count(soap))
  4389. return soap->error;
  4390. if (soap->mode & SOAP_IO_LENGTH)
  4391. { if (soap_envelope_begin_out(soap)
  4392. || soap_putheader(soap)
  4393. || soap_body_begin_out(soap)
  4394. || tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
  4395. || soap_body_end_out(soap)
  4396. || soap_envelope_end_out(soap))
  4397. return soap->error;
  4398. };
  4399. if (soap_end_count(soap)
  4400. || soap_response(soap, SOAP_OK)
  4401. || soap_envelope_begin_out(soap)
  4402. || soap_putheader(soap)
  4403. || soap_body_begin_out(soap)
  4404. || tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
  4405. || soap_body_end_out(soap)
  4406. || soap_envelope_end_out(soap)
  4407. || soap_end_send(soap))
  4408. return soap->error;
  4409. return soap_closesock(soap);
  4410. }
  4411. static int serve___tds__GetSystemSupportInformation_(DeviceBindingService *soap)
  4412. { struct __tds__GetSystemSupportInformation_ soap_tmp___tds__GetSystemSupportInformation_;
  4413. _tds__GetSystemSupportInformationResponse tds__GetSystemSupportInformationResponse;
  4414. tds__GetSystemSupportInformationResponse.soap_default(soap);
  4415. soap_default___tds__GetSystemSupportInformation_(soap, &soap_tmp___tds__GetSystemSupportInformation_);
  4416. if (!soap_get___tds__GetSystemSupportInformation_(soap, &soap_tmp___tds__GetSystemSupportInformation_, "-tds:GetSystemSupportInformation", NULL))
  4417. return soap->error;
  4418. if (soap_body_end_in(soap)
  4419. || soap_envelope_end_in(soap)
  4420. || soap_end_recv(soap))
  4421. return soap->error;
  4422. soap->error = soap->GetSystemSupportInformation_(soap_tmp___tds__GetSystemSupportInformation_.tds__GetSystemSupportInformation, &tds__GetSystemSupportInformationResponse);
  4423. if (soap->error)
  4424. return soap->error;
  4425. soap->encodingStyle = NULL;
  4426. soap_serializeheader(soap);
  4427. tds__GetSystemSupportInformationResponse.soap_serialize(soap);
  4428. if (soap_begin_count(soap))
  4429. return soap->error;
  4430. if (soap->mode & SOAP_IO_LENGTH)
  4431. { if (soap_envelope_begin_out(soap)
  4432. || soap_putheader(soap)
  4433. || soap_body_begin_out(soap)
  4434. || tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
  4435. || soap_body_end_out(soap)
  4436. || soap_envelope_end_out(soap))
  4437. return soap->error;
  4438. };
  4439. if (soap_end_count(soap)
  4440. || soap_response(soap, SOAP_OK)
  4441. || soap_envelope_begin_out(soap)
  4442. || soap_putheader(soap)
  4443. || soap_body_begin_out(soap)
  4444. || tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
  4445. || soap_body_end_out(soap)
  4446. || soap_envelope_end_out(soap)
  4447. || soap_end_send(soap))
  4448. return soap->error;
  4449. return soap_closesock(soap);
  4450. }
  4451. static int serve___tds__GetScopes_(DeviceBindingService *soap)
  4452. { struct __tds__GetScopes_ soap_tmp___tds__GetScopes_;
  4453. _tds__GetScopesResponse tds__GetScopesResponse;
  4454. tds__GetScopesResponse.soap_default(soap);
  4455. soap_default___tds__GetScopes_(soap, &soap_tmp___tds__GetScopes_);
  4456. if (!soap_get___tds__GetScopes_(soap, &soap_tmp___tds__GetScopes_, "-tds:GetScopes", NULL))
  4457. return soap->error;
  4458. if (soap_body_end_in(soap)
  4459. || soap_envelope_end_in(soap)
  4460. || soap_end_recv(soap))
  4461. return soap->error;
  4462. soap->error = soap->GetScopes_(soap_tmp___tds__GetScopes_.tds__GetScopes, &tds__GetScopesResponse);
  4463. if (soap->error)
  4464. return soap->error;
  4465. soap->encodingStyle = NULL;
  4466. soap_serializeheader(soap);
  4467. tds__GetScopesResponse.soap_serialize(soap);
  4468. if (soap_begin_count(soap))
  4469. return soap->error;
  4470. if (soap->mode & SOAP_IO_LENGTH)
  4471. { if (soap_envelope_begin_out(soap)
  4472. || soap_putheader(soap)
  4473. || soap_body_begin_out(soap)
  4474. || tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
  4475. || soap_body_end_out(soap)
  4476. || soap_envelope_end_out(soap))
  4477. return soap->error;
  4478. };
  4479. if (soap_end_count(soap)
  4480. || soap_response(soap, SOAP_OK)
  4481. || soap_envelope_begin_out(soap)
  4482. || soap_putheader(soap)
  4483. || soap_body_begin_out(soap)
  4484. || tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
  4485. || soap_body_end_out(soap)
  4486. || soap_envelope_end_out(soap)
  4487. || soap_end_send(soap))
  4488. return soap->error;
  4489. return soap_closesock(soap);
  4490. }
  4491. static int serve___tds__SetScopes_(DeviceBindingService *soap)
  4492. { struct __tds__SetScopes_ soap_tmp___tds__SetScopes_;
  4493. _tds__SetScopesResponse tds__SetScopesResponse;
  4494. tds__SetScopesResponse.soap_default(soap);
  4495. soap_default___tds__SetScopes_(soap, &soap_tmp___tds__SetScopes_);
  4496. if (!soap_get___tds__SetScopes_(soap, &soap_tmp___tds__SetScopes_, "-tds:SetScopes", NULL))
  4497. return soap->error;
  4498. if (soap_body_end_in(soap)
  4499. || soap_envelope_end_in(soap)
  4500. || soap_end_recv(soap))
  4501. return soap->error;
  4502. soap->error = soap->SetScopes_(soap_tmp___tds__SetScopes_.tds__SetScopes, &tds__SetScopesResponse);
  4503. if (soap->error)
  4504. return soap->error;
  4505. soap->encodingStyle = NULL;
  4506. soap_serializeheader(soap);
  4507. tds__SetScopesResponse.soap_serialize(soap);
  4508. if (soap_begin_count(soap))
  4509. return soap->error;
  4510. if (soap->mode & SOAP_IO_LENGTH)
  4511. { if (soap_envelope_begin_out(soap)
  4512. || soap_putheader(soap)
  4513. || soap_body_begin_out(soap)
  4514. || tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
  4515. || soap_body_end_out(soap)
  4516. || soap_envelope_end_out(soap))
  4517. return soap->error;
  4518. };
  4519. if (soap_end_count(soap)
  4520. || soap_response(soap, SOAP_OK)
  4521. || soap_envelope_begin_out(soap)
  4522. || soap_putheader(soap)
  4523. || soap_body_begin_out(soap)
  4524. || tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
  4525. || soap_body_end_out(soap)
  4526. || soap_envelope_end_out(soap)
  4527. || soap_end_send(soap))
  4528. return soap->error;
  4529. return soap_closesock(soap);
  4530. }
  4531. static int serve___tds__AddScopes_(DeviceBindingService *soap)
  4532. { struct __tds__AddScopes_ soap_tmp___tds__AddScopes_;
  4533. _tds__AddScopesResponse tds__AddScopesResponse;
  4534. tds__AddScopesResponse.soap_default(soap);
  4535. soap_default___tds__AddScopes_(soap, &soap_tmp___tds__AddScopes_);
  4536. if (!soap_get___tds__AddScopes_(soap, &soap_tmp___tds__AddScopes_, "-tds:AddScopes", NULL))
  4537. return soap->error;
  4538. if (soap_body_end_in(soap)
  4539. || soap_envelope_end_in(soap)
  4540. || soap_end_recv(soap))
  4541. return soap->error;
  4542. soap->error = soap->AddScopes_(soap_tmp___tds__AddScopes_.tds__AddScopes, &tds__AddScopesResponse);
  4543. if (soap->error)
  4544. return soap->error;
  4545. soap->encodingStyle = NULL;
  4546. soap_serializeheader(soap);
  4547. tds__AddScopesResponse.soap_serialize(soap);
  4548. if (soap_begin_count(soap))
  4549. return soap->error;
  4550. if (soap->mode & SOAP_IO_LENGTH)
  4551. { if (soap_envelope_begin_out(soap)
  4552. || soap_putheader(soap)
  4553. || soap_body_begin_out(soap)
  4554. || tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
  4555. || soap_body_end_out(soap)
  4556. || soap_envelope_end_out(soap))
  4557. return soap->error;
  4558. };
  4559. if (soap_end_count(soap)
  4560. || soap_response(soap, SOAP_OK)
  4561. || soap_envelope_begin_out(soap)
  4562. || soap_putheader(soap)
  4563. || soap_body_begin_out(soap)
  4564. || tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
  4565. || soap_body_end_out(soap)
  4566. || soap_envelope_end_out(soap)
  4567. || soap_end_send(soap))
  4568. return soap->error;
  4569. return soap_closesock(soap);
  4570. }
  4571. static int serve___tds__RemoveScopes_(DeviceBindingService *soap)
  4572. { struct __tds__RemoveScopes_ soap_tmp___tds__RemoveScopes_;
  4573. _tds__RemoveScopesResponse tds__RemoveScopesResponse;
  4574. tds__RemoveScopesResponse.soap_default(soap);
  4575. soap_default___tds__RemoveScopes_(soap, &soap_tmp___tds__RemoveScopes_);
  4576. if (!soap_get___tds__RemoveScopes_(soap, &soap_tmp___tds__RemoveScopes_, "-tds:RemoveScopes", NULL))
  4577. return soap->error;
  4578. if (soap_body_end_in(soap)
  4579. || soap_envelope_end_in(soap)
  4580. || soap_end_recv(soap))
  4581. return soap->error;
  4582. soap->error = soap->RemoveScopes_(soap_tmp___tds__RemoveScopes_.tds__RemoveScopes, &tds__RemoveScopesResponse);
  4583. if (soap->error)
  4584. return soap->error;
  4585. soap->encodingStyle = NULL;
  4586. soap_serializeheader(soap);
  4587. tds__RemoveScopesResponse.soap_serialize(soap);
  4588. if (soap_begin_count(soap))
  4589. return soap->error;
  4590. if (soap->mode & SOAP_IO_LENGTH)
  4591. { if (soap_envelope_begin_out(soap)
  4592. || soap_putheader(soap)
  4593. || soap_body_begin_out(soap)
  4594. || tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
  4595. || soap_body_end_out(soap)
  4596. || soap_envelope_end_out(soap))
  4597. return soap->error;
  4598. };
  4599. if (soap_end_count(soap)
  4600. || soap_response(soap, SOAP_OK)
  4601. || soap_envelope_begin_out(soap)
  4602. || soap_putheader(soap)
  4603. || soap_body_begin_out(soap)
  4604. || tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
  4605. || soap_body_end_out(soap)
  4606. || soap_envelope_end_out(soap)
  4607. || soap_end_send(soap))
  4608. return soap->error;
  4609. return soap_closesock(soap);
  4610. }
  4611. static int serve___tds__GetDiscoveryMode_(DeviceBindingService *soap)
  4612. { struct __tds__GetDiscoveryMode_ soap_tmp___tds__GetDiscoveryMode_;
  4613. _tds__GetDiscoveryModeResponse tds__GetDiscoveryModeResponse;
  4614. tds__GetDiscoveryModeResponse.soap_default(soap);
  4615. soap_default___tds__GetDiscoveryMode_(soap, &soap_tmp___tds__GetDiscoveryMode_);
  4616. if (!soap_get___tds__GetDiscoveryMode_(soap, &soap_tmp___tds__GetDiscoveryMode_, "-tds:GetDiscoveryMode", NULL))
  4617. return soap->error;
  4618. if (soap_body_end_in(soap)
  4619. || soap_envelope_end_in(soap)
  4620. || soap_end_recv(soap))
  4621. return soap->error;
  4622. soap->error = soap->GetDiscoveryMode_(soap_tmp___tds__GetDiscoveryMode_.tds__GetDiscoveryMode, &tds__GetDiscoveryModeResponse);
  4623. if (soap->error)
  4624. return soap->error;
  4625. soap->encodingStyle = NULL;
  4626. soap_serializeheader(soap);
  4627. tds__GetDiscoveryModeResponse.soap_serialize(soap);
  4628. if (soap_begin_count(soap))
  4629. return soap->error;
  4630. if (soap->mode & SOAP_IO_LENGTH)
  4631. { if (soap_envelope_begin_out(soap)
  4632. || soap_putheader(soap)
  4633. || soap_body_begin_out(soap)
  4634. || tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
  4635. || soap_body_end_out(soap)
  4636. || soap_envelope_end_out(soap))
  4637. return soap->error;
  4638. };
  4639. if (soap_end_count(soap)
  4640. || soap_response(soap, SOAP_OK)
  4641. || soap_envelope_begin_out(soap)
  4642. || soap_putheader(soap)
  4643. || soap_body_begin_out(soap)
  4644. || tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
  4645. || soap_body_end_out(soap)
  4646. || soap_envelope_end_out(soap)
  4647. || soap_end_send(soap))
  4648. return soap->error;
  4649. return soap_closesock(soap);
  4650. }
  4651. static int serve___tds__SetDiscoveryMode_(DeviceBindingService *soap)
  4652. { struct __tds__SetDiscoveryMode_ soap_tmp___tds__SetDiscoveryMode_;
  4653. _tds__SetDiscoveryModeResponse tds__SetDiscoveryModeResponse;
  4654. tds__SetDiscoveryModeResponse.soap_default(soap);
  4655. soap_default___tds__SetDiscoveryMode_(soap, &soap_tmp___tds__SetDiscoveryMode_);
  4656. if (!soap_get___tds__SetDiscoveryMode_(soap, &soap_tmp___tds__SetDiscoveryMode_, "-tds:SetDiscoveryMode", NULL))
  4657. return soap->error;
  4658. if (soap_body_end_in(soap)
  4659. || soap_envelope_end_in(soap)
  4660. || soap_end_recv(soap))
  4661. return soap->error;
  4662. soap->error = soap->SetDiscoveryMode_(soap_tmp___tds__SetDiscoveryMode_.tds__SetDiscoveryMode, &tds__SetDiscoveryModeResponse);
  4663. if (soap->error)
  4664. return soap->error;
  4665. soap->encodingStyle = NULL;
  4666. soap_serializeheader(soap);
  4667. tds__SetDiscoveryModeResponse.soap_serialize(soap);
  4668. if (soap_begin_count(soap))
  4669. return soap->error;
  4670. if (soap->mode & SOAP_IO_LENGTH)
  4671. { if (soap_envelope_begin_out(soap)
  4672. || soap_putheader(soap)
  4673. || soap_body_begin_out(soap)
  4674. || tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
  4675. || soap_body_end_out(soap)
  4676. || soap_envelope_end_out(soap))
  4677. return soap->error;
  4678. };
  4679. if (soap_end_count(soap)
  4680. || soap_response(soap, SOAP_OK)
  4681. || soap_envelope_begin_out(soap)
  4682. || soap_putheader(soap)
  4683. || soap_body_begin_out(soap)
  4684. || tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
  4685. || soap_body_end_out(soap)
  4686. || soap_envelope_end_out(soap)
  4687. || soap_end_send(soap))
  4688. return soap->error;
  4689. return soap_closesock(soap);
  4690. }
  4691. static int serve___tds__GetRemoteDiscoveryMode_(DeviceBindingService *soap)
  4692. { struct __tds__GetRemoteDiscoveryMode_ soap_tmp___tds__GetRemoteDiscoveryMode_;
  4693. _tds__GetRemoteDiscoveryModeResponse tds__GetRemoteDiscoveryModeResponse;
  4694. tds__GetRemoteDiscoveryModeResponse.soap_default(soap);
  4695. soap_default___tds__GetRemoteDiscoveryMode_(soap, &soap_tmp___tds__GetRemoteDiscoveryMode_);
  4696. if (!soap_get___tds__GetRemoteDiscoveryMode_(soap, &soap_tmp___tds__GetRemoteDiscoveryMode_, "-tds:GetRemoteDiscoveryMode", NULL))
  4697. return soap->error;
  4698. if (soap_body_end_in(soap)
  4699. || soap_envelope_end_in(soap)
  4700. || soap_end_recv(soap))
  4701. return soap->error;
  4702. soap->error = soap->GetRemoteDiscoveryMode_(soap_tmp___tds__GetRemoteDiscoveryMode_.tds__GetRemoteDiscoveryMode, &tds__GetRemoteDiscoveryModeResponse);
  4703. if (soap->error)
  4704. return soap->error;
  4705. soap->encodingStyle = NULL;
  4706. soap_serializeheader(soap);
  4707. tds__GetRemoteDiscoveryModeResponse.soap_serialize(soap);
  4708. if (soap_begin_count(soap))
  4709. return soap->error;
  4710. if (soap->mode & SOAP_IO_LENGTH)
  4711. { if (soap_envelope_begin_out(soap)
  4712. || soap_putheader(soap)
  4713. || soap_body_begin_out(soap)
  4714. || tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
  4715. || soap_body_end_out(soap)
  4716. || soap_envelope_end_out(soap))
  4717. return soap->error;
  4718. };
  4719. if (soap_end_count(soap)
  4720. || soap_response(soap, SOAP_OK)
  4721. || soap_envelope_begin_out(soap)
  4722. || soap_putheader(soap)
  4723. || soap_body_begin_out(soap)
  4724. || tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
  4725. || soap_body_end_out(soap)
  4726. || soap_envelope_end_out(soap)
  4727. || soap_end_send(soap))
  4728. return soap->error;
  4729. return soap_closesock(soap);
  4730. }
  4731. static int serve___tds__SetRemoteDiscoveryMode_(DeviceBindingService *soap)
  4732. { struct __tds__SetRemoteDiscoveryMode_ soap_tmp___tds__SetRemoteDiscoveryMode_;
  4733. _tds__SetRemoteDiscoveryModeResponse tds__SetRemoteDiscoveryModeResponse;
  4734. tds__SetRemoteDiscoveryModeResponse.soap_default(soap);
  4735. soap_default___tds__SetRemoteDiscoveryMode_(soap, &soap_tmp___tds__SetRemoteDiscoveryMode_);
  4736. if (!soap_get___tds__SetRemoteDiscoveryMode_(soap, &soap_tmp___tds__SetRemoteDiscoveryMode_, "-tds:SetRemoteDiscoveryMode", NULL))
  4737. return soap->error;
  4738. if (soap_body_end_in(soap)
  4739. || soap_envelope_end_in(soap)
  4740. || soap_end_recv(soap))
  4741. return soap->error;
  4742. soap->error = soap->SetRemoteDiscoveryMode_(soap_tmp___tds__SetRemoteDiscoveryMode_.tds__SetRemoteDiscoveryMode, &tds__SetRemoteDiscoveryModeResponse);
  4743. if (soap->error)
  4744. return soap->error;
  4745. soap->encodingStyle = NULL;
  4746. soap_serializeheader(soap);
  4747. tds__SetRemoteDiscoveryModeResponse.soap_serialize(soap);
  4748. if (soap_begin_count(soap))
  4749. return soap->error;
  4750. if (soap->mode & SOAP_IO_LENGTH)
  4751. { if (soap_envelope_begin_out(soap)
  4752. || soap_putheader(soap)
  4753. || soap_body_begin_out(soap)
  4754. || tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
  4755. || soap_body_end_out(soap)
  4756. || soap_envelope_end_out(soap))
  4757. return soap->error;
  4758. };
  4759. if (soap_end_count(soap)
  4760. || soap_response(soap, SOAP_OK)
  4761. || soap_envelope_begin_out(soap)
  4762. || soap_putheader(soap)
  4763. || soap_body_begin_out(soap)
  4764. || tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
  4765. || soap_body_end_out(soap)
  4766. || soap_envelope_end_out(soap)
  4767. || soap_end_send(soap))
  4768. return soap->error;
  4769. return soap_closesock(soap);
  4770. }
  4771. static int serve___tds__GetDPAddresses_(DeviceBindingService *soap)
  4772. { struct __tds__GetDPAddresses_ soap_tmp___tds__GetDPAddresses_;
  4773. _tds__GetDPAddressesResponse tds__GetDPAddressesResponse;
  4774. tds__GetDPAddressesResponse.soap_default(soap);
  4775. soap_default___tds__GetDPAddresses_(soap, &soap_tmp___tds__GetDPAddresses_);
  4776. if (!soap_get___tds__GetDPAddresses_(soap, &soap_tmp___tds__GetDPAddresses_, "-tds:GetDPAddresses", NULL))
  4777. return soap->error;
  4778. if (soap_body_end_in(soap)
  4779. || soap_envelope_end_in(soap)
  4780. || soap_end_recv(soap))
  4781. return soap->error;
  4782. soap->error = soap->GetDPAddresses_(soap_tmp___tds__GetDPAddresses_.tds__GetDPAddresses, &tds__GetDPAddressesResponse);
  4783. if (soap->error)
  4784. return soap->error;
  4785. soap->encodingStyle = NULL;
  4786. soap_serializeheader(soap);
  4787. tds__GetDPAddressesResponse.soap_serialize(soap);
  4788. if (soap_begin_count(soap))
  4789. return soap->error;
  4790. if (soap->mode & SOAP_IO_LENGTH)
  4791. { if (soap_envelope_begin_out(soap)
  4792. || soap_putheader(soap)
  4793. || soap_body_begin_out(soap)
  4794. || tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
  4795. || soap_body_end_out(soap)
  4796. || soap_envelope_end_out(soap))
  4797. return soap->error;
  4798. };
  4799. if (soap_end_count(soap)
  4800. || soap_response(soap, SOAP_OK)
  4801. || soap_envelope_begin_out(soap)
  4802. || soap_putheader(soap)
  4803. || soap_body_begin_out(soap)
  4804. || tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
  4805. || soap_body_end_out(soap)
  4806. || soap_envelope_end_out(soap)
  4807. || soap_end_send(soap))
  4808. return soap->error;
  4809. return soap_closesock(soap);
  4810. }
  4811. static int serve___tds__GetEndpointReference_(DeviceBindingService *soap)
  4812. { struct __tds__GetEndpointReference_ soap_tmp___tds__GetEndpointReference_;
  4813. _tds__GetEndpointReferenceResponse tds__GetEndpointReferenceResponse;
  4814. tds__GetEndpointReferenceResponse.soap_default(soap);
  4815. soap_default___tds__GetEndpointReference_(soap, &soap_tmp___tds__GetEndpointReference_);
  4816. if (!soap_get___tds__GetEndpointReference_(soap, &soap_tmp___tds__GetEndpointReference_, "-tds:GetEndpointReference", NULL))
  4817. return soap->error;
  4818. if (soap_body_end_in(soap)
  4819. || soap_envelope_end_in(soap)
  4820. || soap_end_recv(soap))
  4821. return soap->error;
  4822. soap->error = soap->GetEndpointReference_(soap_tmp___tds__GetEndpointReference_.tds__GetEndpointReference, &tds__GetEndpointReferenceResponse);
  4823. if (soap->error)
  4824. return soap->error;
  4825. soap->encodingStyle = NULL;
  4826. soap_serializeheader(soap);
  4827. tds__GetEndpointReferenceResponse.soap_serialize(soap);
  4828. if (soap_begin_count(soap))
  4829. return soap->error;
  4830. if (soap->mode & SOAP_IO_LENGTH)
  4831. { if (soap_envelope_begin_out(soap)
  4832. || soap_putheader(soap)
  4833. || soap_body_begin_out(soap)
  4834. || tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
  4835. || soap_body_end_out(soap)
  4836. || soap_envelope_end_out(soap))
  4837. return soap->error;
  4838. };
  4839. if (soap_end_count(soap)
  4840. || soap_response(soap, SOAP_OK)
  4841. || soap_envelope_begin_out(soap)
  4842. || soap_putheader(soap)
  4843. || soap_body_begin_out(soap)
  4844. || tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
  4845. || soap_body_end_out(soap)
  4846. || soap_envelope_end_out(soap)
  4847. || soap_end_send(soap))
  4848. return soap->error;
  4849. return soap_closesock(soap);
  4850. }
  4851. static int serve___tds__GetRemoteUser_(DeviceBindingService *soap)
  4852. { struct __tds__GetRemoteUser_ soap_tmp___tds__GetRemoteUser_;
  4853. _tds__GetRemoteUserResponse tds__GetRemoteUserResponse;
  4854. tds__GetRemoteUserResponse.soap_default(soap);
  4855. soap_default___tds__GetRemoteUser_(soap, &soap_tmp___tds__GetRemoteUser_);
  4856. if (!soap_get___tds__GetRemoteUser_(soap, &soap_tmp___tds__GetRemoteUser_, "-tds:GetRemoteUser", NULL))
  4857. return soap->error;
  4858. if (soap_body_end_in(soap)
  4859. || soap_envelope_end_in(soap)
  4860. || soap_end_recv(soap))
  4861. return soap->error;
  4862. soap->error = soap->GetRemoteUser_(soap_tmp___tds__GetRemoteUser_.tds__GetRemoteUser, &tds__GetRemoteUserResponse);
  4863. if (soap->error)
  4864. return soap->error;
  4865. soap->encodingStyle = NULL;
  4866. soap_serializeheader(soap);
  4867. tds__GetRemoteUserResponse.soap_serialize(soap);
  4868. if (soap_begin_count(soap))
  4869. return soap->error;
  4870. if (soap->mode & SOAP_IO_LENGTH)
  4871. { if (soap_envelope_begin_out(soap)
  4872. || soap_putheader(soap)
  4873. || soap_body_begin_out(soap)
  4874. || tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
  4875. || soap_body_end_out(soap)
  4876. || soap_envelope_end_out(soap))
  4877. return soap->error;
  4878. };
  4879. if (soap_end_count(soap)
  4880. || soap_response(soap, SOAP_OK)
  4881. || soap_envelope_begin_out(soap)
  4882. || soap_putheader(soap)
  4883. || soap_body_begin_out(soap)
  4884. || tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
  4885. || soap_body_end_out(soap)
  4886. || soap_envelope_end_out(soap)
  4887. || soap_end_send(soap))
  4888. return soap->error;
  4889. return soap_closesock(soap);
  4890. }
  4891. static int serve___tds__SetRemoteUser_(DeviceBindingService *soap)
  4892. { struct __tds__SetRemoteUser_ soap_tmp___tds__SetRemoteUser_;
  4893. _tds__SetRemoteUserResponse tds__SetRemoteUserResponse;
  4894. tds__SetRemoteUserResponse.soap_default(soap);
  4895. soap_default___tds__SetRemoteUser_(soap, &soap_tmp___tds__SetRemoteUser_);
  4896. if (!soap_get___tds__SetRemoteUser_(soap, &soap_tmp___tds__SetRemoteUser_, "-tds:SetRemoteUser", NULL))
  4897. return soap->error;
  4898. if (soap_body_end_in(soap)
  4899. || soap_envelope_end_in(soap)
  4900. || soap_end_recv(soap))
  4901. return soap->error;
  4902. soap->error = soap->SetRemoteUser_(soap_tmp___tds__SetRemoteUser_.tds__SetRemoteUser, &tds__SetRemoteUserResponse);
  4903. if (soap->error)
  4904. return soap->error;
  4905. soap->encodingStyle = NULL;
  4906. soap_serializeheader(soap);
  4907. tds__SetRemoteUserResponse.soap_serialize(soap);
  4908. if (soap_begin_count(soap))
  4909. return soap->error;
  4910. if (soap->mode & SOAP_IO_LENGTH)
  4911. { if (soap_envelope_begin_out(soap)
  4912. || soap_putheader(soap)
  4913. || soap_body_begin_out(soap)
  4914. || tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
  4915. || soap_body_end_out(soap)
  4916. || soap_envelope_end_out(soap))
  4917. return soap->error;
  4918. };
  4919. if (soap_end_count(soap)
  4920. || soap_response(soap, SOAP_OK)
  4921. || soap_envelope_begin_out(soap)
  4922. || soap_putheader(soap)
  4923. || soap_body_begin_out(soap)
  4924. || tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
  4925. || soap_body_end_out(soap)
  4926. || soap_envelope_end_out(soap)
  4927. || soap_end_send(soap))
  4928. return soap->error;
  4929. return soap_closesock(soap);
  4930. }
  4931. static int serve___tds__GetUsers_(DeviceBindingService *soap)
  4932. { struct __tds__GetUsers_ soap_tmp___tds__GetUsers_;
  4933. _tds__GetUsersResponse tds__GetUsersResponse;
  4934. tds__GetUsersResponse.soap_default(soap);
  4935. soap_default___tds__GetUsers_(soap, &soap_tmp___tds__GetUsers_);
  4936. if (!soap_get___tds__GetUsers_(soap, &soap_tmp___tds__GetUsers_, "-tds:GetUsers", NULL))
  4937. return soap->error;
  4938. if (soap_body_end_in(soap)
  4939. || soap_envelope_end_in(soap)
  4940. || soap_end_recv(soap))
  4941. return soap->error;
  4942. soap->error = soap->GetUsers_(soap_tmp___tds__GetUsers_.tds__GetUsers, &tds__GetUsersResponse);
  4943. if (soap->error)
  4944. return soap->error;
  4945. soap->encodingStyle = NULL;
  4946. soap_serializeheader(soap);
  4947. tds__GetUsersResponse.soap_serialize(soap);
  4948. if (soap_begin_count(soap))
  4949. return soap->error;
  4950. if (soap->mode & SOAP_IO_LENGTH)
  4951. { if (soap_envelope_begin_out(soap)
  4952. || soap_putheader(soap)
  4953. || soap_body_begin_out(soap)
  4954. || tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
  4955. || soap_body_end_out(soap)
  4956. || soap_envelope_end_out(soap))
  4957. return soap->error;
  4958. };
  4959. if (soap_end_count(soap)
  4960. || soap_response(soap, SOAP_OK)
  4961. || soap_envelope_begin_out(soap)
  4962. || soap_putheader(soap)
  4963. || soap_body_begin_out(soap)
  4964. || tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
  4965. || soap_body_end_out(soap)
  4966. || soap_envelope_end_out(soap)
  4967. || soap_end_send(soap))
  4968. return soap->error;
  4969. return soap_closesock(soap);
  4970. }
  4971. static int serve___tds__CreateUsers_(DeviceBindingService *soap)
  4972. { struct __tds__CreateUsers_ soap_tmp___tds__CreateUsers_;
  4973. _tds__CreateUsersResponse tds__CreateUsersResponse;
  4974. tds__CreateUsersResponse.soap_default(soap);
  4975. soap_default___tds__CreateUsers_(soap, &soap_tmp___tds__CreateUsers_);
  4976. if (!soap_get___tds__CreateUsers_(soap, &soap_tmp___tds__CreateUsers_, "-tds:CreateUsers", NULL))
  4977. return soap->error;
  4978. if (soap_body_end_in(soap)
  4979. || soap_envelope_end_in(soap)
  4980. || soap_end_recv(soap))
  4981. return soap->error;
  4982. soap->error = soap->CreateUsers_(soap_tmp___tds__CreateUsers_.tds__CreateUsers, &tds__CreateUsersResponse);
  4983. if (soap->error)
  4984. return soap->error;
  4985. soap->encodingStyle = NULL;
  4986. soap_serializeheader(soap);
  4987. tds__CreateUsersResponse.soap_serialize(soap);
  4988. if (soap_begin_count(soap))
  4989. return soap->error;
  4990. if (soap->mode & SOAP_IO_LENGTH)
  4991. { if (soap_envelope_begin_out(soap)
  4992. || soap_putheader(soap)
  4993. || soap_body_begin_out(soap)
  4994. || tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
  4995. || soap_body_end_out(soap)
  4996. || soap_envelope_end_out(soap))
  4997. return soap->error;
  4998. };
  4999. if (soap_end_count(soap)
  5000. || soap_response(soap, SOAP_OK)
  5001. || soap_envelope_begin_out(soap)
  5002. || soap_putheader(soap)
  5003. || soap_body_begin_out(soap)
  5004. || tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
  5005. || soap_body_end_out(soap)
  5006. || soap_envelope_end_out(soap)
  5007. || soap_end_send(soap))
  5008. return soap->error;
  5009. return soap_closesock(soap);
  5010. }
  5011. static int serve___tds__DeleteUsers_(DeviceBindingService *soap)
  5012. { struct __tds__DeleteUsers_ soap_tmp___tds__DeleteUsers_;
  5013. _tds__DeleteUsersResponse tds__DeleteUsersResponse;
  5014. tds__DeleteUsersResponse.soap_default(soap);
  5015. soap_default___tds__DeleteUsers_(soap, &soap_tmp___tds__DeleteUsers_);
  5016. if (!soap_get___tds__DeleteUsers_(soap, &soap_tmp___tds__DeleteUsers_, "-tds:DeleteUsers", NULL))
  5017. return soap->error;
  5018. if (soap_body_end_in(soap)
  5019. || soap_envelope_end_in(soap)
  5020. || soap_end_recv(soap))
  5021. return soap->error;
  5022. soap->error = soap->DeleteUsers_(soap_tmp___tds__DeleteUsers_.tds__DeleteUsers, &tds__DeleteUsersResponse);
  5023. if (soap->error)
  5024. return soap->error;
  5025. soap->encodingStyle = NULL;
  5026. soap_serializeheader(soap);
  5027. tds__DeleteUsersResponse.soap_serialize(soap);
  5028. if (soap_begin_count(soap))
  5029. return soap->error;
  5030. if (soap->mode & SOAP_IO_LENGTH)
  5031. { if (soap_envelope_begin_out(soap)
  5032. || soap_putheader(soap)
  5033. || soap_body_begin_out(soap)
  5034. || tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
  5035. || soap_body_end_out(soap)
  5036. || soap_envelope_end_out(soap))
  5037. return soap->error;
  5038. };
  5039. if (soap_end_count(soap)
  5040. || soap_response(soap, SOAP_OK)
  5041. || soap_envelope_begin_out(soap)
  5042. || soap_putheader(soap)
  5043. || soap_body_begin_out(soap)
  5044. || tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
  5045. || soap_body_end_out(soap)
  5046. || soap_envelope_end_out(soap)
  5047. || soap_end_send(soap))
  5048. return soap->error;
  5049. return soap_closesock(soap);
  5050. }
  5051. static int serve___tds__SetUser_(DeviceBindingService *soap)
  5052. { struct __tds__SetUser_ soap_tmp___tds__SetUser_;
  5053. _tds__SetUserResponse tds__SetUserResponse;
  5054. tds__SetUserResponse.soap_default(soap);
  5055. soap_default___tds__SetUser_(soap, &soap_tmp___tds__SetUser_);
  5056. if (!soap_get___tds__SetUser_(soap, &soap_tmp___tds__SetUser_, "-tds:SetUser", NULL))
  5057. return soap->error;
  5058. if (soap_body_end_in(soap)
  5059. || soap_envelope_end_in(soap)
  5060. || soap_end_recv(soap))
  5061. return soap->error;
  5062. soap->error = soap->SetUser_(soap_tmp___tds__SetUser_.tds__SetUser, &tds__SetUserResponse);
  5063. if (soap->error)
  5064. return soap->error;
  5065. soap->encodingStyle = NULL;
  5066. soap_serializeheader(soap);
  5067. tds__SetUserResponse.soap_serialize(soap);
  5068. if (soap_begin_count(soap))
  5069. return soap->error;
  5070. if (soap->mode & SOAP_IO_LENGTH)
  5071. { if (soap_envelope_begin_out(soap)
  5072. || soap_putheader(soap)
  5073. || soap_body_begin_out(soap)
  5074. || tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
  5075. || soap_body_end_out(soap)
  5076. || soap_envelope_end_out(soap))
  5077. return soap->error;
  5078. };
  5079. if (soap_end_count(soap)
  5080. || soap_response(soap, SOAP_OK)
  5081. || soap_envelope_begin_out(soap)
  5082. || soap_putheader(soap)
  5083. || soap_body_begin_out(soap)
  5084. || tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
  5085. || soap_body_end_out(soap)
  5086. || soap_envelope_end_out(soap)
  5087. || soap_end_send(soap))
  5088. return soap->error;
  5089. return soap_closesock(soap);
  5090. }
  5091. static int serve___tds__GetWsdlUrl_(DeviceBindingService *soap)
  5092. { struct __tds__GetWsdlUrl_ soap_tmp___tds__GetWsdlUrl_;
  5093. _tds__GetWsdlUrlResponse tds__GetWsdlUrlResponse;
  5094. tds__GetWsdlUrlResponse.soap_default(soap);
  5095. soap_default___tds__GetWsdlUrl_(soap, &soap_tmp___tds__GetWsdlUrl_);
  5096. if (!soap_get___tds__GetWsdlUrl_(soap, &soap_tmp___tds__GetWsdlUrl_, "-tds:GetWsdlUrl", NULL))
  5097. return soap->error;
  5098. if (soap_body_end_in(soap)
  5099. || soap_envelope_end_in(soap)
  5100. || soap_end_recv(soap))
  5101. return soap->error;
  5102. soap->error = soap->GetWsdlUrl_(soap_tmp___tds__GetWsdlUrl_.tds__GetWsdlUrl, &tds__GetWsdlUrlResponse);
  5103. if (soap->error)
  5104. return soap->error;
  5105. soap->encodingStyle = NULL;
  5106. soap_serializeheader(soap);
  5107. tds__GetWsdlUrlResponse.soap_serialize(soap);
  5108. if (soap_begin_count(soap))
  5109. return soap->error;
  5110. if (soap->mode & SOAP_IO_LENGTH)
  5111. { if (soap_envelope_begin_out(soap)
  5112. || soap_putheader(soap)
  5113. || soap_body_begin_out(soap)
  5114. || tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
  5115. || soap_body_end_out(soap)
  5116. || soap_envelope_end_out(soap))
  5117. return soap->error;
  5118. };
  5119. if (soap_end_count(soap)
  5120. || soap_response(soap, SOAP_OK)
  5121. || soap_envelope_begin_out(soap)
  5122. || soap_putheader(soap)
  5123. || soap_body_begin_out(soap)
  5124. || tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
  5125. || soap_body_end_out(soap)
  5126. || soap_envelope_end_out(soap)
  5127. || soap_end_send(soap))
  5128. return soap->error;
  5129. return soap_closesock(soap);
  5130. }
  5131. static int serve___tds__GetCapabilities_(DeviceBindingService *soap)
  5132. { struct __tds__GetCapabilities_ soap_tmp___tds__GetCapabilities_;
  5133. _tds__GetCapabilitiesResponse tds__GetCapabilitiesResponse;
  5134. tds__GetCapabilitiesResponse.soap_default(soap);
  5135. soap_default___tds__GetCapabilities_(soap, &soap_tmp___tds__GetCapabilities_);
  5136. if (!soap_get___tds__GetCapabilities_(soap, &soap_tmp___tds__GetCapabilities_, "-tds:GetCapabilities", NULL))
  5137. return soap->error;
  5138. if (soap_body_end_in(soap)
  5139. || soap_envelope_end_in(soap)
  5140. || soap_end_recv(soap))
  5141. return soap->error;
  5142. soap->error = soap->GetCapabilities_(soap_tmp___tds__GetCapabilities_.tds__GetCapabilities, &tds__GetCapabilitiesResponse);
  5143. if (soap->error)
  5144. return soap->error;
  5145. soap->encodingStyle = NULL;
  5146. soap_serializeheader(soap);
  5147. tds__GetCapabilitiesResponse.soap_serialize(soap);
  5148. if (soap_begin_count(soap))
  5149. return soap->error;
  5150. if (soap->mode & SOAP_IO_LENGTH)
  5151. { if (soap_envelope_begin_out(soap)
  5152. || soap_putheader(soap)
  5153. || soap_body_begin_out(soap)
  5154. || tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
  5155. || soap_body_end_out(soap)
  5156. || soap_envelope_end_out(soap))
  5157. return soap->error;
  5158. };
  5159. if (soap_end_count(soap)
  5160. || soap_response(soap, SOAP_OK)
  5161. || soap_envelope_begin_out(soap)
  5162. || soap_putheader(soap)
  5163. || soap_body_begin_out(soap)
  5164. || tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
  5165. || soap_body_end_out(soap)
  5166. || soap_envelope_end_out(soap)
  5167. || soap_end_send(soap))
  5168. return soap->error;
  5169. return soap_closesock(soap);
  5170. }
  5171. static int serve___tds__SetDPAddresses_(DeviceBindingService *soap)
  5172. { struct __tds__SetDPAddresses_ soap_tmp___tds__SetDPAddresses_;
  5173. _tds__SetDPAddressesResponse tds__SetDPAddressesResponse;
  5174. tds__SetDPAddressesResponse.soap_default(soap);
  5175. soap_default___tds__SetDPAddresses_(soap, &soap_tmp___tds__SetDPAddresses_);
  5176. if (!soap_get___tds__SetDPAddresses_(soap, &soap_tmp___tds__SetDPAddresses_, "-tds:SetDPAddresses", NULL))
  5177. return soap->error;
  5178. if (soap_body_end_in(soap)
  5179. || soap_envelope_end_in(soap)
  5180. || soap_end_recv(soap))
  5181. return soap->error;
  5182. soap->error = soap->SetDPAddresses_(soap_tmp___tds__SetDPAddresses_.tds__SetDPAddresses, &tds__SetDPAddressesResponse);
  5183. if (soap->error)
  5184. return soap->error;
  5185. soap->encodingStyle = NULL;
  5186. soap_serializeheader(soap);
  5187. tds__SetDPAddressesResponse.soap_serialize(soap);
  5188. if (soap_begin_count(soap))
  5189. return soap->error;
  5190. if (soap->mode & SOAP_IO_LENGTH)
  5191. { if (soap_envelope_begin_out(soap)
  5192. || soap_putheader(soap)
  5193. || soap_body_begin_out(soap)
  5194. || tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
  5195. || soap_body_end_out(soap)
  5196. || soap_envelope_end_out(soap))
  5197. return soap->error;
  5198. };
  5199. if (soap_end_count(soap)
  5200. || soap_response(soap, SOAP_OK)
  5201. || soap_envelope_begin_out(soap)
  5202. || soap_putheader(soap)
  5203. || soap_body_begin_out(soap)
  5204. || tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
  5205. || soap_body_end_out(soap)
  5206. || soap_envelope_end_out(soap)
  5207. || soap_end_send(soap))
  5208. return soap->error;
  5209. return soap_closesock(soap);
  5210. }
  5211. static int serve___tds__GetHostname_(DeviceBindingService *soap)
  5212. { struct __tds__GetHostname_ soap_tmp___tds__GetHostname_;
  5213. _tds__GetHostnameResponse tds__GetHostnameResponse;
  5214. tds__GetHostnameResponse.soap_default(soap);
  5215. soap_default___tds__GetHostname_(soap, &soap_tmp___tds__GetHostname_);
  5216. if (!soap_get___tds__GetHostname_(soap, &soap_tmp___tds__GetHostname_, "-tds:GetHostname", NULL))
  5217. return soap->error;
  5218. if (soap_body_end_in(soap)
  5219. || soap_envelope_end_in(soap)
  5220. || soap_end_recv(soap))
  5221. return soap->error;
  5222. soap->error = soap->GetHostname_(soap_tmp___tds__GetHostname_.tds__GetHostname, &tds__GetHostnameResponse);
  5223. if (soap->error)
  5224. return soap->error;
  5225. soap->encodingStyle = NULL;
  5226. soap_serializeheader(soap);
  5227. tds__GetHostnameResponse.soap_serialize(soap);
  5228. if (soap_begin_count(soap))
  5229. return soap->error;
  5230. if (soap->mode & SOAP_IO_LENGTH)
  5231. { if (soap_envelope_begin_out(soap)
  5232. || soap_putheader(soap)
  5233. || soap_body_begin_out(soap)
  5234. || tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
  5235. || soap_body_end_out(soap)
  5236. || soap_envelope_end_out(soap))
  5237. return soap->error;
  5238. };
  5239. if (soap_end_count(soap)
  5240. || soap_response(soap, SOAP_OK)
  5241. || soap_envelope_begin_out(soap)
  5242. || soap_putheader(soap)
  5243. || soap_body_begin_out(soap)
  5244. || tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
  5245. || soap_body_end_out(soap)
  5246. || soap_envelope_end_out(soap)
  5247. || soap_end_send(soap))
  5248. return soap->error;
  5249. return soap_closesock(soap);
  5250. }
  5251. static int serve___tds__SetHostname_(DeviceBindingService *soap)
  5252. { struct __tds__SetHostname_ soap_tmp___tds__SetHostname_;
  5253. _tds__SetHostnameResponse tds__SetHostnameResponse;
  5254. tds__SetHostnameResponse.soap_default(soap);
  5255. soap_default___tds__SetHostname_(soap, &soap_tmp___tds__SetHostname_);
  5256. if (!soap_get___tds__SetHostname_(soap, &soap_tmp___tds__SetHostname_, "-tds:SetHostname", NULL))
  5257. return soap->error;
  5258. if (soap_body_end_in(soap)
  5259. || soap_envelope_end_in(soap)
  5260. || soap_end_recv(soap))
  5261. return soap->error;
  5262. soap->error = soap->SetHostname_(soap_tmp___tds__SetHostname_.tds__SetHostname, &tds__SetHostnameResponse);
  5263. if (soap->error)
  5264. return soap->error;
  5265. soap->encodingStyle = NULL;
  5266. soap_serializeheader(soap);
  5267. tds__SetHostnameResponse.soap_serialize(soap);
  5268. if (soap_begin_count(soap))
  5269. return soap->error;
  5270. if (soap->mode & SOAP_IO_LENGTH)
  5271. { if (soap_envelope_begin_out(soap)
  5272. || soap_putheader(soap)
  5273. || soap_body_begin_out(soap)
  5274. || tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
  5275. || soap_body_end_out(soap)
  5276. || soap_envelope_end_out(soap))
  5277. return soap->error;
  5278. };
  5279. if (soap_end_count(soap)
  5280. || soap_response(soap, SOAP_OK)
  5281. || soap_envelope_begin_out(soap)
  5282. || soap_putheader(soap)
  5283. || soap_body_begin_out(soap)
  5284. || tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
  5285. || soap_body_end_out(soap)
  5286. || soap_envelope_end_out(soap)
  5287. || soap_end_send(soap))
  5288. return soap->error;
  5289. return soap_closesock(soap);
  5290. }
  5291. static int serve___tds__SetHostnameFromDHCP_(DeviceBindingService *soap)
  5292. { struct __tds__SetHostnameFromDHCP_ soap_tmp___tds__SetHostnameFromDHCP_;
  5293. _tds__SetHostnameFromDHCPResponse tds__SetHostnameFromDHCPResponse;
  5294. tds__SetHostnameFromDHCPResponse.soap_default(soap);
  5295. soap_default___tds__SetHostnameFromDHCP_(soap, &soap_tmp___tds__SetHostnameFromDHCP_);
  5296. if (!soap_get___tds__SetHostnameFromDHCP_(soap, &soap_tmp___tds__SetHostnameFromDHCP_, "-tds:SetHostnameFromDHCP", NULL))
  5297. return soap->error;
  5298. if (soap_body_end_in(soap)
  5299. || soap_envelope_end_in(soap)
  5300. || soap_end_recv(soap))
  5301. return soap->error;
  5302. soap->error = soap->SetHostnameFromDHCP_(soap_tmp___tds__SetHostnameFromDHCP_.tds__SetHostnameFromDHCP, &tds__SetHostnameFromDHCPResponse);
  5303. if (soap->error)
  5304. return soap->error;
  5305. soap->encodingStyle = NULL;
  5306. soap_serializeheader(soap);
  5307. tds__SetHostnameFromDHCPResponse.soap_serialize(soap);
  5308. if (soap_begin_count(soap))
  5309. return soap->error;
  5310. if (soap->mode & SOAP_IO_LENGTH)
  5311. { if (soap_envelope_begin_out(soap)
  5312. || soap_putheader(soap)
  5313. || soap_body_begin_out(soap)
  5314. || tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
  5315. || soap_body_end_out(soap)
  5316. || soap_envelope_end_out(soap))
  5317. return soap->error;
  5318. };
  5319. if (soap_end_count(soap)
  5320. || soap_response(soap, SOAP_OK)
  5321. || soap_envelope_begin_out(soap)
  5322. || soap_putheader(soap)
  5323. || soap_body_begin_out(soap)
  5324. || tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
  5325. || soap_body_end_out(soap)
  5326. || soap_envelope_end_out(soap)
  5327. || soap_end_send(soap))
  5328. return soap->error;
  5329. return soap_closesock(soap);
  5330. }
  5331. static int serve___tds__GetDNS_(DeviceBindingService *soap)
  5332. { struct __tds__GetDNS_ soap_tmp___tds__GetDNS_;
  5333. _tds__GetDNSResponse tds__GetDNSResponse;
  5334. tds__GetDNSResponse.soap_default(soap);
  5335. soap_default___tds__GetDNS_(soap, &soap_tmp___tds__GetDNS_);
  5336. if (!soap_get___tds__GetDNS_(soap, &soap_tmp___tds__GetDNS_, "-tds:GetDNS", NULL))
  5337. return soap->error;
  5338. if (soap_body_end_in(soap)
  5339. || soap_envelope_end_in(soap)
  5340. || soap_end_recv(soap))
  5341. return soap->error;
  5342. soap->error = soap->GetDNS_(soap_tmp___tds__GetDNS_.tds__GetDNS, &tds__GetDNSResponse);
  5343. if (soap->error)
  5344. return soap->error;
  5345. soap->encodingStyle = NULL;
  5346. soap_serializeheader(soap);
  5347. tds__GetDNSResponse.soap_serialize(soap);
  5348. if (soap_begin_count(soap))
  5349. return soap->error;
  5350. if (soap->mode & SOAP_IO_LENGTH)
  5351. { if (soap_envelope_begin_out(soap)
  5352. || soap_putheader(soap)
  5353. || soap_body_begin_out(soap)
  5354. || tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
  5355. || soap_body_end_out(soap)
  5356. || soap_envelope_end_out(soap))
  5357. return soap->error;
  5358. };
  5359. if (soap_end_count(soap)
  5360. || soap_response(soap, SOAP_OK)
  5361. || soap_envelope_begin_out(soap)
  5362. || soap_putheader(soap)
  5363. || soap_body_begin_out(soap)
  5364. || tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
  5365. || soap_body_end_out(soap)
  5366. || soap_envelope_end_out(soap)
  5367. || soap_end_send(soap))
  5368. return soap->error;
  5369. return soap_closesock(soap);
  5370. }
  5371. static int serve___tds__SetDNS_(DeviceBindingService *soap)
  5372. { struct __tds__SetDNS_ soap_tmp___tds__SetDNS_;
  5373. _tds__SetDNSResponse tds__SetDNSResponse;
  5374. tds__SetDNSResponse.soap_default(soap);
  5375. soap_default___tds__SetDNS_(soap, &soap_tmp___tds__SetDNS_);
  5376. if (!soap_get___tds__SetDNS_(soap, &soap_tmp___tds__SetDNS_, "-tds:SetDNS", NULL))
  5377. return soap->error;
  5378. if (soap_body_end_in(soap)
  5379. || soap_envelope_end_in(soap)
  5380. || soap_end_recv(soap))
  5381. return soap->error;
  5382. soap->error = soap->SetDNS_(soap_tmp___tds__SetDNS_.tds__SetDNS, &tds__SetDNSResponse);
  5383. if (soap->error)
  5384. return soap->error;
  5385. soap->encodingStyle = NULL;
  5386. soap_serializeheader(soap);
  5387. tds__SetDNSResponse.soap_serialize(soap);
  5388. if (soap_begin_count(soap))
  5389. return soap->error;
  5390. if (soap->mode & SOAP_IO_LENGTH)
  5391. { if (soap_envelope_begin_out(soap)
  5392. || soap_putheader(soap)
  5393. || soap_body_begin_out(soap)
  5394. || tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
  5395. || soap_body_end_out(soap)
  5396. || soap_envelope_end_out(soap))
  5397. return soap->error;
  5398. };
  5399. if (soap_end_count(soap)
  5400. || soap_response(soap, SOAP_OK)
  5401. || soap_envelope_begin_out(soap)
  5402. || soap_putheader(soap)
  5403. || soap_body_begin_out(soap)
  5404. || tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
  5405. || soap_body_end_out(soap)
  5406. || soap_envelope_end_out(soap)
  5407. || soap_end_send(soap))
  5408. return soap->error;
  5409. return soap_closesock(soap);
  5410. }
  5411. static int serve___tds__GetNTP_(DeviceBindingService *soap)
  5412. { struct __tds__GetNTP_ soap_tmp___tds__GetNTP_;
  5413. _tds__GetNTPResponse tds__GetNTPResponse;
  5414. tds__GetNTPResponse.soap_default(soap);
  5415. soap_default___tds__GetNTP_(soap, &soap_tmp___tds__GetNTP_);
  5416. if (!soap_get___tds__GetNTP_(soap, &soap_tmp___tds__GetNTP_, "-tds:GetNTP", NULL))
  5417. return soap->error;
  5418. if (soap_body_end_in(soap)
  5419. || soap_envelope_end_in(soap)
  5420. || soap_end_recv(soap))
  5421. return soap->error;
  5422. soap->error = soap->GetNTP_(soap_tmp___tds__GetNTP_.tds__GetNTP, &tds__GetNTPResponse);
  5423. if (soap->error)
  5424. return soap->error;
  5425. soap->encodingStyle = NULL;
  5426. soap_serializeheader(soap);
  5427. tds__GetNTPResponse.soap_serialize(soap);
  5428. if (soap_begin_count(soap))
  5429. return soap->error;
  5430. if (soap->mode & SOAP_IO_LENGTH)
  5431. { if (soap_envelope_begin_out(soap)
  5432. || soap_putheader(soap)
  5433. || soap_body_begin_out(soap)
  5434. || tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
  5435. || soap_body_end_out(soap)
  5436. || soap_envelope_end_out(soap))
  5437. return soap->error;
  5438. };
  5439. if (soap_end_count(soap)
  5440. || soap_response(soap, SOAP_OK)
  5441. || soap_envelope_begin_out(soap)
  5442. || soap_putheader(soap)
  5443. || soap_body_begin_out(soap)
  5444. || tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
  5445. || soap_body_end_out(soap)
  5446. || soap_envelope_end_out(soap)
  5447. || soap_end_send(soap))
  5448. return soap->error;
  5449. return soap_closesock(soap);
  5450. }
  5451. static int serve___tds__SetNTP_(DeviceBindingService *soap)
  5452. { struct __tds__SetNTP_ soap_tmp___tds__SetNTP_;
  5453. _tds__SetNTPResponse tds__SetNTPResponse;
  5454. tds__SetNTPResponse.soap_default(soap);
  5455. soap_default___tds__SetNTP_(soap, &soap_tmp___tds__SetNTP_);
  5456. if (!soap_get___tds__SetNTP_(soap, &soap_tmp___tds__SetNTP_, "-tds:SetNTP", NULL))
  5457. return soap->error;
  5458. if (soap_body_end_in(soap)
  5459. || soap_envelope_end_in(soap)
  5460. || soap_end_recv(soap))
  5461. return soap->error;
  5462. soap->error = soap->SetNTP_(soap_tmp___tds__SetNTP_.tds__SetNTP, &tds__SetNTPResponse);
  5463. if (soap->error)
  5464. return soap->error;
  5465. soap->encodingStyle = NULL;
  5466. soap_serializeheader(soap);
  5467. tds__SetNTPResponse.soap_serialize(soap);
  5468. if (soap_begin_count(soap))
  5469. return soap->error;
  5470. if (soap->mode & SOAP_IO_LENGTH)
  5471. { if (soap_envelope_begin_out(soap)
  5472. || soap_putheader(soap)
  5473. || soap_body_begin_out(soap)
  5474. || tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
  5475. || soap_body_end_out(soap)
  5476. || soap_envelope_end_out(soap))
  5477. return soap->error;
  5478. };
  5479. if (soap_end_count(soap)
  5480. || soap_response(soap, SOAP_OK)
  5481. || soap_envelope_begin_out(soap)
  5482. || soap_putheader(soap)
  5483. || soap_body_begin_out(soap)
  5484. || tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
  5485. || soap_body_end_out(soap)
  5486. || soap_envelope_end_out(soap)
  5487. || soap_end_send(soap))
  5488. return soap->error;
  5489. return soap_closesock(soap);
  5490. }
  5491. static int serve___tds__GetDynamicDNS_(DeviceBindingService *soap)
  5492. { struct __tds__GetDynamicDNS_ soap_tmp___tds__GetDynamicDNS_;
  5493. _tds__GetDynamicDNSResponse tds__GetDynamicDNSResponse;
  5494. tds__GetDynamicDNSResponse.soap_default(soap);
  5495. soap_default___tds__GetDynamicDNS_(soap, &soap_tmp___tds__GetDynamicDNS_);
  5496. if (!soap_get___tds__GetDynamicDNS_(soap, &soap_tmp___tds__GetDynamicDNS_, "-tds:GetDynamicDNS", NULL))
  5497. return soap->error;
  5498. if (soap_body_end_in(soap)
  5499. || soap_envelope_end_in(soap)
  5500. || soap_end_recv(soap))
  5501. return soap->error;
  5502. soap->error = soap->GetDynamicDNS_(soap_tmp___tds__GetDynamicDNS_.tds__GetDynamicDNS, &tds__GetDynamicDNSResponse);
  5503. if (soap->error)
  5504. return soap->error;
  5505. soap->encodingStyle = NULL;
  5506. soap_serializeheader(soap);
  5507. tds__GetDynamicDNSResponse.soap_serialize(soap);
  5508. if (soap_begin_count(soap))
  5509. return soap->error;
  5510. if (soap->mode & SOAP_IO_LENGTH)
  5511. { if (soap_envelope_begin_out(soap)
  5512. || soap_putheader(soap)
  5513. || soap_body_begin_out(soap)
  5514. || tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
  5515. || soap_body_end_out(soap)
  5516. || soap_envelope_end_out(soap))
  5517. return soap->error;
  5518. };
  5519. if (soap_end_count(soap)
  5520. || soap_response(soap, SOAP_OK)
  5521. || soap_envelope_begin_out(soap)
  5522. || soap_putheader(soap)
  5523. || soap_body_begin_out(soap)
  5524. || tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
  5525. || soap_body_end_out(soap)
  5526. || soap_envelope_end_out(soap)
  5527. || soap_end_send(soap))
  5528. return soap->error;
  5529. return soap_closesock(soap);
  5530. }
  5531. static int serve___tds__SetDynamicDNS_(DeviceBindingService *soap)
  5532. { struct __tds__SetDynamicDNS_ soap_tmp___tds__SetDynamicDNS_;
  5533. _tds__SetDynamicDNSResponse tds__SetDynamicDNSResponse;
  5534. tds__SetDynamicDNSResponse.soap_default(soap);
  5535. soap_default___tds__SetDynamicDNS_(soap, &soap_tmp___tds__SetDynamicDNS_);
  5536. if (!soap_get___tds__SetDynamicDNS_(soap, &soap_tmp___tds__SetDynamicDNS_, "-tds:SetDynamicDNS", NULL))
  5537. return soap->error;
  5538. if (soap_body_end_in(soap)
  5539. || soap_envelope_end_in(soap)
  5540. || soap_end_recv(soap))
  5541. return soap->error;
  5542. soap->error = soap->SetDynamicDNS_(soap_tmp___tds__SetDynamicDNS_.tds__SetDynamicDNS, &tds__SetDynamicDNSResponse);
  5543. if (soap->error)
  5544. return soap->error;
  5545. soap->encodingStyle = NULL;
  5546. soap_serializeheader(soap);
  5547. tds__SetDynamicDNSResponse.soap_serialize(soap);
  5548. if (soap_begin_count(soap))
  5549. return soap->error;
  5550. if (soap->mode & SOAP_IO_LENGTH)
  5551. { if (soap_envelope_begin_out(soap)
  5552. || soap_putheader(soap)
  5553. || soap_body_begin_out(soap)
  5554. || tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
  5555. || soap_body_end_out(soap)
  5556. || soap_envelope_end_out(soap))
  5557. return soap->error;
  5558. };
  5559. if (soap_end_count(soap)
  5560. || soap_response(soap, SOAP_OK)
  5561. || soap_envelope_begin_out(soap)
  5562. || soap_putheader(soap)
  5563. || soap_body_begin_out(soap)
  5564. || tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
  5565. || soap_body_end_out(soap)
  5566. || soap_envelope_end_out(soap)
  5567. || soap_end_send(soap))
  5568. return soap->error;
  5569. return soap_closesock(soap);
  5570. }
  5571. static int serve___tds__GetNetworkInterfaces_(DeviceBindingService *soap)
  5572. { struct __tds__GetNetworkInterfaces_ soap_tmp___tds__GetNetworkInterfaces_;
  5573. _tds__GetNetworkInterfacesResponse tds__GetNetworkInterfacesResponse;
  5574. tds__GetNetworkInterfacesResponse.soap_default(soap);
  5575. soap_default___tds__GetNetworkInterfaces_(soap, &soap_tmp___tds__GetNetworkInterfaces_);
  5576. if (!soap_get___tds__GetNetworkInterfaces_(soap, &soap_tmp___tds__GetNetworkInterfaces_, "-tds:GetNetworkInterfaces", NULL))
  5577. return soap->error;
  5578. if (soap_body_end_in(soap)
  5579. || soap_envelope_end_in(soap)
  5580. || soap_end_recv(soap))
  5581. return soap->error;
  5582. soap->error = soap->GetNetworkInterfaces_(soap_tmp___tds__GetNetworkInterfaces_.tds__GetNetworkInterfaces, &tds__GetNetworkInterfacesResponse);
  5583. if (soap->error)
  5584. return soap->error;
  5585. soap->encodingStyle = NULL;
  5586. soap_serializeheader(soap);
  5587. tds__GetNetworkInterfacesResponse.soap_serialize(soap);
  5588. if (soap_begin_count(soap))
  5589. return soap->error;
  5590. if (soap->mode & SOAP_IO_LENGTH)
  5591. { if (soap_envelope_begin_out(soap)
  5592. || soap_putheader(soap)
  5593. || soap_body_begin_out(soap)
  5594. || tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
  5595. || soap_body_end_out(soap)
  5596. || soap_envelope_end_out(soap))
  5597. return soap->error;
  5598. };
  5599. if (soap_end_count(soap)
  5600. || soap_response(soap, SOAP_OK)
  5601. || soap_envelope_begin_out(soap)
  5602. || soap_putheader(soap)
  5603. || soap_body_begin_out(soap)
  5604. || tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
  5605. || soap_body_end_out(soap)
  5606. || soap_envelope_end_out(soap)
  5607. || soap_end_send(soap))
  5608. return soap->error;
  5609. return soap_closesock(soap);
  5610. }
  5611. static int serve___tds__SetNetworkInterfaces_(DeviceBindingService *soap)
  5612. { struct __tds__SetNetworkInterfaces_ soap_tmp___tds__SetNetworkInterfaces_;
  5613. _tds__SetNetworkInterfacesResponse tds__SetNetworkInterfacesResponse;
  5614. tds__SetNetworkInterfacesResponse.soap_default(soap);
  5615. soap_default___tds__SetNetworkInterfaces_(soap, &soap_tmp___tds__SetNetworkInterfaces_);
  5616. if (!soap_get___tds__SetNetworkInterfaces_(soap, &soap_tmp___tds__SetNetworkInterfaces_, "-tds:SetNetworkInterfaces", NULL))
  5617. return soap->error;
  5618. if (soap_body_end_in(soap)
  5619. || soap_envelope_end_in(soap)
  5620. || soap_end_recv(soap))
  5621. return soap->error;
  5622. soap->error = soap->SetNetworkInterfaces_(soap_tmp___tds__SetNetworkInterfaces_.tds__SetNetworkInterfaces, &tds__SetNetworkInterfacesResponse);
  5623. if (soap->error)
  5624. return soap->error;
  5625. soap->encodingStyle = NULL;
  5626. soap_serializeheader(soap);
  5627. tds__SetNetworkInterfacesResponse.soap_serialize(soap);
  5628. if (soap_begin_count(soap))
  5629. return soap->error;
  5630. if (soap->mode & SOAP_IO_LENGTH)
  5631. { if (soap_envelope_begin_out(soap)
  5632. || soap_putheader(soap)
  5633. || soap_body_begin_out(soap)
  5634. || tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
  5635. || soap_body_end_out(soap)
  5636. || soap_envelope_end_out(soap))
  5637. return soap->error;
  5638. };
  5639. if (soap_end_count(soap)
  5640. || soap_response(soap, SOAP_OK)
  5641. || soap_envelope_begin_out(soap)
  5642. || soap_putheader(soap)
  5643. || soap_body_begin_out(soap)
  5644. || tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
  5645. || soap_body_end_out(soap)
  5646. || soap_envelope_end_out(soap)
  5647. || soap_end_send(soap))
  5648. return soap->error;
  5649. return soap_closesock(soap);
  5650. }
  5651. static int serve___tds__GetNetworkProtocols_(DeviceBindingService *soap)
  5652. { struct __tds__GetNetworkProtocols_ soap_tmp___tds__GetNetworkProtocols_;
  5653. _tds__GetNetworkProtocolsResponse tds__GetNetworkProtocolsResponse;
  5654. tds__GetNetworkProtocolsResponse.soap_default(soap);
  5655. soap_default___tds__GetNetworkProtocols_(soap, &soap_tmp___tds__GetNetworkProtocols_);
  5656. if (!soap_get___tds__GetNetworkProtocols_(soap, &soap_tmp___tds__GetNetworkProtocols_, "-tds:GetNetworkProtocols", NULL))
  5657. return soap->error;
  5658. if (soap_body_end_in(soap)
  5659. || soap_envelope_end_in(soap)
  5660. || soap_end_recv(soap))
  5661. return soap->error;
  5662. soap->error = soap->GetNetworkProtocols_(soap_tmp___tds__GetNetworkProtocols_.tds__GetNetworkProtocols, &tds__GetNetworkProtocolsResponse);
  5663. if (soap->error)
  5664. return soap->error;
  5665. soap->encodingStyle = NULL;
  5666. soap_serializeheader(soap);
  5667. tds__GetNetworkProtocolsResponse.soap_serialize(soap);
  5668. if (soap_begin_count(soap))
  5669. return soap->error;
  5670. if (soap->mode & SOAP_IO_LENGTH)
  5671. { if (soap_envelope_begin_out(soap)
  5672. || soap_putheader(soap)
  5673. || soap_body_begin_out(soap)
  5674. || tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
  5675. || soap_body_end_out(soap)
  5676. || soap_envelope_end_out(soap))
  5677. return soap->error;
  5678. };
  5679. if (soap_end_count(soap)
  5680. || soap_response(soap, SOAP_OK)
  5681. || soap_envelope_begin_out(soap)
  5682. || soap_putheader(soap)
  5683. || soap_body_begin_out(soap)
  5684. || tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
  5685. || soap_body_end_out(soap)
  5686. || soap_envelope_end_out(soap)
  5687. || soap_end_send(soap))
  5688. return soap->error;
  5689. return soap_closesock(soap);
  5690. }
  5691. static int serve___tds__SetNetworkProtocols_(DeviceBindingService *soap)
  5692. { struct __tds__SetNetworkProtocols_ soap_tmp___tds__SetNetworkProtocols_;
  5693. _tds__SetNetworkProtocolsResponse tds__SetNetworkProtocolsResponse;
  5694. tds__SetNetworkProtocolsResponse.soap_default(soap);
  5695. soap_default___tds__SetNetworkProtocols_(soap, &soap_tmp___tds__SetNetworkProtocols_);
  5696. if (!soap_get___tds__SetNetworkProtocols_(soap, &soap_tmp___tds__SetNetworkProtocols_, "-tds:SetNetworkProtocols", NULL))
  5697. return soap->error;
  5698. if (soap_body_end_in(soap)
  5699. || soap_envelope_end_in(soap)
  5700. || soap_end_recv(soap))
  5701. return soap->error;
  5702. soap->error = soap->SetNetworkProtocols_(soap_tmp___tds__SetNetworkProtocols_.tds__SetNetworkProtocols, &tds__SetNetworkProtocolsResponse);
  5703. if (soap->error)
  5704. return soap->error;
  5705. soap->encodingStyle = NULL;
  5706. soap_serializeheader(soap);
  5707. tds__SetNetworkProtocolsResponse.soap_serialize(soap);
  5708. if (soap_begin_count(soap))
  5709. return soap->error;
  5710. if (soap->mode & SOAP_IO_LENGTH)
  5711. { if (soap_envelope_begin_out(soap)
  5712. || soap_putheader(soap)
  5713. || soap_body_begin_out(soap)
  5714. || tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
  5715. || soap_body_end_out(soap)
  5716. || soap_envelope_end_out(soap))
  5717. return soap->error;
  5718. };
  5719. if (soap_end_count(soap)
  5720. || soap_response(soap, SOAP_OK)
  5721. || soap_envelope_begin_out(soap)
  5722. || soap_putheader(soap)
  5723. || soap_body_begin_out(soap)
  5724. || tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
  5725. || soap_body_end_out(soap)
  5726. || soap_envelope_end_out(soap)
  5727. || soap_end_send(soap))
  5728. return soap->error;
  5729. return soap_closesock(soap);
  5730. }
  5731. static int serve___tds__GetNetworkDefaultGateway_(DeviceBindingService *soap)
  5732. { struct __tds__GetNetworkDefaultGateway_ soap_tmp___tds__GetNetworkDefaultGateway_;
  5733. _tds__GetNetworkDefaultGatewayResponse tds__GetNetworkDefaultGatewayResponse;
  5734. tds__GetNetworkDefaultGatewayResponse.soap_default(soap);
  5735. soap_default___tds__GetNetworkDefaultGateway_(soap, &soap_tmp___tds__GetNetworkDefaultGateway_);
  5736. if (!soap_get___tds__GetNetworkDefaultGateway_(soap, &soap_tmp___tds__GetNetworkDefaultGateway_, "-tds:GetNetworkDefaultGateway", NULL))
  5737. return soap->error;
  5738. if (soap_body_end_in(soap)
  5739. || soap_envelope_end_in(soap)
  5740. || soap_end_recv(soap))
  5741. return soap->error;
  5742. soap->error = soap->GetNetworkDefaultGateway_(soap_tmp___tds__GetNetworkDefaultGateway_.tds__GetNetworkDefaultGateway, &tds__GetNetworkDefaultGatewayResponse);
  5743. if (soap->error)
  5744. return soap->error;
  5745. soap->encodingStyle = NULL;
  5746. soap_serializeheader(soap);
  5747. tds__GetNetworkDefaultGatewayResponse.soap_serialize(soap);
  5748. if (soap_begin_count(soap))
  5749. return soap->error;
  5750. if (soap->mode & SOAP_IO_LENGTH)
  5751. { if (soap_envelope_begin_out(soap)
  5752. || soap_putheader(soap)
  5753. || soap_body_begin_out(soap)
  5754. || tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
  5755. || soap_body_end_out(soap)
  5756. || soap_envelope_end_out(soap))
  5757. return soap->error;
  5758. };
  5759. if (soap_end_count(soap)
  5760. || soap_response(soap, SOAP_OK)
  5761. || soap_envelope_begin_out(soap)
  5762. || soap_putheader(soap)
  5763. || soap_body_begin_out(soap)
  5764. || tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
  5765. || soap_body_end_out(soap)
  5766. || soap_envelope_end_out(soap)
  5767. || soap_end_send(soap))
  5768. return soap->error;
  5769. return soap_closesock(soap);
  5770. }
  5771. static int serve___tds__SetNetworkDefaultGateway_(DeviceBindingService *soap)
  5772. { struct __tds__SetNetworkDefaultGateway_ soap_tmp___tds__SetNetworkDefaultGateway_;
  5773. _tds__SetNetworkDefaultGatewayResponse tds__SetNetworkDefaultGatewayResponse;
  5774. tds__SetNetworkDefaultGatewayResponse.soap_default(soap);
  5775. soap_default___tds__SetNetworkDefaultGateway_(soap, &soap_tmp___tds__SetNetworkDefaultGateway_);
  5776. if (!soap_get___tds__SetNetworkDefaultGateway_(soap, &soap_tmp___tds__SetNetworkDefaultGateway_, "-tds:SetNetworkDefaultGateway", NULL))
  5777. return soap->error;
  5778. if (soap_body_end_in(soap)
  5779. || soap_envelope_end_in(soap)
  5780. || soap_end_recv(soap))
  5781. return soap->error;
  5782. soap->error = soap->SetNetworkDefaultGateway_(soap_tmp___tds__SetNetworkDefaultGateway_.tds__SetNetworkDefaultGateway, &tds__SetNetworkDefaultGatewayResponse);
  5783. if (soap->error)
  5784. return soap->error;
  5785. soap->encodingStyle = NULL;
  5786. soap_serializeheader(soap);
  5787. tds__SetNetworkDefaultGatewayResponse.soap_serialize(soap);
  5788. if (soap_begin_count(soap))
  5789. return soap->error;
  5790. if (soap->mode & SOAP_IO_LENGTH)
  5791. { if (soap_envelope_begin_out(soap)
  5792. || soap_putheader(soap)
  5793. || soap_body_begin_out(soap)
  5794. || tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
  5795. || soap_body_end_out(soap)
  5796. || soap_envelope_end_out(soap))
  5797. return soap->error;
  5798. };
  5799. if (soap_end_count(soap)
  5800. || soap_response(soap, SOAP_OK)
  5801. || soap_envelope_begin_out(soap)
  5802. || soap_putheader(soap)
  5803. || soap_body_begin_out(soap)
  5804. || tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
  5805. || soap_body_end_out(soap)
  5806. || soap_envelope_end_out(soap)
  5807. || soap_end_send(soap))
  5808. return soap->error;
  5809. return soap_closesock(soap);
  5810. }
  5811. static int serve___tds__GetZeroConfiguration_(DeviceBindingService *soap)
  5812. { struct __tds__GetZeroConfiguration_ soap_tmp___tds__GetZeroConfiguration_;
  5813. _tds__GetZeroConfigurationResponse tds__GetZeroConfigurationResponse;
  5814. tds__GetZeroConfigurationResponse.soap_default(soap);
  5815. soap_default___tds__GetZeroConfiguration_(soap, &soap_tmp___tds__GetZeroConfiguration_);
  5816. if (!soap_get___tds__GetZeroConfiguration_(soap, &soap_tmp___tds__GetZeroConfiguration_, "-tds:GetZeroConfiguration", NULL))
  5817. return soap->error;
  5818. if (soap_body_end_in(soap)
  5819. || soap_envelope_end_in(soap)
  5820. || soap_end_recv(soap))
  5821. return soap->error;
  5822. soap->error = soap->GetZeroConfiguration_(soap_tmp___tds__GetZeroConfiguration_.tds__GetZeroConfiguration, &tds__GetZeroConfigurationResponse);
  5823. if (soap->error)
  5824. return soap->error;
  5825. soap->encodingStyle = NULL;
  5826. soap_serializeheader(soap);
  5827. tds__GetZeroConfigurationResponse.soap_serialize(soap);
  5828. if (soap_begin_count(soap))
  5829. return soap->error;
  5830. if (soap->mode & SOAP_IO_LENGTH)
  5831. { if (soap_envelope_begin_out(soap)
  5832. || soap_putheader(soap)
  5833. || soap_body_begin_out(soap)
  5834. || tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
  5835. || soap_body_end_out(soap)
  5836. || soap_envelope_end_out(soap))
  5837. return soap->error;
  5838. };
  5839. if (soap_end_count(soap)
  5840. || soap_response(soap, SOAP_OK)
  5841. || soap_envelope_begin_out(soap)
  5842. || soap_putheader(soap)
  5843. || soap_body_begin_out(soap)
  5844. || tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
  5845. || soap_body_end_out(soap)
  5846. || soap_envelope_end_out(soap)
  5847. || soap_end_send(soap))
  5848. return soap->error;
  5849. return soap_closesock(soap);
  5850. }
  5851. static int serve___tds__SetZeroConfiguration_(DeviceBindingService *soap)
  5852. { struct __tds__SetZeroConfiguration_ soap_tmp___tds__SetZeroConfiguration_;
  5853. _tds__SetZeroConfigurationResponse tds__SetZeroConfigurationResponse;
  5854. tds__SetZeroConfigurationResponse.soap_default(soap);
  5855. soap_default___tds__SetZeroConfiguration_(soap, &soap_tmp___tds__SetZeroConfiguration_);
  5856. if (!soap_get___tds__SetZeroConfiguration_(soap, &soap_tmp___tds__SetZeroConfiguration_, "-tds:SetZeroConfiguration", NULL))
  5857. return soap->error;
  5858. if (soap_body_end_in(soap)
  5859. || soap_envelope_end_in(soap)
  5860. || soap_end_recv(soap))
  5861. return soap->error;
  5862. soap->error = soap->SetZeroConfiguration_(soap_tmp___tds__SetZeroConfiguration_.tds__SetZeroConfiguration, &tds__SetZeroConfigurationResponse);
  5863. if (soap->error)
  5864. return soap->error;
  5865. soap->encodingStyle = NULL;
  5866. soap_serializeheader(soap);
  5867. tds__SetZeroConfigurationResponse.soap_serialize(soap);
  5868. if (soap_begin_count(soap))
  5869. return soap->error;
  5870. if (soap->mode & SOAP_IO_LENGTH)
  5871. { if (soap_envelope_begin_out(soap)
  5872. || soap_putheader(soap)
  5873. || soap_body_begin_out(soap)
  5874. || tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
  5875. || soap_body_end_out(soap)
  5876. || soap_envelope_end_out(soap))
  5877. return soap->error;
  5878. };
  5879. if (soap_end_count(soap)
  5880. || soap_response(soap, SOAP_OK)
  5881. || soap_envelope_begin_out(soap)
  5882. || soap_putheader(soap)
  5883. || soap_body_begin_out(soap)
  5884. || tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
  5885. || soap_body_end_out(soap)
  5886. || soap_envelope_end_out(soap)
  5887. || soap_end_send(soap))
  5888. return soap->error;
  5889. return soap_closesock(soap);
  5890. }
  5891. static int serve___tds__GetIPAddressFilter_(DeviceBindingService *soap)
  5892. { struct __tds__GetIPAddressFilter_ soap_tmp___tds__GetIPAddressFilter_;
  5893. _tds__GetIPAddressFilterResponse tds__GetIPAddressFilterResponse;
  5894. tds__GetIPAddressFilterResponse.soap_default(soap);
  5895. soap_default___tds__GetIPAddressFilter_(soap, &soap_tmp___tds__GetIPAddressFilter_);
  5896. if (!soap_get___tds__GetIPAddressFilter_(soap, &soap_tmp___tds__GetIPAddressFilter_, "-tds:GetIPAddressFilter", NULL))
  5897. return soap->error;
  5898. if (soap_body_end_in(soap)
  5899. || soap_envelope_end_in(soap)
  5900. || soap_end_recv(soap))
  5901. return soap->error;
  5902. soap->error = soap->GetIPAddressFilter_(soap_tmp___tds__GetIPAddressFilter_.tds__GetIPAddressFilter, &tds__GetIPAddressFilterResponse);
  5903. if (soap->error)
  5904. return soap->error;
  5905. soap->encodingStyle = NULL;
  5906. soap_serializeheader(soap);
  5907. tds__GetIPAddressFilterResponse.soap_serialize(soap);
  5908. if (soap_begin_count(soap))
  5909. return soap->error;
  5910. if (soap->mode & SOAP_IO_LENGTH)
  5911. { if (soap_envelope_begin_out(soap)
  5912. || soap_putheader(soap)
  5913. || soap_body_begin_out(soap)
  5914. || tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
  5915. || soap_body_end_out(soap)
  5916. || soap_envelope_end_out(soap))
  5917. return soap->error;
  5918. };
  5919. if (soap_end_count(soap)
  5920. || soap_response(soap, SOAP_OK)
  5921. || soap_envelope_begin_out(soap)
  5922. || soap_putheader(soap)
  5923. || soap_body_begin_out(soap)
  5924. || tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
  5925. || soap_body_end_out(soap)
  5926. || soap_envelope_end_out(soap)
  5927. || soap_end_send(soap))
  5928. return soap->error;
  5929. return soap_closesock(soap);
  5930. }
  5931. static int serve___tds__SetIPAddressFilter_(DeviceBindingService *soap)
  5932. { struct __tds__SetIPAddressFilter_ soap_tmp___tds__SetIPAddressFilter_;
  5933. _tds__SetIPAddressFilterResponse tds__SetIPAddressFilterResponse;
  5934. tds__SetIPAddressFilterResponse.soap_default(soap);
  5935. soap_default___tds__SetIPAddressFilter_(soap, &soap_tmp___tds__SetIPAddressFilter_);
  5936. if (!soap_get___tds__SetIPAddressFilter_(soap, &soap_tmp___tds__SetIPAddressFilter_, "-tds:SetIPAddressFilter", NULL))
  5937. return soap->error;
  5938. if (soap_body_end_in(soap)
  5939. || soap_envelope_end_in(soap)
  5940. || soap_end_recv(soap))
  5941. return soap->error;
  5942. soap->error = soap->SetIPAddressFilter_(soap_tmp___tds__SetIPAddressFilter_.tds__SetIPAddressFilter, &tds__SetIPAddressFilterResponse);
  5943. if (soap->error)
  5944. return soap->error;
  5945. soap->encodingStyle = NULL;
  5946. soap_serializeheader(soap);
  5947. tds__SetIPAddressFilterResponse.soap_serialize(soap);
  5948. if (soap_begin_count(soap))
  5949. return soap->error;
  5950. if (soap->mode & SOAP_IO_LENGTH)
  5951. { if (soap_envelope_begin_out(soap)
  5952. || soap_putheader(soap)
  5953. || soap_body_begin_out(soap)
  5954. || tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
  5955. || soap_body_end_out(soap)
  5956. || soap_envelope_end_out(soap))
  5957. return soap->error;
  5958. };
  5959. if (soap_end_count(soap)
  5960. || soap_response(soap, SOAP_OK)
  5961. || soap_envelope_begin_out(soap)
  5962. || soap_putheader(soap)
  5963. || soap_body_begin_out(soap)
  5964. || tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
  5965. || soap_body_end_out(soap)
  5966. || soap_envelope_end_out(soap)
  5967. || soap_end_send(soap))
  5968. return soap->error;
  5969. return soap_closesock(soap);
  5970. }
  5971. static int serve___tds__AddIPAddressFilter_(DeviceBindingService *soap)
  5972. { struct __tds__AddIPAddressFilter_ soap_tmp___tds__AddIPAddressFilter_;
  5973. _tds__AddIPAddressFilterResponse tds__AddIPAddressFilterResponse;
  5974. tds__AddIPAddressFilterResponse.soap_default(soap);
  5975. soap_default___tds__AddIPAddressFilter_(soap, &soap_tmp___tds__AddIPAddressFilter_);
  5976. if (!soap_get___tds__AddIPAddressFilter_(soap, &soap_tmp___tds__AddIPAddressFilter_, "-tds:AddIPAddressFilter", NULL))
  5977. return soap->error;
  5978. if (soap_body_end_in(soap)
  5979. || soap_envelope_end_in(soap)
  5980. || soap_end_recv(soap))
  5981. return soap->error;
  5982. soap->error = soap->AddIPAddressFilter_(soap_tmp___tds__AddIPAddressFilter_.tds__AddIPAddressFilter, &tds__AddIPAddressFilterResponse);
  5983. if (soap->error)
  5984. return soap->error;
  5985. soap->encodingStyle = NULL;
  5986. soap_serializeheader(soap);
  5987. tds__AddIPAddressFilterResponse.soap_serialize(soap);
  5988. if (soap_begin_count(soap))
  5989. return soap->error;
  5990. if (soap->mode & SOAP_IO_LENGTH)
  5991. { if (soap_envelope_begin_out(soap)
  5992. || soap_putheader(soap)
  5993. || soap_body_begin_out(soap)
  5994. || tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
  5995. || soap_body_end_out(soap)
  5996. || soap_envelope_end_out(soap))
  5997. return soap->error;
  5998. };
  5999. if (soap_end_count(soap)
  6000. || soap_response(soap, SOAP_OK)
  6001. || soap_envelope_begin_out(soap)
  6002. || soap_putheader(soap)
  6003. || soap_body_begin_out(soap)
  6004. || tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
  6005. || soap_body_end_out(soap)
  6006. || soap_envelope_end_out(soap)
  6007. || soap_end_send(soap))
  6008. return soap->error;
  6009. return soap_closesock(soap);
  6010. }
  6011. static int serve___tds__RemoveIPAddressFilter_(DeviceBindingService *soap)
  6012. { struct __tds__RemoveIPAddressFilter_ soap_tmp___tds__RemoveIPAddressFilter_;
  6013. _tds__RemoveIPAddressFilterResponse tds__RemoveIPAddressFilterResponse;
  6014. tds__RemoveIPAddressFilterResponse.soap_default(soap);
  6015. soap_default___tds__RemoveIPAddressFilter_(soap, &soap_tmp___tds__RemoveIPAddressFilter_);
  6016. if (!soap_get___tds__RemoveIPAddressFilter_(soap, &soap_tmp___tds__RemoveIPAddressFilter_, "-tds:RemoveIPAddressFilter", NULL))
  6017. return soap->error;
  6018. if (soap_body_end_in(soap)
  6019. || soap_envelope_end_in(soap)
  6020. || soap_end_recv(soap))
  6021. return soap->error;
  6022. soap->error = soap->RemoveIPAddressFilter_(soap_tmp___tds__RemoveIPAddressFilter_.tds__RemoveIPAddressFilter, &tds__RemoveIPAddressFilterResponse);
  6023. if (soap->error)
  6024. return soap->error;
  6025. soap->encodingStyle = NULL;
  6026. soap_serializeheader(soap);
  6027. tds__RemoveIPAddressFilterResponse.soap_serialize(soap);
  6028. if (soap_begin_count(soap))
  6029. return soap->error;
  6030. if (soap->mode & SOAP_IO_LENGTH)
  6031. { if (soap_envelope_begin_out(soap)
  6032. || soap_putheader(soap)
  6033. || soap_body_begin_out(soap)
  6034. || tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
  6035. || soap_body_end_out(soap)
  6036. || soap_envelope_end_out(soap))
  6037. return soap->error;
  6038. };
  6039. if (soap_end_count(soap)
  6040. || soap_response(soap, SOAP_OK)
  6041. || soap_envelope_begin_out(soap)
  6042. || soap_putheader(soap)
  6043. || soap_body_begin_out(soap)
  6044. || tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
  6045. || soap_body_end_out(soap)
  6046. || soap_envelope_end_out(soap)
  6047. || soap_end_send(soap))
  6048. return soap->error;
  6049. return soap_closesock(soap);
  6050. }
  6051. static int serve___tds__GetAccessPolicy_(DeviceBindingService *soap)
  6052. { struct __tds__GetAccessPolicy_ soap_tmp___tds__GetAccessPolicy_;
  6053. _tds__GetAccessPolicyResponse tds__GetAccessPolicyResponse;
  6054. tds__GetAccessPolicyResponse.soap_default(soap);
  6055. soap_default___tds__GetAccessPolicy_(soap, &soap_tmp___tds__GetAccessPolicy_);
  6056. if (!soap_get___tds__GetAccessPolicy_(soap, &soap_tmp___tds__GetAccessPolicy_, "-tds:GetAccessPolicy", NULL))
  6057. return soap->error;
  6058. if (soap_body_end_in(soap)
  6059. || soap_envelope_end_in(soap)
  6060. || soap_end_recv(soap))
  6061. return soap->error;
  6062. soap->error = soap->GetAccessPolicy_(soap_tmp___tds__GetAccessPolicy_.tds__GetAccessPolicy, &tds__GetAccessPolicyResponse);
  6063. if (soap->error)
  6064. return soap->error;
  6065. soap->encodingStyle = NULL;
  6066. soap_serializeheader(soap);
  6067. tds__GetAccessPolicyResponse.soap_serialize(soap);
  6068. if (soap_begin_count(soap))
  6069. return soap->error;
  6070. if (soap->mode & SOAP_IO_LENGTH)
  6071. { if (soap_envelope_begin_out(soap)
  6072. || soap_putheader(soap)
  6073. || soap_body_begin_out(soap)
  6074. || tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
  6075. || soap_body_end_out(soap)
  6076. || soap_envelope_end_out(soap))
  6077. return soap->error;
  6078. };
  6079. if (soap_end_count(soap)
  6080. || soap_response(soap, SOAP_OK)
  6081. || soap_envelope_begin_out(soap)
  6082. || soap_putheader(soap)
  6083. || soap_body_begin_out(soap)
  6084. || tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
  6085. || soap_body_end_out(soap)
  6086. || soap_envelope_end_out(soap)
  6087. || soap_end_send(soap))
  6088. return soap->error;
  6089. return soap_closesock(soap);
  6090. }
  6091. static int serve___tds__SetAccessPolicy_(DeviceBindingService *soap)
  6092. { struct __tds__SetAccessPolicy_ soap_tmp___tds__SetAccessPolicy_;
  6093. _tds__SetAccessPolicyResponse tds__SetAccessPolicyResponse;
  6094. tds__SetAccessPolicyResponse.soap_default(soap);
  6095. soap_default___tds__SetAccessPolicy_(soap, &soap_tmp___tds__SetAccessPolicy_);
  6096. if (!soap_get___tds__SetAccessPolicy_(soap, &soap_tmp___tds__SetAccessPolicy_, "-tds:SetAccessPolicy", NULL))
  6097. return soap->error;
  6098. if (soap_body_end_in(soap)
  6099. || soap_envelope_end_in(soap)
  6100. || soap_end_recv(soap))
  6101. return soap->error;
  6102. soap->error = soap->SetAccessPolicy_(soap_tmp___tds__SetAccessPolicy_.tds__SetAccessPolicy, &tds__SetAccessPolicyResponse);
  6103. if (soap->error)
  6104. return soap->error;
  6105. soap->encodingStyle = NULL;
  6106. soap_serializeheader(soap);
  6107. tds__SetAccessPolicyResponse.soap_serialize(soap);
  6108. if (soap_begin_count(soap))
  6109. return soap->error;
  6110. if (soap->mode & SOAP_IO_LENGTH)
  6111. { if (soap_envelope_begin_out(soap)
  6112. || soap_putheader(soap)
  6113. || soap_body_begin_out(soap)
  6114. || tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
  6115. || soap_body_end_out(soap)
  6116. || soap_envelope_end_out(soap))
  6117. return soap->error;
  6118. };
  6119. if (soap_end_count(soap)
  6120. || soap_response(soap, SOAP_OK)
  6121. || soap_envelope_begin_out(soap)
  6122. || soap_putheader(soap)
  6123. || soap_body_begin_out(soap)
  6124. || tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
  6125. || soap_body_end_out(soap)
  6126. || soap_envelope_end_out(soap)
  6127. || soap_end_send(soap))
  6128. return soap->error;
  6129. return soap_closesock(soap);
  6130. }
  6131. static int serve___tds__CreateCertificate_(DeviceBindingService *soap)
  6132. { struct __tds__CreateCertificate_ soap_tmp___tds__CreateCertificate_;
  6133. _tds__CreateCertificateResponse tds__CreateCertificateResponse;
  6134. tds__CreateCertificateResponse.soap_default(soap);
  6135. soap_default___tds__CreateCertificate_(soap, &soap_tmp___tds__CreateCertificate_);
  6136. if (!soap_get___tds__CreateCertificate_(soap, &soap_tmp___tds__CreateCertificate_, "-tds:CreateCertificate", NULL))
  6137. return soap->error;
  6138. if (soap_body_end_in(soap)
  6139. || soap_envelope_end_in(soap)
  6140. || soap_end_recv(soap))
  6141. return soap->error;
  6142. soap->error = soap->CreateCertificate_(soap_tmp___tds__CreateCertificate_.tds__CreateCertificate, &tds__CreateCertificateResponse);
  6143. if (soap->error)
  6144. return soap->error;
  6145. soap->encodingStyle = NULL;
  6146. soap_serializeheader(soap);
  6147. tds__CreateCertificateResponse.soap_serialize(soap);
  6148. if (soap_begin_count(soap))
  6149. return soap->error;
  6150. if (soap->mode & SOAP_IO_LENGTH)
  6151. { if (soap_envelope_begin_out(soap)
  6152. || soap_putheader(soap)
  6153. || soap_body_begin_out(soap)
  6154. || tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
  6155. || soap_body_end_out(soap)
  6156. || soap_envelope_end_out(soap))
  6157. return soap->error;
  6158. };
  6159. if (soap_end_count(soap)
  6160. || soap_response(soap, SOAP_OK)
  6161. || soap_envelope_begin_out(soap)
  6162. || soap_putheader(soap)
  6163. || soap_body_begin_out(soap)
  6164. || tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
  6165. || soap_body_end_out(soap)
  6166. || soap_envelope_end_out(soap)
  6167. || soap_end_send(soap))
  6168. return soap->error;
  6169. return soap_closesock(soap);
  6170. }
  6171. static int serve___tds__GetCertificates_(DeviceBindingService *soap)
  6172. { struct __tds__GetCertificates_ soap_tmp___tds__GetCertificates_;
  6173. _tds__GetCertificatesResponse tds__GetCertificatesResponse;
  6174. tds__GetCertificatesResponse.soap_default(soap);
  6175. soap_default___tds__GetCertificates_(soap, &soap_tmp___tds__GetCertificates_);
  6176. if (!soap_get___tds__GetCertificates_(soap, &soap_tmp___tds__GetCertificates_, "-tds:GetCertificates", NULL))
  6177. return soap->error;
  6178. if (soap_body_end_in(soap)
  6179. || soap_envelope_end_in(soap)
  6180. || soap_end_recv(soap))
  6181. return soap->error;
  6182. soap->error = soap->GetCertificates_(soap_tmp___tds__GetCertificates_.tds__GetCertificates, &tds__GetCertificatesResponse);
  6183. if (soap->error)
  6184. return soap->error;
  6185. soap->encodingStyle = NULL;
  6186. soap_serializeheader(soap);
  6187. tds__GetCertificatesResponse.soap_serialize(soap);
  6188. if (soap_begin_count(soap))
  6189. return soap->error;
  6190. if (soap->mode & SOAP_IO_LENGTH)
  6191. { if (soap_envelope_begin_out(soap)
  6192. || soap_putheader(soap)
  6193. || soap_body_begin_out(soap)
  6194. || tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
  6195. || soap_body_end_out(soap)
  6196. || soap_envelope_end_out(soap))
  6197. return soap->error;
  6198. };
  6199. if (soap_end_count(soap)
  6200. || soap_response(soap, SOAP_OK)
  6201. || soap_envelope_begin_out(soap)
  6202. || soap_putheader(soap)
  6203. || soap_body_begin_out(soap)
  6204. || tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
  6205. || soap_body_end_out(soap)
  6206. || soap_envelope_end_out(soap)
  6207. || soap_end_send(soap))
  6208. return soap->error;
  6209. return soap_closesock(soap);
  6210. }
  6211. static int serve___tds__GetCertificatesStatus_(DeviceBindingService *soap)
  6212. { struct __tds__GetCertificatesStatus_ soap_tmp___tds__GetCertificatesStatus_;
  6213. _tds__GetCertificatesStatusResponse tds__GetCertificatesStatusResponse;
  6214. tds__GetCertificatesStatusResponse.soap_default(soap);
  6215. soap_default___tds__GetCertificatesStatus_(soap, &soap_tmp___tds__GetCertificatesStatus_);
  6216. if (!soap_get___tds__GetCertificatesStatus_(soap, &soap_tmp___tds__GetCertificatesStatus_, "-tds:GetCertificatesStatus", NULL))
  6217. return soap->error;
  6218. if (soap_body_end_in(soap)
  6219. || soap_envelope_end_in(soap)
  6220. || soap_end_recv(soap))
  6221. return soap->error;
  6222. soap->error = soap->GetCertificatesStatus_(soap_tmp___tds__GetCertificatesStatus_.tds__GetCertificatesStatus, &tds__GetCertificatesStatusResponse);
  6223. if (soap->error)
  6224. return soap->error;
  6225. soap->encodingStyle = NULL;
  6226. soap_serializeheader(soap);
  6227. tds__GetCertificatesStatusResponse.soap_serialize(soap);
  6228. if (soap_begin_count(soap))
  6229. return soap->error;
  6230. if (soap->mode & SOAP_IO_LENGTH)
  6231. { if (soap_envelope_begin_out(soap)
  6232. || soap_putheader(soap)
  6233. || soap_body_begin_out(soap)
  6234. || tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
  6235. || soap_body_end_out(soap)
  6236. || soap_envelope_end_out(soap))
  6237. return soap->error;
  6238. };
  6239. if (soap_end_count(soap)
  6240. || soap_response(soap, SOAP_OK)
  6241. || soap_envelope_begin_out(soap)
  6242. || soap_putheader(soap)
  6243. || soap_body_begin_out(soap)
  6244. || tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
  6245. || soap_body_end_out(soap)
  6246. || soap_envelope_end_out(soap)
  6247. || soap_end_send(soap))
  6248. return soap->error;
  6249. return soap_closesock(soap);
  6250. }
  6251. static int serve___tds__SetCertificatesStatus_(DeviceBindingService *soap)
  6252. { struct __tds__SetCertificatesStatus_ soap_tmp___tds__SetCertificatesStatus_;
  6253. _tds__SetCertificatesStatusResponse tds__SetCertificatesStatusResponse;
  6254. tds__SetCertificatesStatusResponse.soap_default(soap);
  6255. soap_default___tds__SetCertificatesStatus_(soap, &soap_tmp___tds__SetCertificatesStatus_);
  6256. if (!soap_get___tds__SetCertificatesStatus_(soap, &soap_tmp___tds__SetCertificatesStatus_, "-tds:SetCertificatesStatus", NULL))
  6257. return soap->error;
  6258. if (soap_body_end_in(soap)
  6259. || soap_envelope_end_in(soap)
  6260. || soap_end_recv(soap))
  6261. return soap->error;
  6262. soap->error = soap->SetCertificatesStatus_(soap_tmp___tds__SetCertificatesStatus_.tds__SetCertificatesStatus, &tds__SetCertificatesStatusResponse);
  6263. if (soap->error)
  6264. return soap->error;
  6265. soap->encodingStyle = NULL;
  6266. soap_serializeheader(soap);
  6267. tds__SetCertificatesStatusResponse.soap_serialize(soap);
  6268. if (soap_begin_count(soap))
  6269. return soap->error;
  6270. if (soap->mode & SOAP_IO_LENGTH)
  6271. { if (soap_envelope_begin_out(soap)
  6272. || soap_putheader(soap)
  6273. || soap_body_begin_out(soap)
  6274. || tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
  6275. || soap_body_end_out(soap)
  6276. || soap_envelope_end_out(soap))
  6277. return soap->error;
  6278. };
  6279. if (soap_end_count(soap)
  6280. || soap_response(soap, SOAP_OK)
  6281. || soap_envelope_begin_out(soap)
  6282. || soap_putheader(soap)
  6283. || soap_body_begin_out(soap)
  6284. || tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
  6285. || soap_body_end_out(soap)
  6286. || soap_envelope_end_out(soap)
  6287. || soap_end_send(soap))
  6288. return soap->error;
  6289. return soap_closesock(soap);
  6290. }
  6291. static int serve___tds__DeleteCertificates_(DeviceBindingService *soap)
  6292. { struct __tds__DeleteCertificates_ soap_tmp___tds__DeleteCertificates_;
  6293. _tds__DeleteCertificatesResponse tds__DeleteCertificatesResponse;
  6294. tds__DeleteCertificatesResponse.soap_default(soap);
  6295. soap_default___tds__DeleteCertificates_(soap, &soap_tmp___tds__DeleteCertificates_);
  6296. if (!soap_get___tds__DeleteCertificates_(soap, &soap_tmp___tds__DeleteCertificates_, "-tds:DeleteCertificates", NULL))
  6297. return soap->error;
  6298. if (soap_body_end_in(soap)
  6299. || soap_envelope_end_in(soap)
  6300. || soap_end_recv(soap))
  6301. return soap->error;
  6302. soap->error = soap->DeleteCertificates_(soap_tmp___tds__DeleteCertificates_.tds__DeleteCertificates, &tds__DeleteCertificatesResponse);
  6303. if (soap->error)
  6304. return soap->error;
  6305. soap->encodingStyle = NULL;
  6306. soap_serializeheader(soap);
  6307. tds__DeleteCertificatesResponse.soap_serialize(soap);
  6308. if (soap_begin_count(soap))
  6309. return soap->error;
  6310. if (soap->mode & SOAP_IO_LENGTH)
  6311. { if (soap_envelope_begin_out(soap)
  6312. || soap_putheader(soap)
  6313. || soap_body_begin_out(soap)
  6314. || tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
  6315. || soap_body_end_out(soap)
  6316. || soap_envelope_end_out(soap))
  6317. return soap->error;
  6318. };
  6319. if (soap_end_count(soap)
  6320. || soap_response(soap, SOAP_OK)
  6321. || soap_envelope_begin_out(soap)
  6322. || soap_putheader(soap)
  6323. || soap_body_begin_out(soap)
  6324. || tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
  6325. || soap_body_end_out(soap)
  6326. || soap_envelope_end_out(soap)
  6327. || soap_end_send(soap))
  6328. return soap->error;
  6329. return soap_closesock(soap);
  6330. }
  6331. static int serve___tds__GetPkcs10Request_(DeviceBindingService *soap)
  6332. { struct __tds__GetPkcs10Request_ soap_tmp___tds__GetPkcs10Request_;
  6333. _tds__GetPkcs10RequestResponse tds__GetPkcs10RequestResponse;
  6334. tds__GetPkcs10RequestResponse.soap_default(soap);
  6335. soap_default___tds__GetPkcs10Request_(soap, &soap_tmp___tds__GetPkcs10Request_);
  6336. if (!soap_get___tds__GetPkcs10Request_(soap, &soap_tmp___tds__GetPkcs10Request_, "-tds:GetPkcs10Request", NULL))
  6337. return soap->error;
  6338. if (soap_body_end_in(soap)
  6339. || soap_envelope_end_in(soap)
  6340. || soap_end_recv(soap))
  6341. return soap->error;
  6342. soap->error = soap->GetPkcs10Request_(soap_tmp___tds__GetPkcs10Request_.tds__GetPkcs10Request, &tds__GetPkcs10RequestResponse);
  6343. if (soap->error)
  6344. return soap->error;
  6345. soap->encodingStyle = NULL;
  6346. soap_serializeheader(soap);
  6347. tds__GetPkcs10RequestResponse.soap_serialize(soap);
  6348. if (soap_begin_count(soap))
  6349. return soap->error;
  6350. if (soap->mode & SOAP_IO_LENGTH)
  6351. { if (soap_envelope_begin_out(soap)
  6352. || soap_putheader(soap)
  6353. || soap_body_begin_out(soap)
  6354. || tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
  6355. || soap_body_end_out(soap)
  6356. || soap_envelope_end_out(soap))
  6357. return soap->error;
  6358. };
  6359. if (soap_end_count(soap)
  6360. || soap_response(soap, SOAP_OK)
  6361. || soap_envelope_begin_out(soap)
  6362. || soap_putheader(soap)
  6363. || soap_body_begin_out(soap)
  6364. || tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
  6365. || soap_body_end_out(soap)
  6366. || soap_envelope_end_out(soap)
  6367. || soap_end_send(soap))
  6368. return soap->error;
  6369. return soap_closesock(soap);
  6370. }
  6371. static int serve___tds__LoadCertificates_(DeviceBindingService *soap)
  6372. { struct __tds__LoadCertificates_ soap_tmp___tds__LoadCertificates_;
  6373. _tds__LoadCertificatesResponse tds__LoadCertificatesResponse;
  6374. tds__LoadCertificatesResponse.soap_default(soap);
  6375. soap_default___tds__LoadCertificates_(soap, &soap_tmp___tds__LoadCertificates_);
  6376. if (!soap_get___tds__LoadCertificates_(soap, &soap_tmp___tds__LoadCertificates_, "-tds:LoadCertificates", NULL))
  6377. return soap->error;
  6378. if (soap_body_end_in(soap)
  6379. || soap_envelope_end_in(soap)
  6380. || soap_end_recv(soap))
  6381. return soap->error;
  6382. soap->error = soap->LoadCertificates_(soap_tmp___tds__LoadCertificates_.tds__LoadCertificates, &tds__LoadCertificatesResponse);
  6383. if (soap->error)
  6384. return soap->error;
  6385. soap->encodingStyle = NULL;
  6386. soap_serializeheader(soap);
  6387. tds__LoadCertificatesResponse.soap_serialize(soap);
  6388. if (soap_begin_count(soap))
  6389. return soap->error;
  6390. if (soap->mode & SOAP_IO_LENGTH)
  6391. { if (soap_envelope_begin_out(soap)
  6392. || soap_putheader(soap)
  6393. || soap_body_begin_out(soap)
  6394. || tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
  6395. || soap_body_end_out(soap)
  6396. || soap_envelope_end_out(soap))
  6397. return soap->error;
  6398. };
  6399. if (soap_end_count(soap)
  6400. || soap_response(soap, SOAP_OK)
  6401. || soap_envelope_begin_out(soap)
  6402. || soap_putheader(soap)
  6403. || soap_body_begin_out(soap)
  6404. || tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
  6405. || soap_body_end_out(soap)
  6406. || soap_envelope_end_out(soap)
  6407. || soap_end_send(soap))
  6408. return soap->error;
  6409. return soap_closesock(soap);
  6410. }
  6411. static int serve___tds__GetClientCertificateMode_(DeviceBindingService *soap)
  6412. { struct __tds__GetClientCertificateMode_ soap_tmp___tds__GetClientCertificateMode_;
  6413. _tds__GetClientCertificateModeResponse tds__GetClientCertificateModeResponse;
  6414. tds__GetClientCertificateModeResponse.soap_default(soap);
  6415. soap_default___tds__GetClientCertificateMode_(soap, &soap_tmp___tds__GetClientCertificateMode_);
  6416. if (!soap_get___tds__GetClientCertificateMode_(soap, &soap_tmp___tds__GetClientCertificateMode_, "-tds:GetClientCertificateMode", NULL))
  6417. return soap->error;
  6418. if (soap_body_end_in(soap)
  6419. || soap_envelope_end_in(soap)
  6420. || soap_end_recv(soap))
  6421. return soap->error;
  6422. soap->error = soap->GetClientCertificateMode_(soap_tmp___tds__GetClientCertificateMode_.tds__GetClientCertificateMode, &tds__GetClientCertificateModeResponse);
  6423. if (soap->error)
  6424. return soap->error;
  6425. soap->encodingStyle = NULL;
  6426. soap_serializeheader(soap);
  6427. tds__GetClientCertificateModeResponse.soap_serialize(soap);
  6428. if (soap_begin_count(soap))
  6429. return soap->error;
  6430. if (soap->mode & SOAP_IO_LENGTH)
  6431. { if (soap_envelope_begin_out(soap)
  6432. || soap_putheader(soap)
  6433. || soap_body_begin_out(soap)
  6434. || tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
  6435. || soap_body_end_out(soap)
  6436. || soap_envelope_end_out(soap))
  6437. return soap->error;
  6438. };
  6439. if (soap_end_count(soap)
  6440. || soap_response(soap, SOAP_OK)
  6441. || soap_envelope_begin_out(soap)
  6442. || soap_putheader(soap)
  6443. || soap_body_begin_out(soap)
  6444. || tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
  6445. || soap_body_end_out(soap)
  6446. || soap_envelope_end_out(soap)
  6447. || soap_end_send(soap))
  6448. return soap->error;
  6449. return soap_closesock(soap);
  6450. }
  6451. static int serve___tds__SetClientCertificateMode_(DeviceBindingService *soap)
  6452. { struct __tds__SetClientCertificateMode_ soap_tmp___tds__SetClientCertificateMode_;
  6453. _tds__SetClientCertificateModeResponse tds__SetClientCertificateModeResponse;
  6454. tds__SetClientCertificateModeResponse.soap_default(soap);
  6455. soap_default___tds__SetClientCertificateMode_(soap, &soap_tmp___tds__SetClientCertificateMode_);
  6456. if (!soap_get___tds__SetClientCertificateMode_(soap, &soap_tmp___tds__SetClientCertificateMode_, "-tds:SetClientCertificateMode", NULL))
  6457. return soap->error;
  6458. if (soap_body_end_in(soap)
  6459. || soap_envelope_end_in(soap)
  6460. || soap_end_recv(soap))
  6461. return soap->error;
  6462. soap->error = soap->SetClientCertificateMode_(soap_tmp___tds__SetClientCertificateMode_.tds__SetClientCertificateMode, &tds__SetClientCertificateModeResponse);
  6463. if (soap->error)
  6464. return soap->error;
  6465. soap->encodingStyle = NULL;
  6466. soap_serializeheader(soap);
  6467. tds__SetClientCertificateModeResponse.soap_serialize(soap);
  6468. if (soap_begin_count(soap))
  6469. return soap->error;
  6470. if (soap->mode & SOAP_IO_LENGTH)
  6471. { if (soap_envelope_begin_out(soap)
  6472. || soap_putheader(soap)
  6473. || soap_body_begin_out(soap)
  6474. || tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
  6475. || soap_body_end_out(soap)
  6476. || soap_envelope_end_out(soap))
  6477. return soap->error;
  6478. };
  6479. if (soap_end_count(soap)
  6480. || soap_response(soap, SOAP_OK)
  6481. || soap_envelope_begin_out(soap)
  6482. || soap_putheader(soap)
  6483. || soap_body_begin_out(soap)
  6484. || tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
  6485. || soap_body_end_out(soap)
  6486. || soap_envelope_end_out(soap)
  6487. || soap_end_send(soap))
  6488. return soap->error;
  6489. return soap_closesock(soap);
  6490. }
  6491. static int serve___tds__GetRelayOutputs_(DeviceBindingService *soap)
  6492. { struct __tds__GetRelayOutputs_ soap_tmp___tds__GetRelayOutputs_;
  6493. _tds__GetRelayOutputsResponse tds__GetRelayOutputsResponse;
  6494. tds__GetRelayOutputsResponse.soap_default(soap);
  6495. soap_default___tds__GetRelayOutputs_(soap, &soap_tmp___tds__GetRelayOutputs_);
  6496. if (!soap_get___tds__GetRelayOutputs_(soap, &soap_tmp___tds__GetRelayOutputs_, "-tds:GetRelayOutputs", NULL))
  6497. return soap->error;
  6498. if (soap_body_end_in(soap)
  6499. || soap_envelope_end_in(soap)
  6500. || soap_end_recv(soap))
  6501. return soap->error;
  6502. soap->error = soap->GetRelayOutputs_(soap_tmp___tds__GetRelayOutputs_.tds__GetRelayOutputs, &tds__GetRelayOutputsResponse);
  6503. if (soap->error)
  6504. return soap->error;
  6505. soap->encodingStyle = NULL;
  6506. soap_serializeheader(soap);
  6507. tds__GetRelayOutputsResponse.soap_serialize(soap);
  6508. if (soap_begin_count(soap))
  6509. return soap->error;
  6510. if (soap->mode & SOAP_IO_LENGTH)
  6511. { if (soap_envelope_begin_out(soap)
  6512. || soap_putheader(soap)
  6513. || soap_body_begin_out(soap)
  6514. || tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
  6515. || soap_body_end_out(soap)
  6516. || soap_envelope_end_out(soap))
  6517. return soap->error;
  6518. };
  6519. if (soap_end_count(soap)
  6520. || soap_response(soap, SOAP_OK)
  6521. || soap_envelope_begin_out(soap)
  6522. || soap_putheader(soap)
  6523. || soap_body_begin_out(soap)
  6524. || tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
  6525. || soap_body_end_out(soap)
  6526. || soap_envelope_end_out(soap)
  6527. || soap_end_send(soap))
  6528. return soap->error;
  6529. return soap_closesock(soap);
  6530. }
  6531. static int serve___tds__SetRelayOutputSettings_(DeviceBindingService *soap)
  6532. { struct __tds__SetRelayOutputSettings_ soap_tmp___tds__SetRelayOutputSettings_;
  6533. _tds__SetRelayOutputSettingsResponse tds__SetRelayOutputSettingsResponse;
  6534. tds__SetRelayOutputSettingsResponse.soap_default(soap);
  6535. soap_default___tds__SetRelayOutputSettings_(soap, &soap_tmp___tds__SetRelayOutputSettings_);
  6536. if (!soap_get___tds__SetRelayOutputSettings_(soap, &soap_tmp___tds__SetRelayOutputSettings_, "-tds:SetRelayOutputSettings", NULL))
  6537. return soap->error;
  6538. if (soap_body_end_in(soap)
  6539. || soap_envelope_end_in(soap)
  6540. || soap_end_recv(soap))
  6541. return soap->error;
  6542. soap->error = soap->SetRelayOutputSettings_(soap_tmp___tds__SetRelayOutputSettings_.tds__SetRelayOutputSettings, &tds__SetRelayOutputSettingsResponse);
  6543. if (soap->error)
  6544. return soap->error;
  6545. soap->encodingStyle = NULL;
  6546. soap_serializeheader(soap);
  6547. tds__SetRelayOutputSettingsResponse.soap_serialize(soap);
  6548. if (soap_begin_count(soap))
  6549. return soap->error;
  6550. if (soap->mode & SOAP_IO_LENGTH)
  6551. { if (soap_envelope_begin_out(soap)
  6552. || soap_putheader(soap)
  6553. || soap_body_begin_out(soap)
  6554. || tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
  6555. || soap_body_end_out(soap)
  6556. || soap_envelope_end_out(soap))
  6557. return soap->error;
  6558. };
  6559. if (soap_end_count(soap)
  6560. || soap_response(soap, SOAP_OK)
  6561. || soap_envelope_begin_out(soap)
  6562. || soap_putheader(soap)
  6563. || soap_body_begin_out(soap)
  6564. || tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
  6565. || soap_body_end_out(soap)
  6566. || soap_envelope_end_out(soap)
  6567. || soap_end_send(soap))
  6568. return soap->error;
  6569. return soap_closesock(soap);
  6570. }
  6571. static int serve___tds__SetRelayOutputState_(DeviceBindingService *soap)
  6572. { struct __tds__SetRelayOutputState_ soap_tmp___tds__SetRelayOutputState_;
  6573. _tds__SetRelayOutputStateResponse tds__SetRelayOutputStateResponse;
  6574. tds__SetRelayOutputStateResponse.soap_default(soap);
  6575. soap_default___tds__SetRelayOutputState_(soap, &soap_tmp___tds__SetRelayOutputState_);
  6576. if (!soap_get___tds__SetRelayOutputState_(soap, &soap_tmp___tds__SetRelayOutputState_, "-tds:SetRelayOutputState", NULL))
  6577. return soap->error;
  6578. if (soap_body_end_in(soap)
  6579. || soap_envelope_end_in(soap)
  6580. || soap_end_recv(soap))
  6581. return soap->error;
  6582. soap->error = soap->SetRelayOutputState_(soap_tmp___tds__SetRelayOutputState_.tds__SetRelayOutputState, &tds__SetRelayOutputStateResponse);
  6583. if (soap->error)
  6584. return soap->error;
  6585. soap->encodingStyle = NULL;
  6586. soap_serializeheader(soap);
  6587. tds__SetRelayOutputStateResponse.soap_serialize(soap);
  6588. if (soap_begin_count(soap))
  6589. return soap->error;
  6590. if (soap->mode & SOAP_IO_LENGTH)
  6591. { if (soap_envelope_begin_out(soap)
  6592. || soap_putheader(soap)
  6593. || soap_body_begin_out(soap)
  6594. || tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
  6595. || soap_body_end_out(soap)
  6596. || soap_envelope_end_out(soap))
  6597. return soap->error;
  6598. };
  6599. if (soap_end_count(soap)
  6600. || soap_response(soap, SOAP_OK)
  6601. || soap_envelope_begin_out(soap)
  6602. || soap_putheader(soap)
  6603. || soap_body_begin_out(soap)
  6604. || tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
  6605. || soap_body_end_out(soap)
  6606. || soap_envelope_end_out(soap)
  6607. || soap_end_send(soap))
  6608. return soap->error;
  6609. return soap_closesock(soap);
  6610. }
  6611. static int serve___tds__SendAuxiliaryCommand_(DeviceBindingService *soap)
  6612. { struct __tds__SendAuxiliaryCommand_ soap_tmp___tds__SendAuxiliaryCommand_;
  6613. _tds__SendAuxiliaryCommandResponse tds__SendAuxiliaryCommandResponse;
  6614. tds__SendAuxiliaryCommandResponse.soap_default(soap);
  6615. soap_default___tds__SendAuxiliaryCommand_(soap, &soap_tmp___tds__SendAuxiliaryCommand_);
  6616. if (!soap_get___tds__SendAuxiliaryCommand_(soap, &soap_tmp___tds__SendAuxiliaryCommand_, "-tds:SendAuxiliaryCommand", NULL))
  6617. return soap->error;
  6618. if (soap_body_end_in(soap)
  6619. || soap_envelope_end_in(soap)
  6620. || soap_end_recv(soap))
  6621. return soap->error;
  6622. soap->error = soap->SendAuxiliaryCommand_(soap_tmp___tds__SendAuxiliaryCommand_.tds__SendAuxiliaryCommand, &tds__SendAuxiliaryCommandResponse);
  6623. if (soap->error)
  6624. return soap->error;
  6625. soap->encodingStyle = NULL;
  6626. soap_serializeheader(soap);
  6627. tds__SendAuxiliaryCommandResponse.soap_serialize(soap);
  6628. if (soap_begin_count(soap))
  6629. return soap->error;
  6630. if (soap->mode & SOAP_IO_LENGTH)
  6631. { if (soap_envelope_begin_out(soap)
  6632. || soap_putheader(soap)
  6633. || soap_body_begin_out(soap)
  6634. || tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
  6635. || soap_body_end_out(soap)
  6636. || soap_envelope_end_out(soap))
  6637. return soap->error;
  6638. };
  6639. if (soap_end_count(soap)
  6640. || soap_response(soap, SOAP_OK)
  6641. || soap_envelope_begin_out(soap)
  6642. || soap_putheader(soap)
  6643. || soap_body_begin_out(soap)
  6644. || tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
  6645. || soap_body_end_out(soap)
  6646. || soap_envelope_end_out(soap)
  6647. || soap_end_send(soap))
  6648. return soap->error;
  6649. return soap_closesock(soap);
  6650. }
  6651. static int serve___tds__GetCACertificates_(DeviceBindingService *soap)
  6652. { struct __tds__GetCACertificates_ soap_tmp___tds__GetCACertificates_;
  6653. _tds__GetCACertificatesResponse tds__GetCACertificatesResponse;
  6654. tds__GetCACertificatesResponse.soap_default(soap);
  6655. soap_default___tds__GetCACertificates_(soap, &soap_tmp___tds__GetCACertificates_);
  6656. if (!soap_get___tds__GetCACertificates_(soap, &soap_tmp___tds__GetCACertificates_, "-tds:GetCACertificates", NULL))
  6657. return soap->error;
  6658. if (soap_body_end_in(soap)
  6659. || soap_envelope_end_in(soap)
  6660. || soap_end_recv(soap))
  6661. return soap->error;
  6662. soap->error = soap->GetCACertificates_(soap_tmp___tds__GetCACertificates_.tds__GetCACertificates, &tds__GetCACertificatesResponse);
  6663. if (soap->error)
  6664. return soap->error;
  6665. soap->encodingStyle = NULL;
  6666. soap_serializeheader(soap);
  6667. tds__GetCACertificatesResponse.soap_serialize(soap);
  6668. if (soap_begin_count(soap))
  6669. return soap->error;
  6670. if (soap->mode & SOAP_IO_LENGTH)
  6671. { if (soap_envelope_begin_out(soap)
  6672. || soap_putheader(soap)
  6673. || soap_body_begin_out(soap)
  6674. || tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
  6675. || soap_body_end_out(soap)
  6676. || soap_envelope_end_out(soap))
  6677. return soap->error;
  6678. };
  6679. if (soap_end_count(soap)
  6680. || soap_response(soap, SOAP_OK)
  6681. || soap_envelope_begin_out(soap)
  6682. || soap_putheader(soap)
  6683. || soap_body_begin_out(soap)
  6684. || tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
  6685. || soap_body_end_out(soap)
  6686. || soap_envelope_end_out(soap)
  6687. || soap_end_send(soap))
  6688. return soap->error;
  6689. return soap_closesock(soap);
  6690. }
  6691. static int serve___tds__LoadCertificateWithPrivateKey_(DeviceBindingService *soap)
  6692. { struct __tds__LoadCertificateWithPrivateKey_ soap_tmp___tds__LoadCertificateWithPrivateKey_;
  6693. _tds__LoadCertificateWithPrivateKeyResponse tds__LoadCertificateWithPrivateKeyResponse;
  6694. tds__LoadCertificateWithPrivateKeyResponse.soap_default(soap);
  6695. soap_default___tds__LoadCertificateWithPrivateKey_(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey_);
  6696. if (!soap_get___tds__LoadCertificateWithPrivateKey_(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey_, "-tds:LoadCertificateWithPrivateKey", NULL))
  6697. return soap->error;
  6698. if (soap_body_end_in(soap)
  6699. || soap_envelope_end_in(soap)
  6700. || soap_end_recv(soap))
  6701. return soap->error;
  6702. soap->error = soap->LoadCertificateWithPrivateKey_(soap_tmp___tds__LoadCertificateWithPrivateKey_.tds__LoadCertificateWithPrivateKey, &tds__LoadCertificateWithPrivateKeyResponse);
  6703. if (soap->error)
  6704. return soap->error;
  6705. soap->encodingStyle = NULL;
  6706. soap_serializeheader(soap);
  6707. tds__LoadCertificateWithPrivateKeyResponse.soap_serialize(soap);
  6708. if (soap_begin_count(soap))
  6709. return soap->error;
  6710. if (soap->mode & SOAP_IO_LENGTH)
  6711. { if (soap_envelope_begin_out(soap)
  6712. || soap_putheader(soap)
  6713. || soap_body_begin_out(soap)
  6714. || tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
  6715. || soap_body_end_out(soap)
  6716. || soap_envelope_end_out(soap))
  6717. return soap->error;
  6718. };
  6719. if (soap_end_count(soap)
  6720. || soap_response(soap, SOAP_OK)
  6721. || soap_envelope_begin_out(soap)
  6722. || soap_putheader(soap)
  6723. || soap_body_begin_out(soap)
  6724. || tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
  6725. || soap_body_end_out(soap)
  6726. || soap_envelope_end_out(soap)
  6727. || soap_end_send(soap))
  6728. return soap->error;
  6729. return soap_closesock(soap);
  6730. }
  6731. static int serve___tds__GetCertificateInformation_(DeviceBindingService *soap)
  6732. { struct __tds__GetCertificateInformation_ soap_tmp___tds__GetCertificateInformation_;
  6733. _tds__GetCertificateInformationResponse tds__GetCertificateInformationResponse;
  6734. tds__GetCertificateInformationResponse.soap_default(soap);
  6735. soap_default___tds__GetCertificateInformation_(soap, &soap_tmp___tds__GetCertificateInformation_);
  6736. if (!soap_get___tds__GetCertificateInformation_(soap, &soap_tmp___tds__GetCertificateInformation_, "-tds:GetCertificateInformation", NULL))
  6737. return soap->error;
  6738. if (soap_body_end_in(soap)
  6739. || soap_envelope_end_in(soap)
  6740. || soap_end_recv(soap))
  6741. return soap->error;
  6742. soap->error = soap->GetCertificateInformation_(soap_tmp___tds__GetCertificateInformation_.tds__GetCertificateInformation, &tds__GetCertificateInformationResponse);
  6743. if (soap->error)
  6744. return soap->error;
  6745. soap->encodingStyle = NULL;
  6746. soap_serializeheader(soap);
  6747. tds__GetCertificateInformationResponse.soap_serialize(soap);
  6748. if (soap_begin_count(soap))
  6749. return soap->error;
  6750. if (soap->mode & SOAP_IO_LENGTH)
  6751. { if (soap_envelope_begin_out(soap)
  6752. || soap_putheader(soap)
  6753. || soap_body_begin_out(soap)
  6754. || tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
  6755. || soap_body_end_out(soap)
  6756. || soap_envelope_end_out(soap))
  6757. return soap->error;
  6758. };
  6759. if (soap_end_count(soap)
  6760. || soap_response(soap, SOAP_OK)
  6761. || soap_envelope_begin_out(soap)
  6762. || soap_putheader(soap)
  6763. || soap_body_begin_out(soap)
  6764. || tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
  6765. || soap_body_end_out(soap)
  6766. || soap_envelope_end_out(soap)
  6767. || soap_end_send(soap))
  6768. return soap->error;
  6769. return soap_closesock(soap);
  6770. }
  6771. static int serve___tds__LoadCACertificates_(DeviceBindingService *soap)
  6772. { struct __tds__LoadCACertificates_ soap_tmp___tds__LoadCACertificates_;
  6773. _tds__LoadCACertificatesResponse tds__LoadCACertificatesResponse;
  6774. tds__LoadCACertificatesResponse.soap_default(soap);
  6775. soap_default___tds__LoadCACertificates_(soap, &soap_tmp___tds__LoadCACertificates_);
  6776. if (!soap_get___tds__LoadCACertificates_(soap, &soap_tmp___tds__LoadCACertificates_, "-tds:LoadCACertificates", NULL))
  6777. return soap->error;
  6778. if (soap_body_end_in(soap)
  6779. || soap_envelope_end_in(soap)
  6780. || soap_end_recv(soap))
  6781. return soap->error;
  6782. soap->error = soap->LoadCACertificates_(soap_tmp___tds__LoadCACertificates_.tds__LoadCACertificates, &tds__LoadCACertificatesResponse);
  6783. if (soap->error)
  6784. return soap->error;
  6785. soap->encodingStyle = NULL;
  6786. soap_serializeheader(soap);
  6787. tds__LoadCACertificatesResponse.soap_serialize(soap);
  6788. if (soap_begin_count(soap))
  6789. return soap->error;
  6790. if (soap->mode & SOAP_IO_LENGTH)
  6791. { if (soap_envelope_begin_out(soap)
  6792. || soap_putheader(soap)
  6793. || soap_body_begin_out(soap)
  6794. || tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
  6795. || soap_body_end_out(soap)
  6796. || soap_envelope_end_out(soap))
  6797. return soap->error;
  6798. };
  6799. if (soap_end_count(soap)
  6800. || soap_response(soap, SOAP_OK)
  6801. || soap_envelope_begin_out(soap)
  6802. || soap_putheader(soap)
  6803. || soap_body_begin_out(soap)
  6804. || tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
  6805. || soap_body_end_out(soap)
  6806. || soap_envelope_end_out(soap)
  6807. || soap_end_send(soap))
  6808. return soap->error;
  6809. return soap_closesock(soap);
  6810. }
  6811. static int serve___tds__CreateDot1XConfiguration_(DeviceBindingService *soap)
  6812. { struct __tds__CreateDot1XConfiguration_ soap_tmp___tds__CreateDot1XConfiguration_;
  6813. _tds__CreateDot1XConfigurationResponse tds__CreateDot1XConfigurationResponse;
  6814. tds__CreateDot1XConfigurationResponse.soap_default(soap);
  6815. soap_default___tds__CreateDot1XConfiguration_(soap, &soap_tmp___tds__CreateDot1XConfiguration_);
  6816. if (!soap_get___tds__CreateDot1XConfiguration_(soap, &soap_tmp___tds__CreateDot1XConfiguration_, "-tds:CreateDot1XConfiguration", NULL))
  6817. return soap->error;
  6818. if (soap_body_end_in(soap)
  6819. || soap_envelope_end_in(soap)
  6820. || soap_end_recv(soap))
  6821. return soap->error;
  6822. soap->error = soap->CreateDot1XConfiguration_(soap_tmp___tds__CreateDot1XConfiguration_.tds__CreateDot1XConfiguration, &tds__CreateDot1XConfigurationResponse);
  6823. if (soap->error)
  6824. return soap->error;
  6825. soap->encodingStyle = NULL;
  6826. soap_serializeheader(soap);
  6827. tds__CreateDot1XConfigurationResponse.soap_serialize(soap);
  6828. if (soap_begin_count(soap))
  6829. return soap->error;
  6830. if (soap->mode & SOAP_IO_LENGTH)
  6831. { if (soap_envelope_begin_out(soap)
  6832. || soap_putheader(soap)
  6833. || soap_body_begin_out(soap)
  6834. || tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
  6835. || soap_body_end_out(soap)
  6836. || soap_envelope_end_out(soap))
  6837. return soap->error;
  6838. };
  6839. if (soap_end_count(soap)
  6840. || soap_response(soap, SOAP_OK)
  6841. || soap_envelope_begin_out(soap)
  6842. || soap_putheader(soap)
  6843. || soap_body_begin_out(soap)
  6844. || tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
  6845. || soap_body_end_out(soap)
  6846. || soap_envelope_end_out(soap)
  6847. || soap_end_send(soap))
  6848. return soap->error;
  6849. return soap_closesock(soap);
  6850. }
  6851. static int serve___tds__SetDot1XConfiguration_(DeviceBindingService *soap)
  6852. { struct __tds__SetDot1XConfiguration_ soap_tmp___tds__SetDot1XConfiguration_;
  6853. _tds__SetDot1XConfigurationResponse tds__SetDot1XConfigurationResponse;
  6854. tds__SetDot1XConfigurationResponse.soap_default(soap);
  6855. soap_default___tds__SetDot1XConfiguration_(soap, &soap_tmp___tds__SetDot1XConfiguration_);
  6856. if (!soap_get___tds__SetDot1XConfiguration_(soap, &soap_tmp___tds__SetDot1XConfiguration_, "-tds:SetDot1XConfiguration", NULL))
  6857. return soap->error;
  6858. if (soap_body_end_in(soap)
  6859. || soap_envelope_end_in(soap)
  6860. || soap_end_recv(soap))
  6861. return soap->error;
  6862. soap->error = soap->SetDot1XConfiguration_(soap_tmp___tds__SetDot1XConfiguration_.tds__SetDot1XConfiguration, &tds__SetDot1XConfigurationResponse);
  6863. if (soap->error)
  6864. return soap->error;
  6865. soap->encodingStyle = NULL;
  6866. soap_serializeheader(soap);
  6867. tds__SetDot1XConfigurationResponse.soap_serialize(soap);
  6868. if (soap_begin_count(soap))
  6869. return soap->error;
  6870. if (soap->mode & SOAP_IO_LENGTH)
  6871. { if (soap_envelope_begin_out(soap)
  6872. || soap_putheader(soap)
  6873. || soap_body_begin_out(soap)
  6874. || tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
  6875. || soap_body_end_out(soap)
  6876. || soap_envelope_end_out(soap))
  6877. return soap->error;
  6878. };
  6879. if (soap_end_count(soap)
  6880. || soap_response(soap, SOAP_OK)
  6881. || soap_envelope_begin_out(soap)
  6882. || soap_putheader(soap)
  6883. || soap_body_begin_out(soap)
  6884. || tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
  6885. || soap_body_end_out(soap)
  6886. || soap_envelope_end_out(soap)
  6887. || soap_end_send(soap))
  6888. return soap->error;
  6889. return soap_closesock(soap);
  6890. }
  6891. static int serve___tds__GetDot1XConfiguration_(DeviceBindingService *soap)
  6892. { struct __tds__GetDot1XConfiguration_ soap_tmp___tds__GetDot1XConfiguration_;
  6893. _tds__GetDot1XConfigurationResponse tds__GetDot1XConfigurationResponse;
  6894. tds__GetDot1XConfigurationResponse.soap_default(soap);
  6895. soap_default___tds__GetDot1XConfiguration_(soap, &soap_tmp___tds__GetDot1XConfiguration_);
  6896. if (!soap_get___tds__GetDot1XConfiguration_(soap, &soap_tmp___tds__GetDot1XConfiguration_, "-tds:GetDot1XConfiguration", NULL))
  6897. return soap->error;
  6898. if (soap_body_end_in(soap)
  6899. || soap_envelope_end_in(soap)
  6900. || soap_end_recv(soap))
  6901. return soap->error;
  6902. soap->error = soap->GetDot1XConfiguration_(soap_tmp___tds__GetDot1XConfiguration_.tds__GetDot1XConfiguration, &tds__GetDot1XConfigurationResponse);
  6903. if (soap->error)
  6904. return soap->error;
  6905. soap->encodingStyle = NULL;
  6906. soap_serializeheader(soap);
  6907. tds__GetDot1XConfigurationResponse.soap_serialize(soap);
  6908. if (soap_begin_count(soap))
  6909. return soap->error;
  6910. if (soap->mode & SOAP_IO_LENGTH)
  6911. { if (soap_envelope_begin_out(soap)
  6912. || soap_putheader(soap)
  6913. || soap_body_begin_out(soap)
  6914. || tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
  6915. || soap_body_end_out(soap)
  6916. || soap_envelope_end_out(soap))
  6917. return soap->error;
  6918. };
  6919. if (soap_end_count(soap)
  6920. || soap_response(soap, SOAP_OK)
  6921. || soap_envelope_begin_out(soap)
  6922. || soap_putheader(soap)
  6923. || soap_body_begin_out(soap)
  6924. || tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
  6925. || soap_body_end_out(soap)
  6926. || soap_envelope_end_out(soap)
  6927. || soap_end_send(soap))
  6928. return soap->error;
  6929. return soap_closesock(soap);
  6930. }
  6931. static int serve___tds__GetDot1XConfigurations_(DeviceBindingService *soap)
  6932. { struct __tds__GetDot1XConfigurations_ soap_tmp___tds__GetDot1XConfigurations_;
  6933. _tds__GetDot1XConfigurationsResponse tds__GetDot1XConfigurationsResponse;
  6934. tds__GetDot1XConfigurationsResponse.soap_default(soap);
  6935. soap_default___tds__GetDot1XConfigurations_(soap, &soap_tmp___tds__GetDot1XConfigurations_);
  6936. if (!soap_get___tds__GetDot1XConfigurations_(soap, &soap_tmp___tds__GetDot1XConfigurations_, "-tds:GetDot1XConfigurations", NULL))
  6937. return soap->error;
  6938. if (soap_body_end_in(soap)
  6939. || soap_envelope_end_in(soap)
  6940. || soap_end_recv(soap))
  6941. return soap->error;
  6942. soap->error = soap->GetDot1XConfigurations_(soap_tmp___tds__GetDot1XConfigurations_.tds__GetDot1XConfigurations, &tds__GetDot1XConfigurationsResponse);
  6943. if (soap->error)
  6944. return soap->error;
  6945. soap->encodingStyle = NULL;
  6946. soap_serializeheader(soap);
  6947. tds__GetDot1XConfigurationsResponse.soap_serialize(soap);
  6948. if (soap_begin_count(soap))
  6949. return soap->error;
  6950. if (soap->mode & SOAP_IO_LENGTH)
  6951. { if (soap_envelope_begin_out(soap)
  6952. || soap_putheader(soap)
  6953. || soap_body_begin_out(soap)
  6954. || tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
  6955. || soap_body_end_out(soap)
  6956. || soap_envelope_end_out(soap))
  6957. return soap->error;
  6958. };
  6959. if (soap_end_count(soap)
  6960. || soap_response(soap, SOAP_OK)
  6961. || soap_envelope_begin_out(soap)
  6962. || soap_putheader(soap)
  6963. || soap_body_begin_out(soap)
  6964. || tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
  6965. || soap_body_end_out(soap)
  6966. || soap_envelope_end_out(soap)
  6967. || soap_end_send(soap))
  6968. return soap->error;
  6969. return soap_closesock(soap);
  6970. }
  6971. static int serve___tds__DeleteDot1XConfiguration_(DeviceBindingService *soap)
  6972. { struct __tds__DeleteDot1XConfiguration_ soap_tmp___tds__DeleteDot1XConfiguration_;
  6973. _tds__DeleteDot1XConfigurationResponse tds__DeleteDot1XConfigurationResponse;
  6974. tds__DeleteDot1XConfigurationResponse.soap_default(soap);
  6975. soap_default___tds__DeleteDot1XConfiguration_(soap, &soap_tmp___tds__DeleteDot1XConfiguration_);
  6976. if (!soap_get___tds__DeleteDot1XConfiguration_(soap, &soap_tmp___tds__DeleteDot1XConfiguration_, "-tds:DeleteDot1XConfiguration", NULL))
  6977. return soap->error;
  6978. if (soap_body_end_in(soap)
  6979. || soap_envelope_end_in(soap)
  6980. || soap_end_recv(soap))
  6981. return soap->error;
  6982. soap->error = soap->DeleteDot1XConfiguration_(soap_tmp___tds__DeleteDot1XConfiguration_.tds__DeleteDot1XConfiguration, &tds__DeleteDot1XConfigurationResponse);
  6983. if (soap->error)
  6984. return soap->error;
  6985. soap->encodingStyle = NULL;
  6986. soap_serializeheader(soap);
  6987. tds__DeleteDot1XConfigurationResponse.soap_serialize(soap);
  6988. if (soap_begin_count(soap))
  6989. return soap->error;
  6990. if (soap->mode & SOAP_IO_LENGTH)
  6991. { if (soap_envelope_begin_out(soap)
  6992. || soap_putheader(soap)
  6993. || soap_body_begin_out(soap)
  6994. || tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
  6995. || soap_body_end_out(soap)
  6996. || soap_envelope_end_out(soap))
  6997. return soap->error;
  6998. };
  6999. if (soap_end_count(soap)
  7000. || soap_response(soap, SOAP_OK)
  7001. || soap_envelope_begin_out(soap)
  7002. || soap_putheader(soap)
  7003. || soap_body_begin_out(soap)
  7004. || tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
  7005. || soap_body_end_out(soap)
  7006. || soap_envelope_end_out(soap)
  7007. || soap_end_send(soap))
  7008. return soap->error;
  7009. return soap_closesock(soap);
  7010. }
  7011. static int serve___tds__GetDot11Capabilities_(DeviceBindingService *soap)
  7012. { struct __tds__GetDot11Capabilities_ soap_tmp___tds__GetDot11Capabilities_;
  7013. _tds__GetDot11CapabilitiesResponse tds__GetDot11CapabilitiesResponse;
  7014. tds__GetDot11CapabilitiesResponse.soap_default(soap);
  7015. soap_default___tds__GetDot11Capabilities_(soap, &soap_tmp___tds__GetDot11Capabilities_);
  7016. if (!soap_get___tds__GetDot11Capabilities_(soap, &soap_tmp___tds__GetDot11Capabilities_, "-tds:GetDot11Capabilities", NULL))
  7017. return soap->error;
  7018. if (soap_body_end_in(soap)
  7019. || soap_envelope_end_in(soap)
  7020. || soap_end_recv(soap))
  7021. return soap->error;
  7022. soap->error = soap->GetDot11Capabilities_(soap_tmp___tds__GetDot11Capabilities_.tds__GetDot11Capabilities, &tds__GetDot11CapabilitiesResponse);
  7023. if (soap->error)
  7024. return soap->error;
  7025. soap->encodingStyle = NULL;
  7026. soap_serializeheader(soap);
  7027. tds__GetDot11CapabilitiesResponse.soap_serialize(soap);
  7028. if (soap_begin_count(soap))
  7029. return soap->error;
  7030. if (soap->mode & SOAP_IO_LENGTH)
  7031. { if (soap_envelope_begin_out(soap)
  7032. || soap_putheader(soap)
  7033. || soap_body_begin_out(soap)
  7034. || tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
  7035. || soap_body_end_out(soap)
  7036. || soap_envelope_end_out(soap))
  7037. return soap->error;
  7038. };
  7039. if (soap_end_count(soap)
  7040. || soap_response(soap, SOAP_OK)
  7041. || soap_envelope_begin_out(soap)
  7042. || soap_putheader(soap)
  7043. || soap_body_begin_out(soap)
  7044. || tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
  7045. || soap_body_end_out(soap)
  7046. || soap_envelope_end_out(soap)
  7047. || soap_end_send(soap))
  7048. return soap->error;
  7049. return soap_closesock(soap);
  7050. }
  7051. static int serve___tds__GetDot11Status_(DeviceBindingService *soap)
  7052. { struct __tds__GetDot11Status_ soap_tmp___tds__GetDot11Status_;
  7053. _tds__GetDot11StatusResponse tds__GetDot11StatusResponse;
  7054. tds__GetDot11StatusResponse.soap_default(soap);
  7055. soap_default___tds__GetDot11Status_(soap, &soap_tmp___tds__GetDot11Status_);
  7056. if (!soap_get___tds__GetDot11Status_(soap, &soap_tmp___tds__GetDot11Status_, "-tds:GetDot11Status", NULL))
  7057. return soap->error;
  7058. if (soap_body_end_in(soap)
  7059. || soap_envelope_end_in(soap)
  7060. || soap_end_recv(soap))
  7061. return soap->error;
  7062. soap->error = soap->GetDot11Status_(soap_tmp___tds__GetDot11Status_.tds__GetDot11Status, &tds__GetDot11StatusResponse);
  7063. if (soap->error)
  7064. return soap->error;
  7065. soap->encodingStyle = NULL;
  7066. soap_serializeheader(soap);
  7067. tds__GetDot11StatusResponse.soap_serialize(soap);
  7068. if (soap_begin_count(soap))
  7069. return soap->error;
  7070. if (soap->mode & SOAP_IO_LENGTH)
  7071. { if (soap_envelope_begin_out(soap)
  7072. || soap_putheader(soap)
  7073. || soap_body_begin_out(soap)
  7074. || tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
  7075. || soap_body_end_out(soap)
  7076. || soap_envelope_end_out(soap))
  7077. return soap->error;
  7078. };
  7079. if (soap_end_count(soap)
  7080. || soap_response(soap, SOAP_OK)
  7081. || soap_envelope_begin_out(soap)
  7082. || soap_putheader(soap)
  7083. || soap_body_begin_out(soap)
  7084. || tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
  7085. || soap_body_end_out(soap)
  7086. || soap_envelope_end_out(soap)
  7087. || soap_end_send(soap))
  7088. return soap->error;
  7089. return soap_closesock(soap);
  7090. }
  7091. static int serve___tds__ScanAvailableDot11Networks_(DeviceBindingService *soap)
  7092. { struct __tds__ScanAvailableDot11Networks_ soap_tmp___tds__ScanAvailableDot11Networks_;
  7093. _tds__ScanAvailableDot11NetworksResponse tds__ScanAvailableDot11NetworksResponse;
  7094. tds__ScanAvailableDot11NetworksResponse.soap_default(soap);
  7095. soap_default___tds__ScanAvailableDot11Networks_(soap, &soap_tmp___tds__ScanAvailableDot11Networks_);
  7096. if (!soap_get___tds__ScanAvailableDot11Networks_(soap, &soap_tmp___tds__ScanAvailableDot11Networks_, "-tds:ScanAvailableDot11Networks", NULL))
  7097. return soap->error;
  7098. if (soap_body_end_in(soap)
  7099. || soap_envelope_end_in(soap)
  7100. || soap_end_recv(soap))
  7101. return soap->error;
  7102. soap->error = soap->ScanAvailableDot11Networks_(soap_tmp___tds__ScanAvailableDot11Networks_.tds__ScanAvailableDot11Networks, &tds__ScanAvailableDot11NetworksResponse);
  7103. if (soap->error)
  7104. return soap->error;
  7105. soap->encodingStyle = NULL;
  7106. soap_serializeheader(soap);
  7107. tds__ScanAvailableDot11NetworksResponse.soap_serialize(soap);
  7108. if (soap_begin_count(soap))
  7109. return soap->error;
  7110. if (soap->mode & SOAP_IO_LENGTH)
  7111. { if (soap_envelope_begin_out(soap)
  7112. || soap_putheader(soap)
  7113. || soap_body_begin_out(soap)
  7114. || tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
  7115. || soap_body_end_out(soap)
  7116. || soap_envelope_end_out(soap))
  7117. return soap->error;
  7118. };
  7119. if (soap_end_count(soap)
  7120. || soap_response(soap, SOAP_OK)
  7121. || soap_envelope_begin_out(soap)
  7122. || soap_putheader(soap)
  7123. || soap_body_begin_out(soap)
  7124. || tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
  7125. || soap_body_end_out(soap)
  7126. || soap_envelope_end_out(soap)
  7127. || soap_end_send(soap))
  7128. return soap->error;
  7129. return soap_closesock(soap);
  7130. }
  7131. static int serve___tds__GetSystemUris_(DeviceBindingService *soap)
  7132. { struct __tds__GetSystemUris_ soap_tmp___tds__GetSystemUris_;
  7133. _tds__GetSystemUrisResponse tds__GetSystemUrisResponse;
  7134. tds__GetSystemUrisResponse.soap_default(soap);
  7135. soap_default___tds__GetSystemUris_(soap, &soap_tmp___tds__GetSystemUris_);
  7136. if (!soap_get___tds__GetSystemUris_(soap, &soap_tmp___tds__GetSystemUris_, "-tds:GetSystemUris", NULL))
  7137. return soap->error;
  7138. if (soap_body_end_in(soap)
  7139. || soap_envelope_end_in(soap)
  7140. || soap_end_recv(soap))
  7141. return soap->error;
  7142. soap->error = soap->GetSystemUris_(soap_tmp___tds__GetSystemUris_.tds__GetSystemUris, &tds__GetSystemUrisResponse);
  7143. if (soap->error)
  7144. return soap->error;
  7145. soap->encodingStyle = NULL;
  7146. soap_serializeheader(soap);
  7147. tds__GetSystemUrisResponse.soap_serialize(soap);
  7148. if (soap_begin_count(soap))
  7149. return soap->error;
  7150. if (soap->mode & SOAP_IO_LENGTH)
  7151. { if (soap_envelope_begin_out(soap)
  7152. || soap_putheader(soap)
  7153. || soap_body_begin_out(soap)
  7154. || tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
  7155. || soap_body_end_out(soap)
  7156. || soap_envelope_end_out(soap))
  7157. return soap->error;
  7158. };
  7159. if (soap_end_count(soap)
  7160. || soap_response(soap, SOAP_OK)
  7161. || soap_envelope_begin_out(soap)
  7162. || soap_putheader(soap)
  7163. || soap_body_begin_out(soap)
  7164. || tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
  7165. || soap_body_end_out(soap)
  7166. || soap_envelope_end_out(soap)
  7167. || soap_end_send(soap))
  7168. return soap->error;
  7169. return soap_closesock(soap);
  7170. }
  7171. static int serve___tds__StartFirmwareUpgrade_(DeviceBindingService *soap)
  7172. { struct __tds__StartFirmwareUpgrade_ soap_tmp___tds__StartFirmwareUpgrade_;
  7173. _tds__StartFirmwareUpgradeResponse tds__StartFirmwareUpgradeResponse;
  7174. tds__StartFirmwareUpgradeResponse.soap_default(soap);
  7175. soap_default___tds__StartFirmwareUpgrade_(soap, &soap_tmp___tds__StartFirmwareUpgrade_);
  7176. if (!soap_get___tds__StartFirmwareUpgrade_(soap, &soap_tmp___tds__StartFirmwareUpgrade_, "-tds:StartFirmwareUpgrade", NULL))
  7177. return soap->error;
  7178. if (soap_body_end_in(soap)
  7179. || soap_envelope_end_in(soap)
  7180. || soap_end_recv(soap))
  7181. return soap->error;
  7182. soap->error = soap->StartFirmwareUpgrade_(soap_tmp___tds__StartFirmwareUpgrade_.tds__StartFirmwareUpgrade, &tds__StartFirmwareUpgradeResponse);
  7183. if (soap->error)
  7184. return soap->error;
  7185. soap->encodingStyle = NULL;
  7186. soap_serializeheader(soap);
  7187. tds__StartFirmwareUpgradeResponse.soap_serialize(soap);
  7188. if (soap_begin_count(soap))
  7189. return soap->error;
  7190. if (soap->mode & SOAP_IO_LENGTH)
  7191. { if (soap_envelope_begin_out(soap)
  7192. || soap_putheader(soap)
  7193. || soap_body_begin_out(soap)
  7194. || tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
  7195. || soap_body_end_out(soap)
  7196. || soap_envelope_end_out(soap))
  7197. return soap->error;
  7198. };
  7199. if (soap_end_count(soap)
  7200. || soap_response(soap, SOAP_OK)
  7201. || soap_envelope_begin_out(soap)
  7202. || soap_putheader(soap)
  7203. || soap_body_begin_out(soap)
  7204. || tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
  7205. || soap_body_end_out(soap)
  7206. || soap_envelope_end_out(soap)
  7207. || soap_end_send(soap))
  7208. return soap->error;
  7209. return soap_closesock(soap);
  7210. }
  7211. static int serve___tds__StartSystemRestore_(DeviceBindingService *soap)
  7212. { struct __tds__StartSystemRestore_ soap_tmp___tds__StartSystemRestore_;
  7213. _tds__StartSystemRestoreResponse tds__StartSystemRestoreResponse;
  7214. tds__StartSystemRestoreResponse.soap_default(soap);
  7215. soap_default___tds__StartSystemRestore_(soap, &soap_tmp___tds__StartSystemRestore_);
  7216. if (!soap_get___tds__StartSystemRestore_(soap, &soap_tmp___tds__StartSystemRestore_, "-tds:StartSystemRestore", NULL))
  7217. return soap->error;
  7218. if (soap_body_end_in(soap)
  7219. || soap_envelope_end_in(soap)
  7220. || soap_end_recv(soap))
  7221. return soap->error;
  7222. soap->error = soap->StartSystemRestore_(soap_tmp___tds__StartSystemRestore_.tds__StartSystemRestore, &tds__StartSystemRestoreResponse);
  7223. if (soap->error)
  7224. return soap->error;
  7225. soap->encodingStyle = NULL;
  7226. soap_serializeheader(soap);
  7227. tds__StartSystemRestoreResponse.soap_serialize(soap);
  7228. if (soap_begin_count(soap))
  7229. return soap->error;
  7230. if (soap->mode & SOAP_IO_LENGTH)
  7231. { if (soap_envelope_begin_out(soap)
  7232. || soap_putheader(soap)
  7233. || soap_body_begin_out(soap)
  7234. || tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
  7235. || soap_body_end_out(soap)
  7236. || soap_envelope_end_out(soap))
  7237. return soap->error;
  7238. };
  7239. if (soap_end_count(soap)
  7240. || soap_response(soap, SOAP_OK)
  7241. || soap_envelope_begin_out(soap)
  7242. || soap_putheader(soap)
  7243. || soap_body_begin_out(soap)
  7244. || tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
  7245. || soap_body_end_out(soap)
  7246. || soap_envelope_end_out(soap)
  7247. || soap_end_send(soap))
  7248. return soap->error;
  7249. return soap_closesock(soap);
  7250. }
  7251. /* End of server object code */