I have to create and consume a webservice in Delphi XE4. I am totally new it and never used webservices in Delphi before. Can anyone help me with some basic tutorials?
This is a pretty good starter tutorial from Pawel Glowacki:
http://blogs.embarcadero.com/pawelglowacki/2008/12/18/38624
It is written for Delphi 2009, but i think it is still worth looking at.
Related
I am developing a BlackBerry 10 apps with Cascades (C++ programming language) right now. Can anyone tell me how do i make a call to an web service in BlackBerry 10: Cascades? I'm just a beginner, so i don't really know anything. Thanks for your answer :D
It is not clear what your requirement is, but since you are a beginner it is probably best to start small. Have you looked at the WebView Cascades control?
http://developer.blackberry.com/native/reference/cascades/bb__cascades__webview.html
How about XmlDataAccess and JsonDataAccess, you can find samples in the documentation.
There are a lot of samples on github.
samples
There is also a sample project using QtSoap to access web services.
soapxml
Im currently learning C++ and Im interested in a web front end that can be fast as its C++ back end part. Which front ends does make a good combination?
Not looking for the best just the ones that can join cpp without using cgi. So please dont vote down.
---Update------
I actually develope my web applications in Java and is nice. Im looking at the C++ side since I want to give it a try. I learn a little of C++ on a college class 3 years ago and now Im reading the Deitel 8th Edition book to cover what I miss and review what I previosly learned. I'll read all your suggestions and will select a balance between productivity and speed. I admit it I am a performace addict that's the reason of my interest on this. Before asking this I thought Python could be used as a web front end. But maybe its not near C++ performance and thats why you didnt mentioned it.
-----Update #2------
What behaivor could have using python web frameworks or java servlets for the web engine and then connect it to C++? Will tomcat or the python server be a bottleneck?
I think it's hard to find a web front end in C++ (probably what you are looking for is a C++ equivalent of GWT). Back ends are more common and there're some frameworks to create web apps in C++. Facebook has Hiphop for converting PHP code to C++ to speed up. But everything mostly boils down to HTML(5)/JavaScript/CSS. However, Qt framework has integration with WebKit and you can build applications using this framework which leverages HTML5/JavaScript/CSS3 in a C++ app (I'm not too familiar with it, so may be wrong). Take a look at this by the way.
EDIT: On further googling, found Wt, this might look interesting. :)
I'm trying to remember the name of the piece of software that would help you self-document your REST and SOAP API's as well as other things. It has a wiki that would go along with it as well...
Does anyone remember it? It's open source
I figured it out; it's called enunciate
Does anyone know of any really good C++ Libraries for implementing a web services api over top of existing legacy code?
I've got two portions that are in need of it:
An old-school client/server api (No, not web based, that's the problem)
An old cgi application that it integrates with the client and server.
Let me know if you've had any luck in the past implementing something like this using the library.
Microsoft has put out native code webservices API (WWSAPI) that looks pretty decent. I haven't had a chance to use it yet. We had originally ignored it, since it required Windows 7 or Server 2008, but they've finally released a runtime library for older OSs.
I would advise staying away from Microsoft's old SOAP SDK. For one, it's been deprecated; two, it's not terribly easy to distribute; and three, it's terrible to code for compared to the .NET offerings.
What we've done is written a bit of C++\CLI to interface our existing C++ codebase with .NETs webservice framework. This turned out to be remarkably easy. .NET will generate all the classes and boilerplate code you need based of of a WSDL file. Then you just write some C++\CLI code to handle the incoming data as managed classes and fill in some managed classes as responses.
You can use the Apache AXIS/C interface to build a web services interface. It has plugins for Apache and IIS (and I think FastCGI), and lets you talk web services to your legacy code.
I used gSOAP in a project and it was quite straightforward. Compared to Axis/C, I found it easier to learn and use. I never used POCO, can't give you an opinion, but it's gaining popularity recently. This is the link for gSOAP
http://www.cs.fsu.edu/~engelen/soap.html
Scenario: old legacy code in rpg have to consume data from a new web service
I think in a new stored procedure implemented in any language to act like a proxy but sure there are better options
Some options i have seen is http://www.rpg-xml.com/ (third party propietary)
or using Java stored procedures with DB2 XML Extender
Thank you!!!
Both are really good options. It really depends on your expertise in your team. If all you know is RPG, use the RPG solution. If you have someone with .NET or Java experience, then use that.
If you have more questions related to this, there is a great community of developers that can help on the Web400 mailing list.