Brad, Look into REST http://www.xfront.com/REST-Web-Services.html
sincerely, mehboob alam Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking. - Dave Barry ----- Original Message ---- From: Bradley D. Perkins <[email protected]> To: [email protected] Sent: Monday, August 31, 2009 10:35:37 PM Subject: Re: [Active4d-dev] Active4D as a simple web services server (using NTK) Michael, Thanks for the confirmation. I like the idea of sending JSON instead of XML, but will need to to check with the developers of the two systems that will be 'consuming' the data. One is PHP based and the other is written in Perl. From preliminary conversations I believe they want to use either native SOAP or NuSOAP for the client code. Is the Rails system actually making a SOAP call or simply an HTTP request? re: though not as easy as using the json libraries You mean the JSON libraries that come with A4D, right? Thanks, Brad On Mon, 31 Aug 2009 21:58:03 -0400, Michael Check <[email protected]> wrote: > Hey Brad > > We're doing this right now for a system created in Rails. We needed > to access the data in a main 4D db and this turned out to be an easy, > fast way to GET, PUT any data needed. > > Instead of XML, we return well-formed data as json. But the XML would > be straightforward (though not as easy as using the json libraries). > > In fact, we prefer using A4D because we can adjust the scripts needed > without getting into 4D's method editor and recompiling. > > Michael Check > > > > On Mon, Aug 31, 2009 at 12:20 PM, Brad Perkins<[email protected]> wrote: >> Subject line says it all. >> >> Has any used Active4D or NTK (or event ITK) standalone to develop a >> simple web services server? This would not be a public service and the >> interface would be extremely simple (pass in a single known ID) so WSDL >> support would not be required. Is this a lot more complex than simply >> setting the proper headers and returning the result as valid XML? >> >> Most are probably asking why not just use 4D's Web Service server? That >> would obviously be the simplest route. The only problem is that we use >> already use NTK in the proposed system for both Active4D and in a legacy >> web app (NTK as a standalone web server). I'm hesitant to add yet >> another server to the mix. >> >> Thanks, >> >> Brad >> _______________________________________________ >> Active4D-dev mailing list >> [email protected] >> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev >> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ >> > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
