Re: Host a Web Service in a Windows Forms Application
- From: peter931 <peter931.25nti8@xxxxxxxxxxxx>
- Date: Sun, 2 Apr 2006 11:52:02 -0500
I have a similiar Problem.
I must Host a WEB-Service in a Windows form Application.
Bute the CASSINI-Example seemed not to be the
solution for me.
In the CASSINI-Example example there is now way,
to get data from the windows-Applictaion to the
WEB-Service !!
Lets assume I need a WEB-Service:
GetOpenWindowName( ) as string
How can I get in the Web-Service the name of the open window
in the Windows forms Application ??
Thanks for any hint
Peter
DC wrote:
[B]Ok, so you want to connect an app, running on the pocket PC, to
another
app, running on a remote PC, and you want to do it via web services.
yes?
and you want to know, can you host web services in a windows forms
app?
yes.
have you seen Cassini?
http://tinyurl.com/bcj8
-Dino
--
-Dino
Hello,to a
I am making a prototype system with a Pocket PC that must connect
Server Application.Windows
Unfortunately, the server cannot be a Web Server, but a simple
FormsService.
Application.
Here is my question:
The only way to easily communicate for a Pocket PC is the Web
Is it possible to host a web service in a Windows Forms Application?
I have try to register a Remoting Object With HTTP Channel but Itseems
notHttpServerChannel(4801),false);
to work.
Here is the code I have try :
public static void StartRemoting() {
ChannelServices.RegisterChannel(new
RemotingConfiguration.RegisterWellKnownServiceType(method
typeof(MyService),
"MyService",
WellKnownObjectMode.SingleCall );
}
When I try to register the web service by using the URL:
http://theserver.domain:4801/MyService?WSDL
This URL return a well formated XML SOAP Contract but it declare no
and cannot be consumed.
--
peter931
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message2017593.html
.
- Prev by Date: Re: Webservice security.
- Next by Date: Method "XYZ" can not be reflected.
- Previous by thread: Re: Webservice security.
- Next by thread: Method "XYZ" can not be reflected.
- Index(es):
Relevant Pages
|