Solved

Why is Soap server timing out?

Posted on 2011-03-15
1
819 Views
Last Modified: 2013-12-13
I'm deploying a SOAP server using PHP in order to offer web services to our company.  I'm new to SOAP, and have been using examples found online and modifying them.  My base example which simply returns a string, seems to work but takes a VERY long time.  Other examples which actually return database values are timing out.  I'm guessing some url is malformed, but am not familiar enough to figure it out.

server.php
client.php
scramble.wsdl.txt
0
Comment
Question by:elbarro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Swafnil earned 500 total points
ID: 35256888
Don't know if this causes the slow connection or the time out, but I saw that the keep-alive mechanism can cause timeouts when calling SOAP service. Especially take a look at the two bottom comments on the PHP documentation website:

http://php.net/manual/de/class.soapclient.php

The scripts itself should perform well, I haven't found a reason why they run too slow.

It's also a good idea to check your web server logs for aborted connections or errornous scripts.

Good luck!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question