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 - Andjane

Pages: [1] 2
1
Web Server - Ask For Help / webservices and json
« on: December 13, 2016, 02:18:57 AM »
something weird with the content type.

I looked at the webinair API (3) example and used the current client.app example to test posting json payloads to my server.

net.customheader = '' 
net.ContentType = net.GetContentType('.jason')   ! <<==============
json.start()
collection &= json.CreateCollection('payload')
collection.append(AuthenticationGroup,'authentication')
collection.append(RegisterUserGroup,'registrations')
json.SaveString(str,true)
net.Put(clip(Server) & '/uneeqo/receivenewuser/',str.Getvalue())

In the above Line  ! <<==============

when i use this format of content type  the request on the client side is json but the server does not show any retrieved information in my debug lines.
If i replace that line with net.ContentType = 'application/json' . I can see the data in the debug lines.

This in it self id not a problem. but the response  the client receives is text/xml But i need it in json format.

In the server method generated code is see the following which also sets the content type GetContentType('.json') .
either i am missing something or i am not initializing the content type

 p_web.ReplyContentFixed = 1
  if p_web.RequestJSON
    p_web.ReplyContentType = p_web._GetContentType('.json')
    jsonResults &= json.CreateCollection('Response')
    do BuildResultFields
    json.SaveString(packet,true)


thanks

2
Web Server - Ask For Help / Re: Using the webcam?
« on: September 15, 2016, 10:02:53 AM »
Hi Peter

I just started playing around with the example (web79) .

I did not have problem on my Android device using firefox browser. Chrome did not prompt me to share the camera so that did not work.

Regards

Andreas

3
Web Server - Ask For Help / disconnected web
« on: September 14, 2016, 08:48:36 PM »
Hi

I am playing around with the disconnected web example.

When i add a record (from another PC) i can see the record add to the tps file on the server. But it seems the example does not load the records from the tps file to that pc's disconnected DB.
Is there something i'm missing ? :o

Thanks

4
The Rest - Ask For Help / Re: Disconnected desktop apps
« on: December 14, 2015, 03:39:22 AM »
Hi Bruce

No Nothing. all the other examples open up.

Thanks

5
The Rest - Ask For Help / Disconnected desktop apps
« on: December 13, 2015, 10:22:07 PM »
Hi there
I am trying to open the examples In : C:\Users\Public\Documents\SoftVelocity\Clarion8\Accessory\Capesoft\NetTalk\Apps\DisconnectedDesktop\Server  And
C:\Users\Public\Documents\SoftVelocity\Clarion8\Accessory\Capesoft\NetTalk\Apps\DisconnectedDesktop\Desktop

In Clarion8. The solution or app does not open. The IDE just stays blank

Thanks

Andreas

6
Web Server - Ask For Help / Re: Upgrade From Nettalk6 to Nettalk 8
« on: October 12, 2014, 11:04:09 PM »
Sorry All

My Bad  :'( I thought i had the latest string theory. Downloaded Latest and all OK

Assumption and presumption is a mother of all.... :o

Thanks

Regards
Andreas

7
Web Server - Ask For Help / Upgrade From Nettalk6 to Nettalk 8
« on: October 12, 2014, 10:28:39 PM »
Morning All

I upgraded my Nettal6 to nettalk 8.
Looks like in my eagerness i must of missed a few steps  ???  but when i compile the accounts example (In Clarion8) I get a heap of errors .
Attached are some of the errors in the netweb.clw

Ant ideas ?
Thanks in advance

Regards

Andreas

[attachment deleted by admin]

8
Web Server - Ask For Help / Re: Multipule web sites on a Server
« on: October 08, 2014, 01:54:20 AM »
Hi Kevin

Thank you. that's exactly what i was looking for.

9
Web Server - Ask For Help / Multipule web sites on a Server
« on: October 07, 2014, 11:59:12 PM »
Hi All

Not quite a webserver post.  ::)
We have a server (Static IP) on the OVH server farm which is running a website done in Jomela (usingwamp) .
We also have 2 Nettalk web servers and 1 Nettalk web service running.
So when a user goes to www.xxxxx.com then they access the Joomla website.
To access the Nettalk web sites and services it uses the port number www.xxxxx.com:8085 for example.
What I want to achieve is that each Nettalk web site has its own web address. So instead of
 www.xxxxx.com:8085  I want to use www.yyyyy.com
The server only has 1 static IP Address.
So how do I go about it ?
As we go along we will be adding more Nettalk Web sites. We are also planning to install the Capesoft email server .
Then either we will be using Capesoft Secwin online Hosting  or Secwin online Server.
Thanks In Advance

Regards

Andreas

10
The Rest - Ask For Help / Sending messages via Telegram messenger
« on: March 18, 2014, 12:41:04 PM »
Besides my applications sending SMS's and emails to clients i am trying to send messages via telegram messenger. I downloaded the telegram webogram which was written in js. I installed the js node webserver and got it all up and running. Works great and is way faster than whats app.
That said my problem is how do i send a message from my applcation or from a nettal web server ?

so on the web page i can select a contact then type in a message in a field and press the send button. Now how can i simulate this from my application or a nettalk web server or any better ideas ?

In firefox i had a look at the code for the send button :

<button class="btn btn-success im_submit" type="submit">Send</button>

Any input would really be appreciated

Regards

Andreas

11
Web Server - Ask For Help / Re: Browse list empty after a long time
« on: January 15, 2014, 12:52:48 PM »
Hi Louis

Not sure if it could be that. The browser session has not started yet.

I presume the timeout you talking about is from the time you open that page.

The issue normally arises in the morning when no one has been into that webserver for some time. Seems as if something has gone to sleep. The second time around the browse list gets filled with the data from the database and from then on it is all OK. Just wonder if it could be mysql ?

Thanks

Andreas

12
Web Server - Ask For Help / Browse list empty after a long time
« on: January 14, 2014, 10:22:24 PM »
Hi There

I'm using Nettalk 6.54 Using mySQL DB. (Clarion8)

Webserver.

I have a browse List which works great.  But what i have noticed is if i open that page for the first time the next day it comes up with "No Records" I refresh the browser or open a new browser session then the list is populated.

Any ideas that could cause this ? and how to fix.

The webserver is running as a service and the browse has the following filter.    'MEM:MemberOrDebtor = <39>M<39>'

Thanks In Advance

Regards Andreas

13
Hi There

I'm just testing the send of an email.

in the example i fill in all relevant details and added the images to the Embedlist under the extra's tab. then in the html i changed the image code to include the CID

<IMG src="cid:world.png">

when i receive the email in outlook or mail live. The images are there as attachments but not the html.
I put a message in and the embedlist does have those imgeas in it.
I got the same result by using the html which is under the sub folder "web"

Wonder where it is going wrong

Regards

Andreas

14
Web Server - Ask For Help / Re: Webserver - Make sure of local data
« on: October 21, 2013, 10:03:15 PM »
Hi Bruce

Thanks for your reply. Yes indeed the Netwebpage handles only one request.
Is it the right way to use a netwebpage to handle a soap request ? Or what is the best suggested way to do it with nettalk.
It works fine at the moment (in testing here) but i do not want to run into a brick wall once the webserver receives multiple requests for a webpage at the same time from various users.

Thanks for your input Rob And Bruce

Much appreciated

Regards

Andreas

15
Web Server - Ask For Help / Re: Webserver - Make sure of local data
« on: October 21, 2013, 12:10:22 PM »
Hi Rob

Thanks for the input, much appreciated.
I meant transaction seeing this a session with only one transaction. The servers receives the post request, processes it and returns the result and that's it. I do not need the local variables anymore.
So as far as Nettalk webserver page is concerned is does not matter if you specify the storage class of the local variable or not. Is that correct ?

Pages: [1] 2