Questions tagged [soapserver]
154 questions
2
votes
0 answers
SoapServer::SoapServer() - SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Is there any way to create PHP SoapServer with local secure WSDL URL using self-signed SSL certificate? Following code:
$soapServer = new SoapServer("https://mysite.local/my-document?wsdl");
throws always exception:
SoapServer::SoapServer(): SSL…

lubosdz
- 4,210
- 2
- 29
- 43
2
votes
0 answers
PHP SoapServer handle no attributes
I try to build a simple WebService using soapServer but I have a problem with attributes.
I have build the simplest Server:
server.php
$request = file_get_contents("php://input");
$soapServer = new SoapServer(NULL, array('uri' =>…

Christos Mitsis
- 323
- 2
- 6
- 15
2
votes
2 answers
Why does PHP 7.x SoapServer return XML references (e.g. href="#ref1") for non-duplicate arrays?
I have a problem using PHP's built-in SoapServer to return a response containing two different arrays. PHP thinks my fruit and vegetables arrays are duplicates (they are not). The response uses a Wrapper class making use of PHP's __get() magic…

Kris Peeling
- 1,025
- 8
- 18
2
votes
0 answers
XHProf for API Side
We have a project with SOAP-client 〉 SOAP-server interaction. Both sides is ZF2 based products we own.
We successfully profiling API client side until Zend\Soap\Client::__call. In most cases SOAP request is 90% of "time to wait". So now we looking…

Daniel
- 611
- 5
- 20
2
votes
1 answer
php - SoapServer - Need add a namespace in Soap response
I need add a namespace in Soap response. I am using php and SoapServer. My response start like this:

samug
- 23
- 1
- 4
2
votes
1 answer
No module named core while importing flask enterprise
I wrote a python script to have a soap server with flask, it's exactly like what the documentation says:
from time import ctime
from flask import Flask
from flaskext.enterprise import Enterprise
if __name__ == '__main__':
app =…

Zeinab Abbasimazar
- 9,835
- 23
- 82
- 131
2
votes
0 answers
Check if a PHP-based SOAP server is FULLY woking
I have a SOAP-Server problem driving me nuts from a couple of days. I have a very simple SOAP-Client PHP script interrogating a simple SOAP-Server PHP script as well.
I have an exact copy of these scripts on my debug server and they work perfecly…

Ace_Gentile
- 244
- 3
- 14
2
votes
0 answers
SoapServer not valid Response
I am trying to create SoapServer, theoretically looking at WSDL everything should be ok, however server I have implemented is returning not valid Response.
Part of the wsdl which define request and response:

Mithrand1r
- 2,313
- 9
- 37
- 76
2
votes
1 answer
SoapServer->handle() ignoring output buffering
I am attempting to capture the response sent by PHP's SoapServer class for debugging before it is actually sent to the browser.
I am utilising Zend_Soap_Server which is supposed to allow the capture of the output from SoapServer->handle() using…

Daniel Greaves
- 987
- 5
- 24
2
votes
1 answer
PHP SoapFault detail namespace
I'm trying to return a SoapFault from PHP SoapServer, but am stuck with creating the right format of response.
When handling exceptions, I am returning:
$detail = "message";
return new SoapFault("Client", "ValidationException", null, $detail,…

Jakub Žitný
- 962
- 1
- 9
- 38
2
votes
1 answer
Is PHPs SoapServer affected by the maximum execution time?
I recently created a Java frontend for a PHP web-service which uses PHPs SoapServer.
My application is performing a long-running data synchronization and from what I know from PHP I prepared myself to get closed connections because of the…

Daniel Rikowski
- 71,375
- 57
- 251
- 329
2
votes
1 answer
PHP SoapServer addSoapHeader ignored with SoapFault
I have written a PHP SOAP Service that accepts Basic Authentication credentials as outlined at http://www.whitemesa.com/soapauth.html. I did this by defining a method BasicAuth inside the handler class of the SOAPServer instance. This all works…

hackedd
- 333
- 1
- 10
2
votes
2 answers
Perl Soap service using wsdl
I am trying to create SOAP service using SOAP::Lite, but it does not return the value. It gives Error Use of uninitialized value $result in print at soap_client.pl line 6.
ServerName perl.qlc.net
ServerAlias…

pankaj ghadge
- 845
- 1
- 9
- 18
2
votes
1 answer
SoapServer maps functions incorectly when the wsdl messages have the same part name
I'm not sure if this is php bug (bad implementation) or my bug (bad understanding of the SOAP protocol / SoapServer as this is the first time I'm using SoapServer)
I've noticed that if there are two or more operations with the same wsdl:part (even…

SimSimY
- 3,616
- 2
- 30
- 35
2
votes
1 answer
wsdl operation with unlimited parameters
I have to create WSDL for my SoapServer which passes data from another service. The data which was provided to me has the following structure:
…

vichaz
- 21
- 2