Solved

Why is Soap server timing out?

Posted on 2011-03-15
1
811 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Returning errors to display in a dialog box - Ajax, Json, Php 16 53
Survey branching tutorial 11 43
PHP Curl Problem 10 41
Building a glossary into your website 9 19
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

749 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