Extending Intraweb Standalone to be SOAP Server

Posted on 2005-03-10
Medium Priority
Last Modified: 2010-04-16

I learned how to create intraweb standalone web application, in Delphi 7. Nice tool. Seems the same style with D2005 also.

I wonder if its possible to extend its functionality, besides serving web page, also serves as SOAP Server, in one same project?
Question by:dynamicrevolutions
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 12

Assisted Solution

Ivanov_G earned 1000 total points
ID: 13516823
With SOAP server you have to implement Interface, which will be accessed by the client. You application can be Apache Module, ISAPI or CGI. Our SOAP server should have 3 components - THTTPSoapDispatcher, THTTPSoapPascalInvoker and TWSDLHTMLPublish. In order to make the WSDL accessible from anywhere, I think you should stick to the SOAP Server application...
LVL 13

Accepted Solution

BlackTigerX earned 1000 total points
ID: 13519208
you can probably do it, but I don't know how much work it would be...

you can try creating a new SOAP Server Application
File | New | Other | WebServices
Soap Server Application

that will create the webdatamodule, Implementation and Interface, save everything in your Intraweb application folder
you can create a sample method just for testing

now, a web application can only have one WebModule, so you may already have one defined by default in your IntraWeb application

then open the Intraweb Project and add to the project
- the implementation file
- and the interface file to your IntraWeb project

compile and copy to your scripts folder, navigate to the page

I don't know if this will screw up your main page, since SOAP generates some HTML

if you can see that page, then most likely it will work as you want, I can't test any of this because I don't have IntraWeb, but you can give this a try and see what happens

however I agree with Ivanov_G, I think you should keep separate the SOAP server from the Web Application, but I'm also curious to see if this would work

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question