MSMQ WCF hosted in IIS -


i stuck in following case - have 2 web applications – a , b. both running on same computer. b hosting netmsmqbinding wcf service. also, b’s application pool has recycled itself. a calls b’s wcf service. see message has arrived in private msmq queue have created. until don’t browse *.svc url message not proceed b. missing required technology? clean way implement such functionality? these configuration using. if missed helpful info, please, tell me , provide it: service (b):

<system.servicemodel>     <services>         <service name="myproject.web.services.emslistener">             <endpoint address="net.msmq://localhost/private/myqueue"                       binding="netmsmqbinding" bindingconfiguration="mymsmqbinding"                       contract="myproject.abstraction.iemslistener">             </endpoint>             <endpoint address="mex" binding="mexhttpbinding" contract="imetadataexchange" />         </service>     </services>      <netmsmqbinding >                 <binding name="mymsmqbinding"                          durable="true"                          receiveretrycount="2"                          maxretrycycles="2"                          retrycycledelay="00:01:00"                          receiveerrorhandling="move" >                     <security mode="none">                         <message clientcredentialtype="none"/>                         <transport msmqauthenticationmode="none" msmqprotectionlevel="none"  />                     </security>                 </binding>             </netmsmqbinding> 

the client(a):

    <system.servicemodel>         <bindings> <netmsmqbinding>                 <binding name="mybinding ">                     <security mode="none" />                 </binding>             </netmsmqbinding>         </bindings>         <client>                     <endpoint address="net.msmq://localhost/private/myqueue" binding="netmsmqbinding"                 bindingconfiguration=" mybinding " contract="emslistener.iemslistener"                 name=" mybinding " />          </client>     </system.servicemodel> 

thanks in advance :)

this may because iis not starting application after recycled.

possible solution configure auto-start. iis start service without waiting first request.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -