BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to convert COM+ to webservice

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Roman Kaßebaum
Guest





PostPosted: Tue Dec 12, 2006 7:20 pm    Post subject: how to convert COM+ to webservice Reply with 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
Hamed Fallahnia
Guest





PostPosted: Wed Jan 03, 2007 9:47 pm    Post subject: Re: how to convert COM+ to webservice Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.