NetTalk Central

Author Topic: WebService NT8-10 Upgrade  (Read 4215 times)

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
WebService NT8-10 Upgrade
« on: September 06, 2017, 03:06:40 PM »
After upgrading from NT8 to 10.05 I get the following 2 errors for every NewWebServiceMethos Procedure:

Routine not defined: EXAMPLESIMPLERESPONSE
Routine not defined: EXAMPLESOAPRESPONSE

Looking in the code I find
Code: [Select]
Examples  Routine
! Start of "Start of Examples Routine"
! [Priority 5000]

! End of "Start of Examples Routine"
  do ExampleSoap11Request
  do ExampleSOAPResponse
  do ExampleSoap12Request
  do ExampleSOAPResponse
  do ExamplePostRequest
  do ExampleSimpleResponse
  do ExampleGetRequest
  do ExampleSimpleResponse
  do ExampleRestGetRequestXML ! rest get for xml response
  do ExampleSimpleResponse    ! response in xml format
  ! Start of "End of Examples Routine"
  ! [Priority 5000]
 
  ! End of "End of Examples Routine"

ExampleSOAPResponse and ExampleSimpleResponse are not defined anywhere in the procedure.  The other of course are.
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: WebService NT8-10 Upgrade
« Reply #1 on: September 07, 2017, 04:20:54 AM »
I think it's caused by an error in the template. It actually tests for the presence of JFiles, so if you enable "Generate JSON Object" the error should go away.

@Bruce: I reported it on Skype (CLC) on August 8. and you would look into it. Maybe you forgot.

Peter

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Re: WebService NT8-10 Upgrade
« Reply #2 on: September 07, 2017, 11:17:57 AM »
I don't have Jfile, so enabling "Generate JSON Object" doesn't do anything.  The only change the affects the problem is to disable XML support, but then I don't have a service any more.
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: WebService NT8-10 Upgrade
« Reply #3 on: September 08, 2017, 03:31:26 AM »
I'm working to fix that in 10.06

cheers
Bruce

update: 10.06 is up. Fixed I think.
« Last Edit: September 11, 2017, 06:23:21 AM by Bruce »