NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on May 23, 2019, 12:29:22 AM

Title: NetWebServiceMethod - problem in WSDL generation code
Post by: Thys on May 23, 2019, 12:29:22 AM
Hi,

I get errors in the code that a NetWebServiceMethod generates. In the first attached image, it shows the settings for an input parameter. In the second attached image, it shows where a compile error happens.

Firstly, the text in the generated code is different from the text I have in the parameter. The text used to be 'Last ID (exclusive) from where response is read.' and it is now 'Last Vehicle ID from where response is read.' - which looks like the template "saves" old value in some way or another.

Secondly, the code has two single quotes on each side which shouldn't be like that.

I've tried all of the normal things - like deleting CLW, OBJ etc. - with no improvement. Any suggestions?

Thanks
Thys
Title: Re: NetWebServiceMethod - problem in WSDL generation code
Post by: Bruce on May 26, 2019, 10:17:42 PM
The description on that line is coming from the "local data description" - ie the description on your local data pad. (Like other things in the pad, it should not be in quotes there.)

That said you've overridden it on the template setting, so I think I'll adjust the template to use that if it exists.

cheers
Bruce


Title: Re: NetWebServiceMethod - problem in WSDL generation code
Post by: Thys on May 26, 2019, 10:41:02 PM
Ok, I see that the value comes from the data variable description - I missed that.

Thanks Bruce.