Solved

Why is Soap server timing out?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

856 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