Questions tagged [was]

The Windows Process Activation Service (WAS) manages the activation and lifetime of the worker processes that contain applications that host WCF services. For Websphere AS, please use [websphere] tag.

Excerpt from MSDN: Hosting in Windows Process Activation Service:

"The Windows Process Activation Service (WAS) manages the activation and lifetime of the worker processes that contain applications that host Windows Communication Foundation (WCF) services. The WAS process model generalizes the IIS 6.0 process model for the HTTP server by removing the dependency on HTTP. This allows WCF services to use both HTTP and non-HTTP protocols, such as Net.TCP, in a hosting environment that supports message-based activation and offers the ability to host a large number of applications on a given machine."

This allows for the development, hosting and lifetime management of services that implement a wide range of transport channels. For example, Tibco EMS messaging.

192 questions
44
votes
7 answers

IIS WCF service hosting vs Windows Service

We developed a WCF service and we're looking to deploy it. Our clients will be using it with basicHttpBinding but our internal team will be using it with namedPipesBinding. We are wondering if is it better to host it in IIS 7 or with a Windows…
esylvestre
  • 1,850
  • 4
  • 21
  • 30
34
votes
2 answers

what is the global.asax Application_Start equivalent when using WAS in IIS7

I'd like to use the netTcpBinding for my WCF application which is currently hosted in IIS7, which means configuring it to use WAS instead. This is fairly straight forward however, my application previously made use of the Application_Start event in…
Mike Tours
  • 772
  • 2
  • 6
  • 13
13
votes
3 answers

what is the diffence between WAS and IIS?

Is WAS distinct from IIS? How is WAS better than IIS?
tom greene
  • 5,361
  • 9
  • 39
  • 52
11
votes
2 answers

Alternative to HttpContext when using NInject with a WCF Service Hosted in WAS using MSMQ binding

I have a one way WCF service using the MSMQ Binding which is activated using Windows Activation Service in IIS 7.0. I'm a big fan on NInject so I've been using the NInject extension for WCF, which for a typical HTTP WCF service would work great.…
Ray Wits
  • 123
  • 1
  • 5
10
votes
2 answers

Are requests to a WCF service hosted by WAS authenticated by IIS processing pipeline or ...?

Following questions assume we're hosting in WAS a WCF service side by side with Asp.Net: "When hosting WCF side by side with Asp.Net - The WCF hosting infrastructure intercepts WCF requests when the PostAuthenticateRequest event is raised and…
user702769
  • 2,435
  • 2
  • 25
  • 34
7
votes
1 answer

How to specify ServiceHostFactory for self-hosted WCF service with no SVC file

My application runs as a Windows service. It dynamically creates WCF services using the following helper method: public static void StartWebService(string webServiceName, Type serviceContractType, Type serviceImplementationType) { if…
Laurence
  • 980
  • 12
  • 31
6
votes
3 answers

Windows Process Activation Service (WAS) will not start

IIS 10 will not restart on my PC. When I navigate to localhost, I get a 'localhost refused to connect' message. After looking through the event viewer, it turns out that the issue is that the Windows Process Activation Service (WAS) will not…
Cameron
  • 213
  • 1
  • 3
  • 9
6
votes
2 answers

Accessing environment variable from log4j2.xml

I am developing a Spring Boot web application. I am trying to access an environment variable from Websphere server in my log4j2.xml configuration. But somehow it's not working. Environment variable is set in WAS under the below path - Application…
Subhadip
  • 131
  • 1
  • 2
  • 6
6
votes
4 answers

Getting "Unrecognized error 109 (0x6d)" which can be "fixed" by changing web.config

I have a WCF service hosted in IIS using WAS. When I try to access this service using a net.tcp binding I get the following error: There was an error reading from the pipe: Unrecognized error 109 (0x6d). When using basicHttp I do not encounter the…
Dirk Dooms
  • 101
  • 1
  • 2
  • 4
6
votes
4 answers

restart/iisreset disables NET.TCP protocol?

I'm hosting a WCF service in IIS7 on Windows Server 08, sp2. The service is hosted as its own website and is exposed via a NET.TCP endpoint. The service works perfectly until a restart/iisreset command is issued. After restart or iisreset, when I…
Kevin McKinley
  • 599
  • 1
  • 5
  • 13
6
votes
1 answer

How to configure Windows Activation Server (WAS) in Windows XP to host WCF services?

How do I configure Windows Activation Server(WAS) in Windows XP to host WCF services ?
user1573747
  • 533
  • 1
  • 4
  • 8
5
votes
7 answers

BadImageFormatException encountered with WcfSvcHost and IIS WCF host

Creating a WCF Service Library in Visual Studio 2008 on Vista x64 is troublesome when referencing an x86 DLL. A service that calls a 32-bit DLL is required to have a platform target of x86 to run on a 64-bit OS. When you do this, the WcfSvcHost…
George Tsiokos
  • 1,890
  • 21
  • 31
5
votes
2 answers

WCF MSMQ Message queue not being processed

I have setup a WCF service that i am running on IIS 7 that uses MSMQ message queueing, The messages are being put into the queue correctly on the server but the WCF service isn't processing them so the queue just builds up.
matthew
  • 243
  • 4
  • 8
5
votes
1 answer

WCF Service call working with basicHttpBinding but fails with netTcpBinding

(Please read comment as i have a fix) Hi, I have created a WCF Service that i am hosting in IIS 7.5 on Windows 7 using .net 4.0 The service is hosted both on http and…
WebDude
  • 6,125
  • 5
  • 33
  • 44
5
votes
2 answers

Can you configure IIS7 to autostart a Windows Process Activation Service (WAS) application when the application pool starts/recycles?

IIS 7.5 introduces the notion of auto-start providers, that allow you to get WAS to auto-load an application or assemblies when an application pool starts up. Can a similar thing be achieved with IIS7? Basically, we have an application that runs…
Rob Levine
  • 40,328
  • 13
  • 85
  • 111
1
2 3
12 13