Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7183375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:57:59+00:00 2026-05-28T17:57:59+00:00

I have a one-way WCF service, which main purpose is to get Web Page

  • 0

I have a one-way WCF service, which main purpose is to get Web Page content as a string, and make some manipulations. However I can’t seem to be able to call Operation Contract. It just doesn’t get called. If instead of WebPage Content, I’m sending short text ( “Hello World” ) everything works as expected. I set maxReceiveMessageSize to max in web.config but I still can’t pass WebPage content. Here is client web.config

<system.serviceModel>
<bindings>
  <basicHttpBinding>

    <binding name="basicBinding" allowCookies="false" closeTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
             bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647"
             maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text"
             textEncoding="utf-8" transferMode="Buffered">

      <readerQuotas maxDepth="64" maxStringContentLength="2147483647" maxArrayLength="16384" maxBytesPerRead="2147483647"
                    maxNameTableCharCount="16384"/>

      <security mode="None">
        <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default"/>
      </security>

    </binding>

  </basicHttpBinding>
</bindings>

<client>
  <endpoint name="basicHttpEndPoint"
            address="http://localhost:7777/Serializer.svc"
            binding="basicHttpBinding"
            contract="Shared.ISerializer" 
            bindingConfiguration="basicBinding" />

</client>

And here is my service’s web.config

  <system.serviceModel>
<services>
  <service name="SerializerService">
    <endpoint address=""
              binding="basicHttpBinding"
              bindingConfiguration="basicBinding"
              contract="Shared.ISerializer" />
  </service>
</services>
<bindings>
  <basicHttpBinding>
    <binding name="basicBinding" allowCookies="false" closeTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
             bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647"
             maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text"
             textEncoding="utf-8" transferMode="Buffered">

      <readerQuotas maxDepth="64" maxStringContentLength="2147483647" maxArrayLength="16384" 
                    maxBytesPerRead="2147483647" maxNameTableCharCount="16384"/>

      <security mode="None">
        <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default"/>
      </security>

    </binding> 
  </basicHttpBinding>
</bindings>
<behaviors>
  <serviceBehaviors>
    <behavior>
      <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
      <serviceMetadata httpGetEnabled="true"/>
      <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
      <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
  </serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />

Am I missing something ? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:58:00+00:00Added an answer on May 28, 2026 at 5:58 pm

    Looking at your config I would guess that the service implmentation type is not called SerializerService but is actually also in a namespace which means WCF isn;t using your service configuration at all and is just using a default endpoint

    Fully qualify the service name with the namespace and your values should get picked up

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF-REST service with one method which returns a string: [ServiceContract] public
I have a fairly straightforward WCF service that performs one-way file synchronization for a
I am designing a WCF service which have some operations that i expose to
I have a WCF service which has one method returning a stream. [ServiceContract] public
I have built a WCF load balancer/router to conditionally route any one way service
I have opened one file with following way: fp = fopen(some.txt,r); Now in this
I have a .NET WCF service which is implemented in a hand full of
I'm writing a PHP client to a C#/WCF web service. The parameters for some
i have a WCF service which Monitors a Particular Drive and Creates a New
We're in the process of developing a WCF REST web service which just receives

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.