NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Benoit on September 23, 2016, 05:01:05 AM

Title: WSDL File problem - Nettalk Web Server release 9.13
Post by: Benoit on September 23, 2016, 05:01:05 AM
Hello everyone,
Does anyone else had problems with the update of the Nettalk Web Server version 9.01 to 9.13?

Here is my situation, the WSDL that is generated CONTAIN errors in the tag line of code <xs: element name = "Get_Contact_response">
All my procedures have the same _response, which is the last procedure of my web service.
in the file NetWSDL.clw I had to change the line:

SELF._addAttribute ('name', CLIP (SELF.ResponseWrapper))
for :
SELF._addAttribute ('name', CLIP (SELF.Declarations.Name) & '_ response')

Because SELF.ResponseWrapper always seems to have the same value, which is the last procedure of the Web Service.

Secondly, I have the message in the browser that my web service is 9.13 while my Web directory files are 9.14
In the statement of the file C: \ Clarion10 \ accessory \ libsrc \ win \ NetWeb \ web \ scripts \ netweb.js there was
; Var NetTalkVersion = 9.14

Thank you
Title: Re: WSDL File problem - Nettalk Web Server release 9.13
Post by: Bruce on September 25, 2016, 10:54:21 PM
Hi Benoit,

>> Secondly, I have the message in the browser that my web service is 9.13 while my Web directory files are 9.14

the first install file I uploaded had this issue - please just re-download and re-install.

>> Does anyone else had problems with the update of the Nettalk Web Server version 9.01 to 9.13?

there was an update where the "response wrapper" is now a setting in the template (ie you have control over it.) It sounds like you just need to set it there.

Cheers
Bruce
Title: Re: WSDL File problem - Nettalk Web Server release 9.13
Post by: Benoit on September 26, 2016, 06:24:42 AM
Hi Bruce,
The fact is that all the response wrapper was already set with de procedure name.
The first thing I did is to read all the change from my version 9.01 to 9.13 and did see this improvment.

But

For exemple, if I go to the NetwebService Procedure, in the Methods Tab, and change the order of last procedure, then now it's this one that is repeating in all the response line of the Wsdl

pretty weird

i will try to redownload and reinstall

thanks
Title: Re: WSDL File problem - Nettalk Web Server release 9.13
Post by: Benoit on September 26, 2016, 06:40:59 AM
Ok Bruce,

I juste redownload this link : http://www.capesoft.com/ftp/public/nettalk9serverC7AndUpInstall.saf

and it is still the ; Var NetTalkVersion = 9.14

Benoit
Title: Re: WSDL File problem - Nettalk Web Server release 9.13
Post by: Bruce on September 27, 2016, 12:37:44 AM
Hi Benoit,

sorry mate, I think the file may be stuck in your cache.
But no matter, the change is easy to make on your side;

in \clarion\accessory\libsrc\win\netweb\web\scripts\netweb.js
there's a version right at the top of that file, change it from 9.14 to 9.13

Cheers
Bruce