NetTalk Central

Author Topic: WSDL error in template code  (Read 3522 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
WSDL error in template code
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WSDL error in template code
« Reply #1 on: May 01, 2015, 01:29:09 AM »
can you post an example please Mark.

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: WSDL error in template code
« Reply #2 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]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WSDL error in template code
« Reply #3 on: May 05, 2015, 03:47:18 AM »
Thanks - fixed in 8.46

Cheers
Bruce