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
1 answer

zend_soap_server utf-8 encoding does not work

I am developing a soap webservice using zend_soap_server. I use Zend_Soap_AutoDiscover to auto generate wsdl of my webservice. Here is the code public function indexAction() { // my websrvice method $server = new…
rahim asgari
  • 12,197
  • 10
  • 43
  • 53
1
vote
1 answer

Operation receive a object Zend Soap Server

I am creating a web service, I have added an operation which receive an object but my soap client doesn't recognize its attributes
dextervip
  • 4,999
  • 16
  • 65
  • 93
1
vote
1 answer

Zend_Soap_AutoDiscover doesn't generate wsdl file

I have a problem to generate WSDL file from Zend_Soap_AutoDiscover class. Could someone explain what I'm doing wrong? In bootstrap.php I have a method: public function _initWsdl() { require_once("http://localhost:8080/zf_mta/backend.php"); …
user1409508
  • 623
  • 1
  • 12
  • 38
1
vote
1 answer

ZEND SOAP method must be accessed over SSL

I have an SSL certificate on my site. It was installed by my hosting provider and I have tested that it was installed properly. I'm trying to consume a SOAP web service from mindbodyonline.com/api and I'm getting this message in the response This…
Devin Crossman
  • 7,454
  • 11
  • 64
  • 102
1
vote
1 answer

Zend Soap and MindBody

For those of you who aren't familiar with MindBody ( http://www.mindbodyonline.com ) it is a convenient merchant processing tool for health and wellness centres like the yoga studio I do work for. It can track clients and manage employees and all…
Devin Crossman
  • 7,454
  • 11
  • 64
  • 102
1
vote
1 answer

Uncaught Soap Error

I am making a soap call from inside a try...catch block, $request->l_Request->Year = $year; // $request->l_Request->Period = $period; try { /** * * perform getMake request …
ro ko
  • 2,906
  • 3
  • 37
  • 58
1
vote
0 answers

Wsdl return php object

Edit: There was no problem with my code. Server was reading wsdl file from cache. To solve the issue: Disable the cache with ini_set("soap.wsdl_cache_enabled", 0); Otherwise delete cache file from /tmp directory each time after changing wsdl…
Muhammet Emre
  • 349
  • 3
  • 17
0
votes
1 answer

zend soap win7/apache cant remove cache

I did everything, i think: deleted windows/Temp soap.wsdl_cache_enabled=0 in php.ini and restarted apache ini_set("soap.wsdl_cache_enabled", "0"); in handleWDSL, handleSOAP and clientAction! what else? still getting: Message: Function…
user968865
  • 97
  • 2
  • 17
0
votes
3 answers

PHP script ending prematurely

My site has a php page that prints out XML, for some reason though it's being truncated to 8KB in size, I've never encountered this before and all the other pages on the site remain un-truncated. Where should I start looking for the problem and what…
Teifion
  • 108,121
  • 75
  • 161
  • 195
0
votes
1 answer

How to send RAW Soap with SoapServer, NuSoap or ZEND_SOAP_SERVER

My task is to setup a server in PHP (5.3) and respond to client with already prepared message. Is there's any method to post/respond with raw data with SoapServer, NusoapServer or Zend?
spamec
  • 301
  • 1
  • 5
  • 15
0
votes
2 answers

ZF2 Soap Request - Send parameters

I am trying to send a SOAP request to a client's API endpoint. I am not at all familiar with SOAP, so having quite a difficult time getting this to work. From the client's documentation The requested ticket can be used to call all the API web…
fractal5
  • 2,034
  • 4
  • 29
  • 50
0
votes
1 answer

SoapFault exception: [VersionMismatch] PHP Zend

I'm getting this error while I was implementing and testing PHP webservice using Zend Soap. I'm testing the same codes under 2 different protocols(http & https) in 2 different web servers. http site works just fine, but I get "SoapFault exception:…
Steve
0
votes
1 answer

How to create a web service in zend-soap (or laminas-soap) with parameters with hyphens in their name?

I'm trying to create my first web service with zend-soap, but I need it to have some parameters with hyphens (like parameter-name). I have to implement a given WSDL so I can't change this requirement. How can I do it, since PHP doesn't allow…
0
votes
1 answer

modifying Zend_Soap_Server response

I want to modify the response that is sent when I am implementing a SOAP server using Zend_Soap_Server. I want to change the response that will be sent back because I am implementing the SOAP server for a client application that was written to work…
Ziad
  • 111
  • 2
  • 12
0
votes
1 answer

Got not found when trying to use zend-soap

I am trying to write a SOAP server in PHP using zendframework/zend-soap library. This is my directory structure: |- app/ |- mySoapService.php |- composer.json |- composer.lock |- vendor/ This is the content of composer.json: { "name":…
Zeinab Abbasimazar
  • 9,835
  • 23
  • 82
  • 131