NetTalk Central

Recent Posts

Pages: 1 ... 8 9 [10]
91
Web Server - Ask For Help / Re: WebWebServiceMethod Raw request data
« Last post by JHojka on September 10, 2024, 05:56:56 AM »
Thanks. I was looking for requestData or something like that but was relying on Clarion Auto complete as all my web searches failed to find the answer. requestData doesn't show up in Auto Complete ( on my install of clarion ) but it compiles just fine. Auto complete hasn't let me down like that before. Thanks again.

Jeff
92
Web Server - Ask For Help / Re: WebWebServiceMethod Raw request data
« Last post by Bruce on September 09, 2024, 10:43:22 PM »
p_web.RequestData

93
Web Server - Ask For Help / Re: Sec:Level - Multiple Ranges?
« Last post by Bruce on September 09, 2024, 10:42:07 PM »
Hi,
I want to have multiple security level ranges - one for user  - e.g. sec:level = 100 -199 and ANOTHER for Administrators  Sec:Level 995-999.
If possible then How?

where?
94
Web Server - Ask For Help / Re: Apostraphe value in sql
« Last post by Bruce on September 09, 2024, 10:40:33 PM »
reproduce in an example app, and post that here.
95
Web Server - Ask For Help / Re: Apostraphe value in sql
« Last post by ntnewbies on September 09, 2024, 07:10:52 PM »
Hi Sean,
Yes, that's what i did. Use the string theory to detect single ' and made it double '' before passing it to the filter.
What i want to know if there is a nettalk class that can does that for us. p_web.jsok converts single ' but to a different value.

regards,
Jason
96
Web Server - Ask For Help / WebWebServiceMethod Raw request data
« Last post by JHojka on September 09, 2024, 10:01:28 AM »
I have a NetWebServiceMethod and would like to get access to the request information. in the example below I want access to POST and all the header and body information.

POST /database/databaseCMUSERW HTTP/1.1
Accept: application/json; charset=utf-8
...
...
...
{
   "CurrentClientVersion" : 2,
   "CurrentUserLogin" : "MARATHON"
}

If I cant have that can I get access to just the body part of the post without knowing what will be in the body section without declaring individual parameter's? I just want the entire request data as its not in xml nor json format. I am looking for something like p_web.GetRequestText I found p_web.WholeURL but thats just this part "POST /database/databaseCMUSERW HTTP/1.1".

{
   "CurrentClientVersion" : 2,
   "CurrentUserLogin" : "MARATHON"
}

Jeff
97
Web Server - Ask For Help / Re: Apostraphe value in sql
« Last post by seanh on September 06, 2024, 03:44:18 PM »
a single '  may have problem, but I would not have thought so in a filter context.
Have you tried doubling up ie  King''s Speech   That's 2 ' not 1 "
98
Web Server - Ask For Help / Re: Sec:Level - Multiple Ranges?
« Last post by seanh on September 06, 2024, 03:41:35 PM »
I'm curious why you would want so many levels for the same level?
Could you briefly explain? 
In the back of my mind is that for what you want to actually acheive there might be a better way
99
Web Server - Ask For Help / Apostraphe value in sql
« Last post by ntnewbies on September 03, 2024, 11:42:47 PM »
hi bruce,
when i filter a browse with a value, say King's Speech, i found that the filter fails.
The value inside the sql database is indeed King's Speech.
If i use jsok, then nettalk would convert it as King's Speech. Again the filter will fail.
For now, what i did is i check the value of filter. If it contains ', then i will replace it with '' using string theory.
then the filter works.

may i know if there is any nettalk method or a setting to handle the apostraphe? thanks.

regards,
jason
nt14.20
c11.1
100
Web Server - Ask For Help / Re: NT 14.20 API error
« Last post by jking on September 03, 2024, 09:44:37 AM »
Hello all,

    I think this is a prefix issue, like I had in April this year.  In that case Bruce suggested setting jsonParameter.SetMaxPrefixLength(4) to something less than 4, the default.  I'll experiment with this more later.  But for now the workaround was to check Include Field Prefixes in the Options tab of the Parameters tab in the NetWebServiceMethod template.

Thanks,

Jeff
Pages: 1 ... 8 9 [10]