Questions tagged [zend-soap]

Questions about the SOAP functionality packaged with Zend Framework: Zend_Soap_Server, Zend_Soap_Client etc.

Zend Framework ships with classes designed to simplify the setup, configuration and utilization of web services with PHP. The classes include Zend_Soap_Server, Zend_Soap_Client and Zend_Soap_Autodiscover, and provide:

  • WSDL file generation and auto-discovery,
  • WSDL and non-WSDL modes for Soap clients
  • a variety of member methods to map and manipulate SOAP headers and content

Zend Framework provides documentation for these classes at http://framework.zend.com/manual/1.12/en/zend.soap.html. The documentation is a great starting place, but may not answer questions from all use-cases. Use this tag to ask your question here.

70 questions
1
vote
0 answers

parameter passing in a webservice with zend framework

I create a web service of authentication with the Zend Framework Here is my Server :
Marwa Mhamdi
  • 79
  • 1
  • 9
1
vote
1 answer

zend webservice

im nob in zend, I have create this webservice and i want to call this function in my zend project using the zend soap. function insertion($id,$prenom,$nom,$nele,$ville) { $user = new USER($id,$prenom,$nom,$nele,$ville); …
Marwa Mhamdi
  • 79
  • 1
  • 9
1
vote
0 answers

Zend_Soap return array

I had a Soap server build on Nusoap. One of the methods returned something like this:
Zorrocaesar
  • 748
  • 1
  • 7
  • 22
1
vote
1 answer

Create SOAP request with element attribute using Zend_Soap_Client and stdObject

I'm calling a service witch among many other parameters demands an entry like (Taken from soapUI): RKM How do I get the Zend_Soap_Client to send…
1
vote
1 answer

Zend soap call for method with hyphen

I rewrite soap client file using Zend framework. This is old method. it is working. function getBassaService(){ global $service; $h="127.0.0.1"; $p="8000"; if($service==null){ $service = new…
Dinuka Thilanga
  • 4,220
  • 10
  • 56
  • 93
1
vote
1 answer

How to use dependency injection with Zend_Soap_AutoDiscover

I'm trying to use a dependency injection container for the first time in a project, but I just discovered a problem that I'm not sure how to address. The project provides a SOAP web service, which is implemented atop the SOAP component of Zend…
mr. w
  • 2,348
  • 1
  • 21
  • 26
1
vote
0 answers

How to send raw xml to SOAP server using Zend_Soap_Client?

I'm traying to send a raw request to a SOAP server. The only way I found to do this is creating a redundant Zend_Soap_Client_Common in order to invoke _dorequest. Is really that necessary? Is there any other way to send raw xml to the server?…
user286336
  • 11
  • 1
  • 3
1
vote
0 answers

Create custom headers in zend soap server WSDL

Is there a way of creating an WSDL custom header with the auto-discovery function zend-soap server? Or an other alternative way of managing such a request on the soap server? I need to process a request coming from an ESB proxy containing a…
hypemedia
  • 11
  • 3
1
vote
1 answer

Process multiple operations in SOAP server with Zend

I'm testing a SOAP server which must receive multiple operations in one single request. The server is configured with Symfony 2.7, PHP 7.1, and zend-soap 2.7. I can't upgrade now the versions of Symfony neither PHP except if they're the cause of…
Mar
  • 45
  • 7
1
vote
1 answer

Zend_Soap client and SoapServer UTF-8 encoding problem

The site works on one server and DB on the other server. When I enter on site text to submit to DB on non english letters, it saves and ther render corect. For example if I enter "Привет Всем" I will see the same text on the site when display. All…
Sergey
  • 561
  • 1
  • 5
  • 3
1
vote
2 answers

Zend Soap Server with wsdl autodiscovery doesn't work as expected

Duplicate of this question I'm trying to create a web service with Zend_Soap_Server in wsdl autodiscovery mode, but I obtain very strange effects... here the…
salgua
  • 698
  • 2
  • 10
  • 22
1
vote
2 answers

SOAP - nillable="true"

I am building a web service using the Zend Framework. I am using the Zend_Soap_AutoDiscover class for the generation of my WSDL. I am using various complex type in this web service form example: StockItemEntity Class class StockItemEntity { /**…
Gabriel Spiteri
  • 4,896
  • 12
  • 43
  • 58
1
vote
3 answers

How to generate a wsdl using zend soap

I'm trying to generate a wsdl file using the autodiscover class from the Zend framework. The resulting definition doesn't seem to become available and subsequent functionality doesn't work. Below is the code that I'm using...
Gary Paluk
  • 1,038
  • 1
  • 14
  • 28
1
vote
1 answer

Create Zend Soap Service with Complex Type

I have created follwing Web Service using Zend Version 1.11 I want to change Namespace where xsd is default change to s. How to change any of the namespace…
Ashwin Parmar
  • 3,025
  • 3
  • 26
  • 42
1
vote
2 answers

PHP SOAP Server method receive a set of parameters

I have setup a SOAP Server with php. The problem is that, as per the WSDL, the client which calls the server method, is supposed to pass a set of parameters (more than 50). I got to know this from SOAP UI. But how do i handle all those parameters in…
shasi kanth
  • 6,987
  • 24
  • 106
  • 158