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
Solved

PHP 5 SImultaneous Requests?

Posted on 2006-11-14
3
631 Views
Last Modified: 2008-01-09
hi

i've recently moved to PHP 5 and am looking at using SOAP instead of my current CURL implementation. is it possible to make simultaneous SOAP requests? i'm either looking for some method to achieve this or a function similar to curl_multi_init.

any and all suggestions welcome.

thanks
0
Comment
Question by:Fatlog
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 50 total points
ID: 17936994
no that is not possible with the php-soap extension, only the curl-extension has the feature of retrieving data from multiple sources at the same time in php, no other extension has that feature! the soap-extension will process each connection after the other connection has finished.
0
 

Author Comment

by:Fatlog
ID: 17937003
know of any workarounds at all?
0
 
LVL 48

Expert Comment

by:hernst42
ID: 17937079
nope as told curl is the only extension which has the possebility to open and read multiple network-connections at the same time via curl_multi. All other netwotkconnection are typical READ_BLOCK and thus not usable in parallel/threaded mode
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

808 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