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

  • Home
  • SEARCH
  • 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 3788796
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:03:19+00:00 2026-05-19T12:03:19+00:00

I have a plugin that exposes a wcf service. if I test this service

  • 0

I have a plugin that exposes a wcf service. if I test this service using WCFStorm, everything works fine. I get a response right away. When I try to consume the service from the application that loaded the plugin I get a time out.

ProgrammingMaster_ServiceClient aClient = new ProgrammingMaster_ServiceClient();
aClient.Endpoint.Address = new EndpointAddress("http://localhost:8081/ProgrammingMaster/PM_Service");
aClient.BeginProgrammingSession(0x01);
aClient.Close();

Is the code i’m using to consume the service. ProgrammingMaster_SErviceClient is generated by svcutil.exe.

I get the same problem if i remove the line

aClient.Endpoint.Address = new EndpointAddress("http://localhost:8081/ProgrammingMaster/PM_Service");

I’m not really sure where I should be looking to start debugging this.

the service being called sends a message on a different network. When I call it through wcfstorm I can see the message being sent by the service. so i know the service works correctly.

What am i doing wrong when I call the service from my application that is causing a time out.

Edit: after the time out expires (I’m catching and logging the exception), the service sends its message on the other network like its supposed to.

Edit 2: Hopefully this is a better explanation.

So I have a plugin which exposes a web service, and consumes a different web service.
So the plugin basically connects to an object on a special network, then passes that objects property values by consuming a web service.

I have an application which exposes the web service the plugin uses to give updates of the remote objects values, and consumes a web service exposed by the plugin to pass commands to the remote object.

There are no timeout issues when the plugin sends updates to the application. I’m getting a timeout error when the application uses the web service to send a command to the remote object via the plugin. After the timeout expires the command is executed. So the web service is being called successfully. I guess I’m just not getting a response back?

Edit 3:
here is my app config file. I lowered the send timeout to 00:00:01 so that the wait isn’t so long, but I’d really like to fix it so it doesn’t have to timeout every time.

<?xml version="1.0"?>
<configuration>
  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="WSHttpBinding_IProgrammingMaster_Service" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:00:01" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
          <security mode="Message">
            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="">
              <extendedProtectionPolicy policyEnforcement="Never"/>
            </transport>
            <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true"/>
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8081/ProgrammingMaster/PM_Service" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IProgrammingMaster_Service" contract="IProgrammingMaster_Service" name="WSHttpBinding_IProgrammingMaster_Service">
        <identity>
          <userPrincipalName value="mzjkk7@nam.corp.gm.com"/>
        </identity>
      </endpoint>
    </client>
  </system.serviceModel>
<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
  • 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-19T12:03:20+00:00Added an answer on May 19, 2026 at 12:03 pm

    Oh…

    yes the time out only happens when the
    client and server are both part of the
    same application.

    The important question is are the client and service running on the same thread?

    If so, that’s likely your problem. Try spinning up the service in its own thread and see if that sort out the problem.

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

Sidebar

Related Questions

I have an ActiveX plugin that we need (if possible) to run in Firefox.
I have a plugin for an RCP app that uses BIRT. I have a
Typically I create a plugin when I have a module that I know I'm
I'm writing a web application that will have plugins. The plugins will be .DLL
I have a plug-in to an Eclipse RCP application that has a view. After
I have a .exe and many plug-in .dll modules that the .exe loads. (I
I have two unrelated processes that use .NET assemblies as plugins. However, either process
I have a C++ Windows application that can be extended by writing C++ plugins,
I have findbugs plugin for eclipse which when run on my project will show
I have a plugin project I've been developing for a few years where the

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.