Re: WSE and TCP / HTTP
From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 02/22/05
- Next message: John Bristowe: "Re: Problem with SoapService with custom SoapHeader with mustUnderstand="1""
- Previous message: John Bristowe: "Re: WSE and TCP / HTTP"
- In reply to: John Bristowe: "Re: WSE and TCP / HTTP"
- Next in thread: John Bristowe: "Re: WSE and TCP / HTTP"
- Reply: John Bristowe: "Re: WSE and TCP / HTTP"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 18:42:28 -0500
AFAICT, if you don't need ASP, then the ES and hosting api are not required
or useful. So I believe you still need to write your own server to process
the http. If there is a class that does that already, would welcome the
info. I think FX 2.0 will include http classes. If you do get the http
body, how do you process that down the wse pipeline and get the pipeline
reply to send back to client as http reply?
-- William Stacey, MVP http://mvp.support.microsoft.com "John Bristowe" <johnb@quadrus.com> wrote in message news:uQn8HDTGFHA.1044@TK2MSFTNGP14.phx.gbl... > Anthony, > > You're correct; there is a dependency on context (System.Web.HttpContext) > for WSE-based service endpoints listening over HTTP. That stated, you can > write your own host via the System.Web.Hosting namespace. This solution uses > ASP.NET if you consider the hosting APIs part of this framework. ;-) A good > example of the hosting APIs is the Cassini Sample Web Server, which you can > download from the ASP.NET Web site: > > http://www.asp.net/Default.aspx?tabindex=6&tabid=41 > > You could certainly mimic what's there to establish your own host inside the > context of an Enterprise Services server application or a Windows service. > > John > > > John, > > > > how would you say, take the TcpSyncStockService (the sameple in the WSE2) > > and convert it to so the messages are SOAP over http? > > > > It would seem that changing the via's "soap.tcp" to "http" would be all > > that > > is needed, but this throws an exception when adding the soap listener. > > "WSE803: A valid HttpContext is required for Active HTTP Listening." > > > > I might have to do more than just change the via parameter, but what more > > i > > have to do, i dont know. > > > > If i open the HTTPstock service sample i get an error saying it cant open > > because there is no web server running (i have IIS turned off) That leads > > me > > to believe it might not be possible to do it the way i would like. > > > > -Anthony > > > > "John Bristowe" wrote: > > > >> Anthony, > >> > >> Absolutely. You can utilize the WSE inside applications hosted inside > >> Enterprise Services and Windows services simply by hosting the WSE > >> pipeline. > >> > >> John > >> > >> > I have been experimenting with WSE and i really like what ive been > >> > seeing > >> > so > >> > far. > >> > > >> > The way WSE does SOAP over TCP is great, but I seem to be having > >> > intergration issues since most other solutions only support SOAP over > >> > HTTP. > >> > > >> > Is it possible to use WSE in a way that doesnt use asp.net or IIS, but > >> > still > >> > can send SOAP messages over HTTP ? > >> > > >> > Thanks > >> > Anthony > >> > >> > >> > >
- Next message: John Bristowe: "Re: Problem with SoapService with custom SoapHeader with mustUnderstand="1""
- Previous message: John Bristowe: "Re: WSE and TCP / HTTP"
- In reply to: John Bristowe: "Re: WSE and TCP / HTTP"
- Next in thread: John Bristowe: "Re: WSE and TCP / HTTP"
- Reply: John Bristowe: "Re: WSE and TCP / HTTP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|