Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Why is Soap server timing out?

Posted on 2011-03-15
1
Medium Priority
?
837 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

650 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