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
0
votes
2 answers

How to get response from a SOAP request using zend-soap?

I've been spending sometime with problem. I have a endpoint I want to send some data and receive a response. I've look online and I've seen that Zend\Soap\Server is used to build methods, and Zend\Soap\Client can than use those methods. I would like…
0
votes
1 answer

receiving this msg from zend: 'Zend_Soap_Client_Exception' with message 'Invalid URN'

does anyone know what this means im doing a pretty simple call here in my indexAction - private $wsdl = "https://mywsdlserver.com/open?wsdl"; $options = array( "location"=>$this->wsdl, "uri"=>$this->wsdl …
toy
  • 101
  • 5
0
votes
1 answer

LastRequest is empty, POST is empty. How to get the XML request from Zend Soap Server?

I've implemented a zend soap server with the code below. For my purposes i need to be able to access the full XML message or at the very least its headers. However, the getLastRequest method on SoapServer returns empty, and all the super globals,…
Erik Baars
  • 2,278
  • 1
  • 8
  • 14
0
votes
1 answer

Zend_Soap_Client switch from WAMP to LAMP and params won't set properly

All the required libraries are set for soap. I'm using standard WSDL. Moved my code to the LAMP (RedHat Enterprise). $params = array( 'test1'=>'Testing', 'test2'=>…
Brant Messenger
  • 1,441
  • 11
  • 21
0
votes
2 answers

Zend SOAP Server - Implementing a pre-existing WSDL to support a client

QuickBooks Web Connector is a Windows client that can communicate with a SOAP server to synchronize QuickBooks data. They supply a QuickBooks Web Connector WSDL file which defines the functions supported by QuickBooks Web Connector. I am using the…
Sonny
  • 8,204
  • 7
  • 63
  • 134
0
votes
1 answer

PHP Change Zendsoap response output

When i create a Zendsoap Server it works fine and i get the following output:
richin
  • 182
  • 1
  • 15
0
votes
3 answers

How change name in WSDL generated by Zend_Soap_AutoDiscover

I am trying connecting PHP soap server with client written in C#. WSDL is created in that way: $autodiscover = new…
mrok
  • 2,680
  • 3
  • 27
  • 46
0
votes
2 answers

Return object with Zend_Soap

I would like to return an object using Zend_Soap. I also want the object given in the WSDL file. But I can't get both to work together. It's either one or the other. 1. WSDL working, but object not returning If in the phpdoc of my function on the…
Aine
  • 2,638
  • 3
  • 30
  • 40
0
votes
1 answer

Zend Soap Client error: Failed to enable crypto

Hey guys, I'm using the Zend Soap Client library to consume a webservice, like this: $wsdl = "path_to_wsdl_file"; $client = new Zend_Soap_Client($wsdl); $client->nfeRecepcaoLote(); And I'm receiving the following errors: Warning (2):…
José Ricardo
  • 1,479
  • 1
  • 14
  • 28
0
votes
1 answer

How to enable SOAP on a web-hosting that don't support SOAP

In my php5 web-application i use zend mailMerge for constructing doc/pdf files from user data. Unfortunately, when i write a code, browser throws me an error: "Uncaught exception 'Zend_Soap_Client_Exception' with message 'SOAP extension is not…
dsplatonov
  • 745
  • 1
  • 8
  • 16
0
votes
1 answer

PHP - Zend Soap Request to .NET SOAP Server

I'd like a little bit of assistance here. I am trying to send a request to a .NET SOAP server from PHP with Zend. I have the WSDL file but it does not contain any header information. Though I have tried to add a custom header this does not seem to…
0
votes
1 answer

Null SOAP Value

I'm using Zend's Soap Client to submit a SOAP request to a proxy server and I'm having issues getting the return value. if i print out the ojbect $response->responseMessage[0] I get the following Response: SoapVar Object ( [enc_type] => 0 …
liz
  • 830
  • 14
  • 32
0
votes
0 answers

Zend soap server comments

To generate wsdl I'm using Zend Soap server. This auto addind comments like how to avoid this comments ?
Wizard
  • 10,985
  • 38
  • 91
  • 165
0
votes
1 answer

Working with Zend Soap classes and auto WSDL

Something very strange. WSDL file generates fine. Here is source simple class class SoapTest { /** * Prapapapapapapap * @return string Bls bls */ public function getList() { return "code"; } } Code for WSDL,…
user304117
0
votes
1 answer

SoapFault exception: [SOAP-ENV:Client] Error cannot find parameter in /var/www/html/hutch-alco/application/

$ns = "auth"; $wsdl = "(http://example.com/api?wsdl)"; //Create our Auth Object to pass to the SOAP service with our values $rand = rand(11111111,99999999); $srt = 'ABCD'; …
sujith
  • 1
  • 1
  • 2