Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3456576
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:45:12+00:00 2026-05-18T09:45:12+00:00

We are investigating options to build a SOAP webservice in PHP. We have some

  • 0

We are investigating options to build a SOAP webservice in PHP. We have some requirements:

  • Authentication via SOAP Headers
  • HTTPS
  • Fine control over XML used in SOAP response
  • Good documentation and support community.
  • (Optional) WS Security support

There’s the following tools providing such functionality:

  • Native PHP SoapServer
  • Zend_Soap
  • NuSoap
  • WSO2 WSF/PHP
  • PEAR::SOAP

Zend_Soap is actually a framework-compatible wrapper for the native PHP Soap-implementation. We have some simple tests running, but SOAP headers are not supported, and we don’t have full control over the XML response. For instance, the response XML has a namespace on the root element, but not on it’s child elements. Pretty annoying.

NuSoap is not really maintained anymore and I have read it has some issues with PHP 5.3 naming conventions.

WSO2 WSF/PHP uses a php extension which has to be compiled manually. There are some dependencies and the entire compile process is not clearly documented. The documentation is scattered around the website (sometimes outdated) and in the packaged downloads. A linux binary is mentioned, but nowhere provided for download (at least not in the last 5/6 releases).

I don’t really know a lot about PEAR::SOAP, but I have some experience with PEAR classes. Usually they are not well-documented and do not catch errors gracefully, leaving you googling every error message, with varying outcomes.

Do you know of any other tools that can help me build a full-fledged SOAP server in PHP, considering our requirements?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:45:13+00:00Added an answer on May 18, 2026 at 9:45 am

    If you need WS-Security, then WSO2 might be your only option. Did you install all the prerequisite packages (openssl, libxml2) before compiling. Compilation is simple with ./configure, make && make install (I didn’t have any issues with 2.1.0 wrt. compiling). WSO2 offers full control of the payload XML structure.

    If you can live without WS-Security, then any of the other options are good. I’d recommend PHP’s own SOAP library. It’s pretty decent, but doesn’t offer very good control over the XML and lacks WSDL autogeneration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While investigating some localization options, I stumbled across this as a save option in
I have been investigating for some time now a way to prevent my user
I'm investigating the Cross-Domains problems, I have with some REST service call. Chrome said
I have been investigating OAuth to share resources in my site to other sites.
I have been investigating transactions and it appears that they take care of themselves
We are investigating alterntive control libraries for a new project we are working on.
I am investigating options for a web app aimed at mobiles and one of
I'm doing some investigation into options for an app I am building. Do browser
I have some code to do some lookups and count the occurance using parallel.for:
I'm investigating options for speeding up the initial load time of our applets. Looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.