Jade interface with SMS via Thin Client (Not HTML Thin Clien

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Jade interface with SMS via Thin Client (Not HTML Thin Clien

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:51 pm

by Scott Sheng >> Wed, 29 Jun 2005 3:09:05 GMT

Hi,
We want to develop an interface program with SMS via Thin Client, the SMS service provider just provides a Standard HTTP request, e.g. http://202.106.155.55/corp/corp_send.ph ... d&Msg=$msg After send the request by get or post method, SMS provider will return the information as follow, for example. http://www.sun.com.cn/cooperate/e139get ... c&Cmd=$cmd.

I am wondering whether Jade Thin Client (not HTML Thin Client) can achieve it.
Does anyone have such experience on it? Are there any alternative solutions for it?

Many Thanks,
Scott

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade interface with SMS via Thin Client (Not HTML Thin Clien

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:51 pm

by allistar >> Wed, 29 Jun 2005 13:36:55 GMT

You could always open a TCP/IP internet pipe in JADE and pass through that request as a GET request in the standard format and then parse the results. Should work.

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade interface with SMS via Thin Client (Not HTML Thin Clien

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:51 pm

by Robert >> Wed, 29 Jun 2005 21:24:26 GMT

If you have CardSchema, this provides a simple http client interface (class name is CnHttp). This is simple to use, supports get and put, and handles the complexity of http protocol for you. Unfortunately, it uses wininet (microsoft's old http api) which doesn't directly support access via a proxy.

(you can download JadeCare Start from www.jadeworld.com/ Jade6/jade6_jadecarestart.htm)

If you need to go through a proxy, you can use (the new) winhttp api. I've used this from other languages - the calls are straightforward - but not from Jade. Does anyone have a Jade wrapper for winhttp?

For winhttp details, see
msdn.microsoft.com/library/default.asp? url=/library/en-us/winhttp/http/winhttp_start_page.asp

Either interface could be called from a Jade thin client.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 32 guests