soapserver

Returning a PHP Array from a PHP SoapServer

I'm relatively new to Soap on the "creating the service side", so appologies in advance for any terminology I'm munging. Is it possible to return a PHP array from a Remote Procedure Soap Service that's been setup using PHP's SoapServer Class? I have a WSDL (built by blindly following a tutorial) that, in part, looks something like this...

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 max_execution_time limit. But I never get any kind of error, as if the SoapServer instance is runn...

Structuring PHP array for use in SOAP with WSDL

Hi, I am writing a SoapServer with PHP 5.2 to return a list of vacancies to another application. My WSDL doc requires a complex type along the lines of: <xsd:element name="Vacancies"> <xsd:complexType> <xsd:sequence> <xsd:element name="Vacancy" type="ns:VacancyType" minOccurs="0" maxOccurs="unb...

Process SOAP Headers in PHP

Hi, I am building (in PHP) a SOAP server that is configured by its WSDL to accept messages that look like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://my.awesome.namespace/"&gt; <SOAP-ENV:Header> <ns1:Header> <ns1:APIKey>E4C5BDE0-48DC-543C-1CA3-8E55C63F8E...

SOAP url in browser

When you enter soap servers url in browser, normally it produces blank page. But if memory serves me I saw somewhere something like Hello, this is our soap service. For documentation please follow this link. To get an account, please follow this link. Blahblah. How can I do that? (Using PHP SoapServer, if that matters). I di...

PHP - Initiate SoapClient inside a SoapServer class function?

So I have a SoapServer class that handles whatever functions is requested of it from the client. Within one of those functions I need to call a 3rd party soap service, so I set about getting what I need as a SoapClient and returning the result back to my SoapServer. Here's a copy of the stack trace: ReadCategories Respsonse:SoapFault ex...

Transfer File us NuSOAP

Hey, I am having this problem transferring files using NuSOAP. I understand that you can read a file and transfer it has a string but its not working. Here is an example Client: require('libraries/nusoap/nusoap.php'); $url = "http://www.example.com"; $client = new nusoap_client($url); args = array('file_name' => 'myfile.zip'); $retur...

PHP SOAP server is sending back a partial response.

I've written a SOAP service so my Silverlight application can add entires into my database. The server is written in PHP, and in order to test everything, I've written a PHP client. My client seems to be sending its request correctly. This is what is generated when I call _getLastRequest(): <?xml version="1.0" encoding="UTF-8"?> <SOAP-...

PHP SOAP client and SOAP server errors

I have a web server which is acting as a SOAP client to communicate with a third party SOAP server. My client is implemented in PHP using php::soapclient. What is the best way to verify the SOAP server is functioning so I can provide the client browser with the site otherwise if if the SOAP server is down or not responding inform the ...

Zend Soap Server - complextype

I'm using the Zend Framework's Soap Server module and I'm looking to return a complex type that looks like the below, but for the life of me, I can't figure out how to do this... Desired Output <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP...

PHP 5 SoapServer instantiated with WSDL does not bind to methods defined in header...

Hello, I have a customer that supplied me with a WSDL and asked that we stand up a SOAP server based on that WSDL. We are a PHP shop, so we defined a basic soap server as follows: class pipelineApplicationHandler { public function AuthenticationHeader ($Username, $Password) { // Do stuff here related to authentic...

"System.Web.Services.Protocols.SoapException" error while wsdl service with php

Hello I am using PHP and nusoap library to access a WSDL service with SOAP. My syntax is correct as i have test it with another wsdl URL. But when i use my desired URL i get the following Array ( [faultcode] => soap:Server [faultstring] => System.Web.Services.Protocols.SoapException: Server was unable to process request. ---...