TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Benjamin
NA
1
0
WCF Error: https not supported
Dec 15 2009 8:39 AM
Hi guys,
I created a WCF service and enabled there https. Now if I call for testing purposes http://localhost:3856/Service1.svc with my webbrowser I get the message that "https is not supported". Do you have an idea why it is not supported? I'm quite confused and can't figure out why my solution does not work. As Server I do use the standard ASP.Net Developement Server which is included in Visual Studio 2008.
Best Regards,
Benjamin
<
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
>
<
add
name
=
"ScriptModule"
preCondition
=
"integratedMode"
type
=
"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"WebServiceHandlerFactory-Integrated"
/>
<
add
name
=
"ScriptHandlerFactory"
verb
=
"*"
path
=
"*.asmx"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptHandlerFactoryAppServices"
verb
=
"*"
path
=
"*_AppService.axd"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptResource"
preCondition
=
"integratedMode"
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
handlers
>
</
system.webServer
>
<
system.serviceModel
>
<
services
>
<
service
name
=
"Gateway.Service1"
behaviorConfiguration
=
"Gateway.Service1Behavior"
>
<!-- Service Endpoints -->
<
endpoint
address
=
"https://localhost:999/service1.svc"
binding
=
"basicHttpBinding"
bindingConfiguration
=
"Binding1"
contract
=
"Gateway.IService1"
>
<
identity
>
<
dns
value
=
"localhost"
/>
</
identity
>
</
endpoint
>
<
endpoint
address
=
"mex"
binding
=
"mexHttpBinding"
contract
=
"IMetadataExchange"
/>
</
service
>
</
services
>
<
bindings
>
<
basicHttpBinding
>
<
binding
name
=
"Binding1"
>
<
security
mode
=
"Transport"
>
<
transport
clientCredentialType
=
"None"
/>
<
message
clientCredentialType
=
"Certificate"
/>
</
security
>
</
binding
>
</
basicHttpBinding
>
</
bindings
>
<
behaviors
>
<
serviceBehaviors
>
<
behavior
name
=
"Gateway.Service1Behavior"
>
<
serviceMetadata
httpsGetEnabled
=
"true"
httpsGetUrl
=
"https://localhost:999/Service1"
/>
<
serviceDebug
includeExceptionDetailInFaults
=
"false"
/>
</
behavior
>
</
serviceBehaviors
>
</
behaviors
>
</
system.serviceModel
>
</
configuration
>
Reply
Answers (
1
)
No exceptions thrown even when maxBufferSize value is smaller than the response message size in WCF
content based image retreival system using c#.net