 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Roman Kaßebaum Guest
|
Posted: Tue Dec 12, 2006 7:20 pm Post subject: how to convert COM+ to webservice |
|
|
We use a com+ server as an application server.
How can we use the com+ server in the iis as a http web service?
We tried the soap checkbox in the component settings. After that we got
an asp.net-page. But we do not understand how to call the webservice
from a client.
Any ideas? |
|
| Back to top |
|
 |
Hamed Fallahnia Guest
|
Posted: Wed Jan 03, 2007 9:47 pm Post subject: Re: how to convert COM+ to webservice |
|
|
Hi,
If you have used soap server, please the generated dll in a your scripts
directory of web server.
Then from client machine, in your application select NEW-> WEB SERVICES ->
WSDL importer
Enter the full path of your SOAP application, like this:
http://yourserveraddress/scripts/yoursoapservername.dll/wsdl/IYourSoap
Here the last part (IYourSoap) is the name of your SOAP interface.
An interface file would be generated for you.
Then in your Delphi form, add a HTTPRIO component. Set these properties:
WSDLLocation := http://yourserver............./IYourSoap
Service := (You will see the services from drop down menu, select one)
Port := (You will also see the ports from drop down menu, select one)
Now whenever you want to use your soap server, do as following:
uses IYourSoap1; //This is the generated file
//In a procedure...
(HTTPRIO as IYourSoap).MethodNameOnServer( parameters);
Cheers,
Hamed
"Roman Kaßebaum" <roman.kassebaumnospam@kdv-dt.de> wrote in message
news:457eaccb$1 (AT) newsgroups (DOT) borland.com...
| Quote: | We use a com+ server as an application server.
How can we use the com+ server in the iis as a http web service?
We tried the soap checkbox in the component settings. After that we got an
asp.net-page. But we do not understand how to call the webservice from a
client.
Any ideas? |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|