-2
我在本地主机上运行时编写Web服务,一切正常,但我在IIS 7.0中托管,它未运行。请支持我! 这里我的web.config当在IIS中托管时支持Webservice
<system.serviceModel>
<services>
<service name="VivuFace_V2.api.CloudCameraService" behaviorConfiguration="VivuFace_V2.api.CloudCameraServiceBehavior">
<endpoint address="../CloudCameraService.svc"
binding="webHttpBinding"
contract="VivuFace_V2.api.ICloudCameraService"
behaviorConfiguration="webBehaviour" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="VivuFace_V2.api.CloudCameraServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="webBehaviour">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
是否有任何异常或错误消息.. – Sasidharan
嗨Sasidharan,请按照此链接更多信息,谢谢http://stackoverflow.com/questions/19086610/support-about-web-service-when-hosting-in -iis –
请不要发表两次相同的问题。 –