Re: WSE and TCP / HTTP
From: John Bristowe (johnb_at_quadrus.com)
Date: 02/22/05
- Next message: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Previous message: Anthony: "Re: WSE and TCP / HTTP"
- In reply to: Anthony: "Re: WSE and TCP / HTTP"
- Next in thread: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Reply: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 15:49:36 -0700
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: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Previous message: Anthony: "Re: WSE and TCP / HTTP"
- In reply to: Anthony: "Re: WSE and TCP / HTTP"
- Next in thread: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Reply: William Stacey [MVP]: "Re: WSE and TCP / HTTP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|