NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on March 26, 2015, 10:57:22 AM

Title: NTWS Method error
Post by: walter.dasilva on March 26, 2015, 10:57:22 AM
Hi Bruce,

After update NT i´m getting some erros with my methods.

1. a simple method with 6 parameters and just one return (view with one table)

error:

If records(p_web.ServiceResultQueue) = 0
        TipoNegocioView{prop:order} = 'Tng:Descricao'
        Get(q:TipoNegocio,1)  <=====  NO MATCHING PROTOTYPE AVAILABLE
        xml.save(TipoNegocioView,'','tngRegistro')
        packet.append(sub(xml.xmldata,1,xml.xmldatalen))
      End ! Condition


2. all my parameters (NUMBER, DATE) are getting error with PICTURE. I change to String and it works fine.

Thanks,

Title: Re: NTWS Method error
Post by: Bruce on March 26, 2015, 09:42:45 PM
Hi Walter,

regarding the first - this is a bug which is fixed in the next build.
For now you can work around it by going to your Returns View and adding the filter.
1

that's all, just a 1.
then it should compile ok

I'll try and duplicate the second issue here.

cheers
Bruce
Title: Re: NTWS Method error
Post by: Bruce on March 26, 2015, 09:54:30 PM
thanks for the report - all fixed in 8.43

cheers
Bruce
Title: Re: NTWS Method error
Post by: walter.dasilva on March 27, 2015, 05:23:54 AM
thanks