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
Vamsi k
NA
296
45.5k
WCF service issue
Oct 20 2019 10:16 PM
Hi Everyone,
We have created a WCF service . We are able to access that service locally. But when we deployed that service in Test server we are not able to access that service, Can you pls suggest how to publish the wcf code and how to deploy in the server. what changes we need to do before deploying into Test server? Below are confg files information.
Example
Service web.test1.config:
<services>
<service name="ABC_WcfService.ABCService" behaviorConfiguration="ABCBehaviorName">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="ABCBindName" contract="ABC_WcfService.IABCService"></endpoint>
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="ABCBindName" maxReceivedMessageSize="10485760" maxBufferSize="10485760" >
</binding>
</basicHttpBinding>
</bindings>
Client web.test.config
<system.serviceModel>
<bindings>
<basicHttpBinding>
<!--<binding name="BasicHttpBinding_IABCService" maxReceivedMessageSize="100485760"/>-->
<binding name="BasicHttpBinding_IABCService" closeTimeout="00:50:00" openTimeout="00:50:00"
receiveTimeout="00:50:00" sendTimeout="00:50:00" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true" messageEncoding="Text">
<readerQuotas maxDepth="32" maxStringContentLength="5242880"
maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://abc_wcfservicetest1.test.intranet/ABCService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IABCService" contract="ServiceReference1.IABCService" name="BasicHttpBinding_IABCService"/>
</client>
</system.serviceModel>
Please give response ASAP.
Thanks,
Vamsi.
Reply
Answers (
3
)
What is the best way to upload a byte[] of a RTF file?
Facing different problems with WCF service