NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wolfgang Orth

Pages: [1] 2 3 ... 17
1
Hi Wolfgang,

I've tweaked the template to say

"Private (feel free to read the docs to see what this does)"

:)


Great idea!  ;D

Seriously though - I prefer to keep templates prompts as concise as is practical because there are so many of them. Trying to "document" each setting in the template leads to a very cluttered, and misunderstood interface.

yeeeees, but...!

I knew of your opinion about template prompts. On the other hand please understand our situation. We wade through these masses of template options, search for "something" of which we do not even know its name. Then I find "Private". 'Hmm, what is Private? What does it mean? Dunno. I have no time now to learn what this option is! I do not need Private,  I need to solve my problem. So where is that damned setting? I know it was there once! I know for sure!! Did Bruce remove because nobody ever used it? WHERE is that friggin' option? What can even be its name? Oh my, I better ask in the forum..."

You are right again, RTFM!

But what should I search for in the manual if I do not exactly know what to search for?
I know I want to exlude my method from the publicly visible documentaion.

Search for "documentation nettalk site:capesoft.com" returns a plethora of results.

And keep in mind many of us are non-native english speakers. Some with less, others with more accent...

I try to make my UI as verbose for users as possible. To help them in their daily work. And template dialogs are the (Clarion-)programmers daily UI.

That said, I have a slightly dofferent approach on template settings.

OTOH I do not write so many templates, so its much easier for me then for you.

But that's what my task is. Making your life difficult.....

 8)

2
yes, Private.
this is a closer "link".
https://www.capesoft.com/docs/NetTalk11/NetTalkWebFunctionality.htm#ServiceMethodSecurityTab

Bingo!

I knew it was there, but "Private" didn't say no nothing to me.

Maybe you could enhace the template promt for dumbos like me, with lets say "Exclude this Method from Documentations and WSDL".

Anyway, problem solved!

And another thank you for your Ngrok reply on my 3-P-NG-Post.


3
Maybe try the "Private" checkbox?

https://www.capesoft.com/docs/NetTalk11/NetTalkWebFunctionality.htm#NetWebServiceMethod

My dearest Jane,
so I knew it was there!
But when I needed it, I couldn't find it anymore. As so often.
And "Private" didn't rang any bell at me.

As always, you have hit the nail on my head!

Thank you very much.
I bow down in deepest appreciation
Wolfgang

4
Hello Bruce and all others,

one of my servers has several methods for internal use, some few others for public use.

My intention now is to not doisplay any documentation, parameters, whatever, of those for internal use.

I vaguely recall or at least believe to do, that there has been an option to display such NetWebServiceMethods. Or not. However, I can't find anything alike in NT 11.48. Has this option been in prior versions or did I did my memory fooled me once again?

For the moment I helped myself by putting an OMIT() at the top of each GenerateWSDL, GenerateDocumention and GenerateHelp. Those methods are still listed in the dropdows / list of buttons to pick any documention, pointing to /Methods?ThisSecretThat and so on. Those pages are empty now, but even for me this looks amateurish.

Did I overlook this checkmark?

Or maybe it could become a conditional option?

Any opinion on that?

thanks for reading
Wolfgang

5
Web Server - Ask For Help / Re: History of Nettalk 11 since 11.48
« on: February 23, 2022, 02:24:03 AM »
>> Does that mean that I have to re-issue my self-signed certificate when I compile with NT 11.51 or later?
no

Cool!

Thank you

6
Web Server - Ask For Help / Re: History of Nettalk 11 since 11.48
« on: February 22, 2022, 01:24:03 AM »
Hi Wolfgang...
I notice your history link is
https://www.capesoft.com/docs/NetTalk12/NetTalkHistory.htm
You might have more information reading the NetTalk 11 history list;
https://www.capesoft.com/docs/NetTalk11/NetTalkHistory.htm
Cheers
Bruce

Ah, okay! As I did not find anything 11-related, I thought this page was the official history list.

> NetAcme:
> Change:
> updated openssl-self.cnf to avoid
> ERR_SSL_KEY_USAGE_INCOMPATIBLE
> problem in Chrome with self-signed certificates

Does that mean that I have to re-issue my self-signed certificate when I compile with NT 11.51 or later?

My Client-app will use ChromeExplorer, so I likely have to update.


7
Web Server - Ask For Help / Re: History of Nettalk 11 since 11.48
« on: February 22, 2022, 01:21:40 AM »
Dear Casper,
I'd probably at least want to do the OpenSSL update.
https://www.capesoft.com/docs/NetTalk11/NetTalkHistory.htm
Gruss!

Dearest Bunny of the Beach,

oh yes, thats a good point!

My combo is a SOAP-Webserver with a Clarion/Nettalk-Win32-Client. This client has a procedure mimicking a webbrowser, to display on-the-fly-generated HTML or some PDF occasiaonally. It is now utilizing CS-FileExplorer 5, but will need to be switched to CS-ChromeExplorer for future updates (if any will come).

So, yes, I suspect I have to walk that path.....

Thanks for pointing out this detail.

In ewiger Verbundenheit, Ihr ergebenster
Caspar Milquetoast

8
Web Server - Ask For Help / History of Nettalk 11 since 11.48
« on: February 21, 2022, 05:12:53 AM »
Hello Bruce,

the latest Nettalk 11 version is 11.53, the History list however ends with 11.48 (Dec 2020 - NetACME).

Are there any significant modification since, so that we _have_ to update or are those modification more kind of cosmetic ones?

I ask because 11.48 runs well for me and I hesitate to change the core of my app (though I know you put much effort into updates).

Yours sincerely
Caspar Milquetoast

https://www.capesoft.com/docs/NetTalk12/NetTalkHistory.htm


9
Web Server - Ask For Help / Re: API manual - "Try It"-button
« on: February 11, 2021, 08:05:14 AM »

Perhaps a browser extension, or AV setting, or proxy server or something like that.


I tested in different machines. Some instances of Firefox, of course, have extensions. But none of the Edge instances.

These are the browsers on a "virgin" machine with a Windows 10 preview with nothing else. But this machine is a bit older, so I still found the original Edge.

This one works okay:
* Edge 44.18.362.449.0 (EdgeHTML 18.18363)

I was able to delete the "result"-field a dozend times, either with DEL or BackSpace, each time the "Try-It"-button filled it correct as desired again and again.

..... Here comes the "no luck" section: ..........

Installed FF on this preview box, it behaves as I reported. Once "result" got deleted, it never got filled again, except after refresh / F5:
* Firefox 85.0.2 (no extension)

My developing machine with a recent Chromium-Edge and also no extension:
* Edge Chrome Version 88.0.705.63 (Offizielles Build) (64-Bit)

Chromium on a Raspberry, also no extension installed by me. However, "uBlock Origin" was installed by default:
* Version 72.0.3626.121 (Offizieller Build) Built on Raspbian , running on Raspbian 9.13 (32-Bit)

* Internet Explorer 11 - TryIt doesnt do anything. No wonder why. I tried just for completeness sake.

10
Web Server - Ask For Help / Re: API manual - "Try It"-button
« on: February 09, 2021, 06:17:52 AM »
Hi Wolfgang,

I tried it here in NetTalk 12 and NetTalk 11, but unfortunately was not able to duplicate the effect you are seeing. On my machine it just keeps working.

Which build of NetTalk are you testing with?

cheers
Bruce

As I wrote before, I am on 11.48.

You have really deleted the contents of the result field?

When I do this here, the fields shrinks back to its original coordinates and remains empty. In this case I have to refresh the page. The browser I use for testing are the recent versions of Mozilla FF and Chromium Edge.

Sorry to say, but I am not spreading FUD.

11
Correct, the length comes from the picture.
Are we talking about a field here, or something in a group, queue, view or table?

Cheers
Bruce

Hello Bruce,

when STRINGs are used as returnvalues, there is a fields to set a PICTURE. This helps to override the @S255 - but for STRINGs only.

All other do not offer this ability. Which lies in their nature.

Screenshot with detail (except for a VIEW) is appended.

12
Hello again, Bruce!

SOAP-API manual again

On Nov 18 2020 I reported via mail about a tiny glitch in the listing of variables, when STRINGs are longer than 255 charactes. Any STRING longer gets displayed as STRING([255]) and in the right column  "String from 0 to 255 characters". My guess is that you obtain that number from the picture of that variable, not from its length definition itself.

I manipulate the packet-Object in the SendPacket ROUTINE with
packet.Replace('some significant text' &  &'STRING([255])', '.... STRING([10.000])', 1)

It works, its fast enough, but its a somehow dirty workaround and I just wanted to ask, if there will be a clean fix.

thx
Wolfgang

Attachment: Stringsize_API-Manual.PNG


Code: [Select]
packet.Replace('<div class="nt-service-fieldtype">&nbsp;&nbsp;&nbsp;&nbsp;(string[255])</div>', '<div class="nt-service-fieldtype">&nbsp;&nbsp;&nbsp;&nbsp;(string[10.000])</div>', 1)

13
Web Server - Ask For Help / Re: API manual - "Try It"-button
« on: February 05, 2021, 04:40:06 AM »
Hi Wolfgang,

to best understand this it would need to be duplicated in an example.

Assuming it's unique to your service you should also check the Networking tab of your Browse Developer tools to see what response is sent back from the server. that may give some clues as to why you see nothing.

But as always, an example would be useful.

cheers
Bruce

Hello Bruce,

I took another example I have sent earlier to you. It is based on the Web42-example. (I am on NT 11.48)

Attached: web42_TryIt_Button.zip

After compile, go to

http://localhost:88/Database?GetContinent (as in URL.txt)

This is a simple method I once wrote because of the other report, and it is good to display the topic.

Unfold SOAP 1.1, move to "TryIt" and in xmldata just replace value with the number 1.

Now press that "Try It"-button. As a result you get back "Africa".

Delete the contents of the result field.

Replace that 1 with any other number from 2 to 6 and press "Try it".

You will get.... nothing.

However, sometimes it works though, most times it doesn't. In those cases you have to refresh the page and scroll down again.

Because this is the manual for other programmers to test our API, I do not want to give them any grain to complain about our API.

Let me be clear, the API works perfectly. Its this interface to others, which misbehaves. It would be nice if F5 would be avoidable.

Thanks
Wolfgang



14
Web Server - Ask For Help / Re: API manual - "Try It"-button
« on: January 15, 2021, 08:55:47 AM »
Hi Bruce,

> to best understand this it would need to be duplicated in an example.

sure. I sent you same info and data on that running API-server a few days ago, but you want an example in source? Okay, I have to create one from scratch, as the one I am running has a DB with 100 MB of data.

I report back when I have made a new one.

15
Web Server - Ask For Help / API manual - "Try It"-button
« on: January 15, 2021, 01:41:50 AM »
Hello Bruce and all others,

this "Try It"-button is way cool, earned me some ohhhs and ahhhs during a presentation.

Unfortunately there seems to be one quirk.

For my presentation I prepared several requests and stored them as TXT (UTF-8 coded), so I could quickly copy and paste different request, showing different outcoming results.

The quirk now is, that sometimes no result got displayed. I checked DebugView and saw, that the result has been sent. Sometimes I could repeat 3 or 4 different requests in a row, then sometimes the second attempt showed a blank result field.



Did anyone else ran into this also?

The fix is to refresh the page with F5. This is not a real showstopper, less a rock, but a gravelstone. However, I suspect that other programmers, who will then be told to use that API to integrate into their own software, may talk bad about this flaw, trying to make the entire API-project look poor, unreliable.

Any idea how to overcome this behaviour?

Thank you inadvance
Wolfgang

Pages: [1] 2 3 ... 17