NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on April 30, 2015, 06:19:12 PM

Title: WSDL error in template code
Post by: markster on April 30, 2015, 06:19:12 PM
Bruce, If you have your WebService method Parameters stored in the local data section as a Group, and the Group has a prefix, the GenerateWsdl routine will not generate template code for the field type but only the field name, therefore causing an errorcode=2 when trying to parse the field and NO wsdl page being generated.

Regards,

Mark
Title: Re: WSDL error in template code
Post by: Bruce on May 01, 2015, 01:29:09 AM
can you post an example please Mark.
Title: Re: WSDL error in template code
Post by: markster on May 01, 2015, 09:01:47 AM
I was afraid you were going to say that :-\

Anyway, just open the enclosed demo app and look at the generated code for the dbCustomers method at the GenerateWSDL routine. You can alternate between correctly generated code and incorrectly generated code by removing/adding a prefix to the local data SomeGroup.

Mark

[attachment deleted by admin]
Title: Re: WSDL error in template code
Post by: Bruce on May 05, 2015, 03:47:18 AM
Thanks - fixed in 8.46

Cheers
Bruce