What is a good php soap parallel client ?

by bab55z
1 replies
I am working on a web which has a heavy use of soap calls to a distant server. But currently i am only able to send synchronous soap call with php native soap functions, i am looking for a really working asynchronous php soap client because i already tried a bunch of so called classes but no one of them worked for me.

thanks in advance.

please i am not an english native, could you also rate my english so that i can know what is my current english level.
#client #good #parallel #php #soap #synchronous
  • Profile picture of the author dgently42
    So, a browser makes the request to server, your server-side PHP code calls multiple soap services and then responds to the browser? And you want to do these service calls in parallel to reduce the time to render the page?

    I'm no php expert, but I'd be surprised if you could do this. In fact, I think it would be difficult in any language. The request-response process is largely meant to be a single threaded thing, as far as I know. And even if you could spawn multiple threads during a request-response, I'm not sure you'd want to.

    Maybe a better approach would be to utilize ajax on the website which would let you call the services individually? If you have a large number of soap calls to "distant services", or the soap services take time, then this would probably also provide a better user experience.
    {{ DiscussionBoard.errors[9902402].message }}

Trending Topics