Solved

Why is Soap server timing out?

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now