wcf soap service web.config error

Hi I want to create a soap service. When i run it, the service starts properly, but i cant connect to it from php, because i get the following error:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\soaptest\soaptest.php on line 6

line 6 is: $client = new SoapClient('http://localhost:1741/TopicService.svc?wsdl'); here is my web.config

<system.web>
    <compilation debug="true" targetFramework="4.0" />
    <trace enabled="false"/>
    <httpRuntime maxRequestLength="100000000" />
</system.web>

<system.serviceModel>

    <services>
        <service name="PptxToTopicWebService.TopicService">
            <endpoint address="soap" behaviorConfiguration="PptxToTopicWebService.ITopicService" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding1" contract="PptxToTopicWebService.ITopicService" />
        </service>
    </services>
    <behaviors>
        <endpointBehaviors>
            <behavior name="PptxToTopicWebService.ITopicService">
            </behavior>
        </endpointBehaviors>
        <serviceBehaviors>
            <behavior name="">
                <dataContractSerializer maxItemsInObjectGraph="2147483647" />
                <serviceMetadata httpGetEnabled="true"  />
                <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
        </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0" />
    <bindings>
        <basicHttpBinding>
            <binding name="basicHttpBinding1" maxReceivedMessageSize="10000000" maxBufferSize="10000000">
                <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
            </binding>
        </basicHttpBinding>
    </bindings>
</system.serviceModel>

What am i doing wrong?

Answers


Modify your end point as mentioned below. It will work. Seems service is taking more time to respond.

<bindings>
                <basicHttpBinding>
                    <binding name="basicHttpBinding1" maxReceivedMessageSize="10000000" maxBufferSize="10000000" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00">
                        <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
                    </binding>
                </basicHttpBinding>
            </bindings>

Need Your Help

Simple_html_dom getting the image + the URL only

php html

I am trying to get the image url and the a href only of each post using simple_html_dom this is all that I have been able to figure out so far.

How to create threads in Java EE environment?

java multithreading java-ee-6 websphere-8 workmanagers

I have a requirement where I have to persist some data in a table and the persisting may take sometime. Basically I want to persist a log. I don't want the execution to wait till the persisting fin...