Old Borland Chess WebService help please - delphi

I'm looking for a viable link to the 'old' borland chess server so i can connect my chessboard client? Also, i do have the client chessboard, the chessCGIserver and the chessbook (intelligence) - i would like to know how to setup the web server.
Note: Old WSDL (chessWebService) link was first:
http://wwwapp1.borland.com/webchess/ChessCGIServer.exe/wsdl/IBorlandChess
then :
http://www.danmarinescu.com/WebServices/ChessCGIServer.exe/wsdl/IBorlandChess
You will find this text at Dr Bob's web site about this borland chess soap service (given links are now dead):
2002/01/24 - The Chess WebService is Back!
The Chess WebService IBorlandChess, implemented by Borland Software Engineer
Dan Marinescu, is back in the new domain www.danmarinescu.com and listed on
xmethods. The Chess WebService implements an extremely scalable SOAP
interface to a fully featured, high performance (competition level) Chess
Engine, which is completely stateless.
The Chess WebService is currently written in Delphi 6. Soon, we will
have the very same WebService written in Kylix 2 & C++Builder 6 - very
soon!.
Dr.Bob says... I've check out the source code for the client and server,
and played a few games with the client binary, and am (again) very impressed
by this amazing WebService. Well done! 2002/01/24 - The Chess WebService is
Back!
The Chess WebService IBorlandChess, implemented by Borland
Software Engineer Dan Marinescu, is back in the new domain
www.danmarinescu.com and listed on xmethods. The Chess WebService
implements an extremely scalable SOAP interface to a fully featured, high
performance (competition level) Chess Engine, which is completely stateless.
The Chess WebService is currently written in Delphi 6. Soon, we will
have the very same WebService written in Kylix 2 & C++Builder 6 - very
soon!.
Dr.Bob says... I've check out the source code for the client and server,
and played a few games with the client binary, and am (again) very impressed
by this amazing WebService. Well done!
As far as i know, Dan Marinescu was the last 'owner' of the service.
I have all the sources in hand, i have ported them to Delphi 2009. I miss the information about how to setup the webservice / soap on my server. Any one can help?

If you have a compiled ISAPI (or was it a CGI exe?), then you can install that in IIS as WebService -like any other ISAPI application. ASP.NET web space locations are usually NOT sufficient for that.
If you cannot get it working and if you supply the (updated) source then I will have a look.
Regards,
Olaf

I have the source code for the Chess web service, and migrated it to Delphi 2009 some time ago already. It's un and running on my server.
The WSDL is at:
http://www.bobswart.nl/cgi-bin/ChessISAPIServer.dll/wsdl/IDelphiChess
CGI is also available (change ISAPI to CGI, .dll to .exe).

Related

Tiny WiFi connected relay - where to start

I'm trying to get some initial info on my very first IoT project. I want to build a * tiny * wifi connected relay to control, let's say, lights. I'm a newbie in the hardware and electronics field though, but I'm a pro developer, so programming is not a problem.
Now, I've looked at different options and I can't seem to find really small components for the task. It might be I overlooked something, so please help me with available options.
Look at the ESP8266 devices. They have WiFi on chip and can be programmed using the Arduino environment. You basically write code in C++ to do whatever you need.
Here is an Amazon search for some examples:
https://www.amazon.com/s?k=esp8266
I recently did a project using a Linknode R4 (similar to above but with 4 relays) and programmed it as a web server with REST API. Then I built a front end with ASP.NET Core to that talks to the REST API for the devices on my network. The Arduino sketch for the web server is posted on Github at https://github.com/SteveInCO/LinknodeR4. I would assume it would work with little modification on the device I linked above.
The default program for the R4 allows controlling it via their website or iOS/Android apps, though I could never get it to work out of the box. Their model uses a polling method so the relays continually ask the server what to do next.
Windows IoT doesn't run on these small devices yet, but no reason you can't front end the Arduino API with a UWP app running under Windows IoT on a Raspberry Pi instead of the web app like I did. I think the eventual plan is for ASP.NET Core to be able to run on an ARM based system like a Raspberry Pi, but last I checked it wasn't quite there yet.

Get third party values into JD Edwards?

I'm doing a small project in IoT .I'm using ARDUINO microcontroller(with temperature sensor)to sense the temperature value.Now i need to get those value into JDE(i.e..into IoT Orchestrator).How do i get those values into JDE?
Thanks!
Vasanth Kumar, iot integration is very new to everyone as well as oracle has also released some of the android apps recently. Please check some of the apps from oracle jdedwards in play store.
I used to study the oriely's book internet of things. I think programming the iot devices requires the assembly language background knowledge but c the high level language with a visual c++ editor should be included With jde installation as common language between jde and the microcontroller device. BSSV is used for mail transactions and practice BSSV for the message exchange between the microcontroller application amd the JDE, use this mail data to update the required tables. There are n number of devices so it is advised to you to make the protocols and programming by yourself.
Please update me if you have progressed in any particular direction and share with me as we both are in same new boat.

Possible to create a zeroconf service with Delphi XE5?

Working on an appliance and would like to support zero configuration feature. That way users can look for the device on the network and simply double click an icon to access the web interface without having to configure it or know its ip address.
Tried to use UPNPLib_TLB but functions seem to be read-only; am I right? I can create a device using CoUPnPDevice.Create but can't set a FriendlyName or a URL.
Tried to use Deltics Bonjour service but it crashes on create (ACCESS_VIOLATION). The demo code uses a custom test unit which complicates experimentation.
After much research it does not look like there is a component available for this and would appreciate some pointers. Has anyone successfully created a zeroconf broadcast either via UPnP or Bonjour with Delphi XE2/5.. I can go back to Delphi 7 if required. Target = Windows 7.
NOTE: To be clear, I can find existing devices on the network and don't want to enumerate existing devices but what I want is to broadcast my service so that my box behaves like a network printer for example. The only service I need to expose is the URL so that users can access an embedded web server.
Appreciate the help!
EDIT
With the tips provided I did some research and getting this done the RAD way is not possible.
Using MS APIs directly is time consuming and requires a level of understanding of C that I don't have. Porting the Delphi 5/Indy 7 component to XE2/5 will require a good amount of work and debugging.
I discovered UPnP developer tools from Intel now open source here: Developer Tools for UPnP. This tools makes it really simply to create a server in 10-15 lines of code. Intel provides a DLL that I can call from VS Express as follows and it works great:
device = UPnPDevice.CreateRootDevice();
device.FriendlyName = 'My name';
device.PresentationURL = 'URLToEmbeddedServer";
..
I tried to use headconv7 tool to convert the .h file Intel's UPNP.DLL to a pascal file and call the external functions within the DLL directly from Delphi but there were too many problems with the conversion.
It's too bad because the Intel library makes it really simple to create UPnP stacks and the approach would apply itself very well to a component but for now its quicker to use .NET and VS Express to get the job done.
When using UPNPLib_TLB, you are not supposed to create a UPnPDevice object directly. UPnpDevice describes a known device on the network, which is why its properties are read-only.
Read the documentation:
Control Point API
Finding Devices
You are supposed to create an instance of the UPnPDeviceFinder class instead. Its search methods will give you a UPnDevice object for each device that is found.

Consuming SOAP web services in iOS application in Firemonkey

I am new to iOS development with Delphi XE2 and Firemonkey and have a question how to consume SOAP web services from iOS application?
Is there any example for possible set of components involved to get the job done.
Thanks
Yes there is...
http://wiki.freepascal.org/Web_Service_Toolkit
Unfortunately I did not discover this until I had written the whole thing using the cocoa platform!

Can i call a web service from FireMonkey for iOS?

I'm new to iOS, have been developing in Delphi for many years.
I don't know FPC well and i find it very hard to figure out which classes are available on iOS.
is there any FireMonkey classes for calling web services and parsing xml?
Yes you can call a webservice :)
No it is not simple :(
You need to access the iOS framework directly...
The following code fragments will help...
First a pascal example of how to send/receive data via TCP
https://forums.embarcadero.com/thread.jspa?messageID=397346
Secondly, you will need to wrap the call using the relevant headers. See...
http://books.google.com.au/books?id=0nTYIL3-0yoC&pg=PT518&lpg=PT518&dq=beginning+ipad+development+webservices&source=bl&ots=cYniLvL8z2&sig=Ci6HskHgMvUeIrjyUbDecd7fBCQ&hl=en&ei=0_KdTpzBB4nOrQfwzM29CQ&sa=X&oi=book_result&ct=result&resnum=6&ved=0CEAQ6AEwBQ#v=onepage&q&f=true
It is a fair bit of work, but it can be done. Good luck!
You can also try to use RealThinClient (RTC) SDK to allow your Delphi XE2 FireMonkey iOS client to connect to a RTC SDK server. Not SOAP, but I've managed to send data back and forth between the two layers (just in case you do not have to use SOAP, but are merely looking for some way to connect an iOS client to a server)...

Resources