PHP5 Soap And XML Custom Soap Header
I am having a problem getting a custom soap header to work with PHP5.
What I require is something like this:
<SOAP-ENV:Header>
<USER>myusername</USER>
<PASSWORD>mypassword</PASSWORD>
</SOAP-ENV:Header>
What I get is :
<SOAP-ENV:Header>
<ns2:auth>
<USER>myusername</USER>
<PASSWORD>mypassword</PASSWORD>
</ns2:auth>
</SOAP-ENV:Header>
I would like to remove the namespace tags.
The code I use to get this is: ....
View Complete Forum Thread with Replies
Related Forum Messages:
Problem: PEAR SOAP => PHP5 SOAP
I am having problems converting from Pear SOAP to PHP5 SOAP, especially when it comes to complex types. I would be grateful for any help on how this should be translated: require_once("SOAP/Client.php"); $wsdlurl = "http://myserver/myservices/mypage.php?wsdl"; $wsdl = new SOAP_WSDL($wsdlurl, array("timeout" => 360)); $soapclient = $wsdl->getProxy(); $soapclient->setEncoding("UTF-8"); $soapclient->__trace(1); $mydata = array( "fromDate" => new SOAP_Value("fromDate", "string", "2003-10-01"), "toDate" => new SOAP_Value("toDate", "string", "2004-02-31")); $args = array( "myId" => new SOAP_Value("myId","int", 1), "criteria" => new SOAP_Value("criteria", "{urn:engine}myData", $mydata), "start" => new SOAP_Value("start","int", 0), "limit" => new SOAP_Value("limit","int", 20)); $res = $soapclient->searchData($args); if(PEAR::isError($res)) { echo "Error: ".$res->getMessage().""; } else { echo "Res:"; print_r($res); echo ""; }
View Replies !
SOAP, SSL And PHP5
I am having a problem getting a SOAP connection to work and would appreciate any suggestions. The story so far: 1. I can point my browser at the service site (https://10.0.1.1:1234/) and get a meaningful XML response. 2. My php5 code looks like this: <?php $client=new SoapClient("http://localhost/xxx/wsdl/xxx.wsdl", array( 'uri'=> "https://10.0.1.1:1234/", 'userName'=> "xxx", 'password' => "xxx", 'trace' => 1, 'exceptions' => 1 ) ); $client->GetContents(); echo "Request: ".$client->__getLastRequest().""; echo "Response: ".$client->__getLastResponse().""; ?>
View Replies !
Soap & Php5
I have some code that works in php4, and uses nusoap.php. If I remove the include to nusoap for php5, I get errors. Do I need to do something other than removing the include? Here's the code: <?php /* display SOAP errors */ function showErrors( $soapclient, $results ) { echo 'Request: <xmp>'.$soapclient->request.'</xmp>'; echo 'Response: <xmp>'.$soapclient->response.'</xmp>'; echo 'Debug log: <pre>'.$soapclient->debug_str.'</pre>'; echo $results['faultstring']; } //require_once('./nusoap/nusoap.php'); //php5 is supposed to have its own soap, so I shouldn't need this. $soapclient = new soapclient('http://www.biblegateway.com/usage/votd/'); ..............................
View Replies !
PHP5 SOAP And Https
I have a problem with Soap class in PHP5. I'm trying to connect to webservice (I have links, login, password etc.) Wsdl file, which the soapclient takes from webservice address forces the communication through https (section port in wsdl). Is this connect possible with php5 soap class ? Mabye I must install other components (for example nuSOAP) ? In my simple example I obtained this message: Notice: SoapClient::__doRequest() [function.--doRequest]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in f:wwwgxmlzapyt.php on line 12 Fatal error: Uncaught SoapFault exception: [HTTP] SSL support is not available in this build in f:wwwgxmlzapyt.php:12 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://ws....', 'http://webservi...', 1) #1 f:wwwgxmlzapyt.php(12): SoapClient->__call('SubmitXml', Array) #2 {main} thrown in f:wwwgxmlzapyt.php on line 12
View Replies !
Soap, Allposters And PHP5
I used to use a nusoap based script to grab stuff through Allposters webservices. I hadn't toyed with it since I upgraded to PHP5 and it's built in SOAP. Rather than invent the wheel, I'm just wondering if anyone out there is successfully using SOAP, Allposters and PHP5. If so, could you post an example.
View Replies !
Enabling SOAP In PHP5
I am using PHP v5.1.1. It is the pre-compiled windows version. I have been having difficulty enabling SOAP. I have checked to make sure that php_soap.dll is in my "c:phpext" folder. To my php.ini file I have added: extension=php_soap.dll Also, to my php.ini file I have added the extensions directory: ; Directory in which the loadable extensions (modules) reside. extension_dir = "c:phpext" I have confirmed that SOAP is not enabled using the following: <? phpinfo(); ?>
View Replies !
Php5 Soap And .net Web Service
I have problems when I try to send string as parameter to my .net web service in php.No problem at all if I use nusoap, but I failed by using php5 soap. Can anyone help.. I've got this msg : Fatal error: Uncaught SoapFault exception: [soap:Server] Server was unable to process request. --> Object reference not set to an instance of an object. in c:InetpubwwwrootPHPprojectclientPHP.php:38 Stack trace: #0 [internal function]: SoapClient->__call('test', Array) #1 c:InetpubwwwrootPHPprojectclientPHP.php(38): SoapClient->test(Array) #2 {main} thrown in c:InetpubwwwrootPHPprojectclientPHP.php on line 38 this is my code: ....
View Replies !
PHP5 SOAP Attributes (Redux)
I think something is not working as stated. According to the php.net site, the XML: <foo bar="blah">12345</foo> should be represented as: array('foo' => array('_' => 12345, 'bar' => 'blah')); or equivalently, $something['foo'] = array('_' => 12345, 'bar' => 'blah'); If I feed this into PHP5 SOAP and then do a getLastRequest(), I get: <ns1:foo> <item> <key>_</key> <value>12345</value> </item> <item> <key>bar</key> <value>blah</key> </item> </ns1:foo> Which to me says that it is treating the 'bar' as an element not an attribute. Is the example on the php.net site wrong? Am I confused about something?
View Replies !
Enable Soap, Mysql PHP5 Windows Xp
I have tried to find a good ref. on how to enable soap and mysql in PHP5 on windows xp but without luck. Can any one take me through the process? I need to enable both soap and mysql I'm not running apache. I need to know how to recomplie my PHP5 on windows xp.
View Replies !
PHP5 + Soap Extension + WSDL Mode
I'm trying use a webservice with PHP5 soap extension in WSDL mode. I generated the php classes using wsdl2php. The problem is that 'auth' member of loginRequest (witch is a complex type) dosen't get serialized. The 'version' member witch is decimal is being serialized and sent to the server. I am doing something wrong ? full source code, including generated php classes........
View Replies !
PHP5 SOAP :: Access And Utilize A Web Service
I'm trying to access and utilize a web service. A simplified snippet of the request I need to send looks like this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <MethodName xmlns="http://www.example.com/"> <ClassName> <MemberOne>string</MemberOne> <MemberTwo>string</MemberTwo> </ClassName> </MethodName> </soap:Body> </soap:Envelope> As seen above, the method expects an object type as parameter. The web service does not provide any means of fetching the class definition for this, so I tried the following: $scli = new SoapClient('http://www.example.com/?WSDL', array('trace'=>1)); $scli->__soapCall('MethodName', array('ClassName' => array('MemberOne' => 'Somevalue', 'MemberTwo' => 'SomeOtherValue'))); This does not work, so I examine the request sent by PHP. For some reason, all that is sent is this: <SOAP-ENV:Envelope> <SOAP-ENV:Body> <ns1:MethodName/> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Can anyone give me a hint on what I'm not doing right? I don't understand why the parameters aren't in my request? Or is this a problem with SoapClient->__getLastResponse()?
View Replies !
PHP5 SOAP Complex Data Types
I am having problems passing complex data types from a SOAP server constructed using the built-in PHP5 SOAP extension to a SOAP client using nusoap.php or PEAR::SOAP. This is what the WSDL file looks like: Code: .....
View Replies !
SOAP Client Header
Can someone tell how to create a header within a SOAP Message for sending wwith HTTP Client? And how to use x509 certificate with this HTTP Request? <SOAP-ENV:Envelope> <SOAP-ENV:Header> <kai:identificatie> <username> </username </kai:identificatie> </SOAP-ENV:Header> <SOAP-ENV:Body>...
View Replies !
Receiving An Array With Php5/soap From A Gsoap Server
So I have a gsoap server and a PHP soap client and I am trying to return a list (vector) of objects to the PHP client. However, the client seems to only store the last element of the array ... Any ideas on how to solve that? $rs = $client->get( new SoapParam($request, "request") , new SoapParam($response, "response" ) ); print_r($rs); REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mgrin="urn:dmanager-internal"><SOAP-ENV:Body><mgrin:getResponse><response xsi:type="SinglePair"><name>result</name><value>SUCCESS</value></response><response xsi:type="SinglePair"><name>jobid</name><value>12345</value></response></mgrin:getResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Array ( [response] => stdClass Object ( [name] => jobid [value] => 12345 ) )
View Replies !
Problem Receiving An Array With Php5/soap From A Gsoap Server
server and a PHP soap client and I am trying to return a list (vector) of objects to the PHP client. However, the client seems to only store the last element of the array ... Any ideas on how to solve that? $rs = $client->get( new SoapParam($request, "request") , new SoapParam($response, "response" ) ); print_r($rs); REQUEST: <?xml version="1.0" encoding="UTF-8"?<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mgrin="urn:dmanager-internal"><SOAP-ENV:Body><mgrin:getResponse><response xsi:type="SinglePair"><name>result</name><value>SUCCESS</value></response><response xsi:type="SinglePair"><name>jobid</name><value>12345</value></response></mgrin:getResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> Array ( [response] =stdClass Object ( [name] =jobid [value] => 12345 ) )
View Replies !
Adding Own HTTP Header Fields Along With A SOAP Request In PHP
PHP scripting and i am trying to connect to a soap server (as mentioned below) using the SOAP extension comesup with PHP. Now my requirement is to add my HTTP header fields along with my SOAP request, so that the SOAP server will receive it and does some high level processing. Is it possible to add our own HTTP header fields in PHP? If i use the header() function to add the field into the HTTP header and it neither reports an error nor adds it to the headers list. <?php header("X-Test: foo"); setcookie('foo', 'bar'); /* Define a custom response header */ header("X-Sample-Test: foo"); $client = new SoapClient(NULL, array( "location" => "http://127.0.0.7:3490", "uri" => "urn:calc", "style" => SOAP_RPC, "use" => SOAP_ENCODED, "trace" => 1 )); $client->__setCookie("Auth",$tem); echo ($client->__call( "add", array( new SoapParam( 10,"a"),new SoapParam(22,"b") ), array( "uri" => "urn:calc", "soapaction" => "add" )). " "); //echo $client->requestheaders(); var_dump(headers_list()); ?>
View Replies !
SOAP, PHP, RPC And C# .Net
I have an app that calls a webservice written in PHP. I have referenced the WSDL and when sending data to the server, methods like following work fine: soapservice MySoap=new soapservice (); MySoap.search("arg1","arg2"); However, when I need to receive data from the server or extract results, I am not sure what to do. None of the methods list any data type returns. Of course, I know what should be returned and we had been using "RPCResult" and XML documents from a SoapReader in VB6 using the SOAP SDK. Assuming I am going to retrieve an RPCResult and XML file from the above method, does anyone have any advice?
View Replies !
Soap + PHP
I have windows application on my local Client. from this application I want to call a php page on some website. And that Page will return a xml file to that windows application.
View Replies !
Php | Soap | Ssl?
Is it possible to transmit data to a secure server (https) using nusoap.php? Does it require cURL? or a version of PHP >= 4.3?
View Replies !
Soap In PHP
What do people use for SOAP in PHP? There are a few choices from articles I've seen on the web. The articles look old, though it may not have changed. I don't think I can recompile or add to the core PHP modules. My hosting has PHP Version 4.3.11.
View Replies !
SOAP Via SSL
I want to access a Lotus Notes Database via SOAP. PHP Version is 5.2.0, OpenSSL support is active (OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004) But I get this error message: Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Unable to set private key file `test.cer' in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: failed to create an SSL handle in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Failed to enable crypto in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient(https://notes.domain.tld/samson/sam...sf/Partner?WSDL) [function.SoapClient-SoapClient]: failed to open stream: Operation now in progress in /abbreviated/soap-test/index.php on line 7 Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL" in /abbreviated/soap-test/index.php on line 7 Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL' in /abbreviated/soap-test/index.php:7 Stack trace: #0 /abbreviated/soap-test/index.php(7): SoapClient->SoapClient('https://notes.s...', Array) #1 {main} thrown in /abbreviated/soap-test/index.php on line 7 Here is my code snippet: <?php $wsdl = 'https://notes.domain.tld/samson/samain20.nsf/Partner?WSDL' $options = array( 'local_cert' ='./test.cer', ); $client = new SoapClient($wsdl, $options); ?> The aquired the certificate with "openssl s_client -showcerts -connect notes.domain.tld:443" My question is now, wether I made a mistake or the SOAP server doesn't work properly. But when I access the WSDL file via browser, I get a valid XML file back. Any ideas for me? Thx Peter
View Replies !
PHP And Soap
I am currently building a web site, and we've added a payments gateway to the site. The examples that I got from the payments gateway company, say (suggest) that we use Soap to send the data to them. I tested the code on my box and all is good, but when I uploaded the script to our hosting server, I found out the server doesn't have Soap enabled / installed. I had a look around the net and found "nusoap" and tried giving that a go, but I got this error "Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/wti243/public_html/Payment/lib/nusoap.php on line 2161". Can anyone shead some light on the error? Is there anything else I can do? Another soap library etc.. Or is there another way to send the data? Before finding out about Soap, I used cURL, but I couldnt get the data to send in the correct format.
View Replies !
Use SOAP?
I have an apache server set up with PHP and MySQL but I am currently trying to get my head around XML and SOAP and would like to set up my server to work with this. I am sure on one of the earlier tutorials I found told me how to set up / enable SOAP and I think it involved downloading something but I can not find that tutorial again. Can anybody help me with some step by step instructions on how to prepare my server to use SOAP? Code:
View Replies !
PHP Vs SOAP
I've been asked to create and establish a connection towards a system with a SOAP server. The company hosting the external application has provided me with example code of how to connect in .NET and Java. I don't have any skill in Java so I've tried to understand the .NET example and create the same thing in PHP. So far i'm just getting a error message and the company who has provided the example doesn't have any who can support me within PHP. I hope someone here has the ability to give me a hand. Code:
View Replies !
Soap With PHP
I have a mysql Db with schedule data such as show names, episodes, start and end times etc. I have created a soap server service and client which work - code is below. Currently I am passing the item name and retrieving its info. Now I would like to be able to retrieve multiple rows of data and return these to the client. I would like to query something like this Code:
View Replies !
About Soap
what does it mean if i can use __getFunctions to list the avaliable functions in my wsdl, but none of the functions listed work. i keep getting a connection failed.
View Replies !
Soap
The only tuts I can find use nuSoap - which I'm already using but it may be the root of my high CPU usage. Well I've identified that the soap part of my code is whats causing the problem, now whether its something I'm doing or whether its something the other end is doing (searches are taking 40-70s to return - bleh). I'm trying to track down - I have to figure that using a native php function has to be better than using nuSOAP - but I cant seem to figure out how to use it. I dont want to faff with complicated arrays or anytihng - I just want to give it the damn XML to send and grab my response. Currently all I have to do is $soapclient = new nuSoapclient('http://domain.com/XmlService.asmx'); $soapclient->send($xmlMessage, "http://www.differentdomain.com/AvailabilitySearch"); $xmlString = $soapclient->response
View Replies !
XML And SOAP
right now the XML we are recieving is in UTF-8 encoding but we are charaters that are not supported which is giving us error. is there a way to set the enconding for the XML through SOAP, which is the current way we are getting th eXML document in the first place? We are running on linux running php 5.12 or higher if that helps in your answer.
View Replies !
SOAP And PHP 5
I have to use SOAP with PHP 5. Currently SOAP is disable with PHP. Do I have to recompile PHP? Or can I install a package. If so what package I should use?
View Replies !
Soap Fault
I am trying to call a Web Service using Php and Soap. Why does the following Php 5 code return? try { //$ExchangeLoginResult = $ExchangeClient->Login(array("request" => array("username"=>"sportleisure", $VendorAddResult = $VendorSoap->updateVendorSubscription(array("request" =array("header"=>$BetfairRequestHeader,"username"=>$tok [3],"vendorSoftwareId"=>342,"expiryDate"=>$date))); } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})"); print("Fault when trying to Add/Update API User "); var_dump($fault); } Error Message - Fault when trying to Add/Update API User ["faultstring"]=string(22) "Rejected (from client)" ["faultcode"]=string(10) "env:Client"
View Replies !
Php 5 Soap Question
I am using PHP5 in the latest xampp distro to write a proof of concept soap application with wsdl and cannot get it to recognise the <types> element. If I comment out the <typeselement and use basic types in the message <part>, all works fine. But if I try and declare a complextype in the <typeselement I get an error message stating unexpected element <schema>. My understanding is that the <schemaelement means that the types defined inside it are imbedded rather than imported?
View Replies !
PHP 5.0 SOAP Documentation
I've noticed there is an experimental version of soap bundled with new PHP. After some digging I've managed to find a piece of information how to use it. It's inside the distribution, but it would be more usable if it is included with the rest of the PHP documentation. The information that I am unable to find is: how to use autogenerated wsdl file from php class. PEAR::SOAP has this ability, using the same trick with php soap I didn't get any usable response. Is there some relation between PEAR::SOAP and bundled soap? When is better to use first and when the second? Could someone enlighten me. Has somebody used XUL/xxxx SOAP / PHP combination with success?
View Replies !
Soap On Apache
I'm trying to run a soap server on apache using ext/SOAP. It's not working, and the error log has the line PHP Warning: PHP Startup: Unable to load dynamic library './extphp_soap.dll' - The specified module could not be found. in Unknown on line 0 The php.ini file enables the soap extension, and a command line client has no problem running. I'm not sure where apache is taking the starting point of the path from, obviously not e:/php which is in my path variable and in the php.ini for included directories. So, how do I get apache to look for the dll in the right place?
View Replies !
SOAP Server In PHP 5
I'm having trouble while trying to map a php object to a wsdl one... I've been googleing hours to find a doc about this subject, but I could'nt find anything interesting. Do you have anything in your bookmarks to share with me :) ?
View Replies !
PHP, SOAP And HTTPS
I am creating a webservice in PHP, but the results that the web service returns is confidential - what is the most secure way to ensure the data being returned is secure? My thinking is the following: * Encrypt the data myself in the actual webservice * The webservice must reside in a secure area and be accessed via HTTPS Is there anything else I could use - any better ideas?
View Replies !
Php -> Wsdl (soap) ?
I want to use some php-functions in my Visual Basic 6 program. I want to do this by using SOAP. For that I already downloaded the MS SOAP Toolkit 2.0 SP 2. But I need a WSDL-file of my php-file to use these functions. How do I create it? Where do i find information about that? For example this easy function: PHP Code:
View Replies !
Soap Installation
can anybody help me to implement soap into my system?..i think this is the answer to my problem but i really dont know how to do it..ive been reading about it but i really cant understand it..
View Replies !
(nu)soap Web Service
i am new to writing soap servers adn clients.. i am using nu soap implementation of soap (or is it xmlrpc?)... i use adodb class for data extraction from database.. and $_RIIA_TValidate->check_int() checks if something is an integer or not.. its tweaked version of is_int() PHP Code:
View Replies !
PEAR::SOAP
I want to do some SOAP with PHP and found the SOAP package at PEAR. But I didn't find any documentation for it. Can anybody tell, where to find docs? Or can anybody tell how to use it?
View Replies !
Wsdl And Soap
I'm currently reading about web services, wsdl and soap. how is it implemented? is nusoap installed on the server can create web services itself? or do i need to install wsdl...
View Replies !
SOAP Issues
I have a "Hello World" web service written in C# running on a win2003 server. From a Linux server I have PHP code which tries to execute the web service. The problem is that when I print the results of the function I get "Object id #2" instead of "Hello World". But if I inspect the response with _getLastResponse, the Hello World message is inside the XML. What Am I missing? Here is the code and the results afterwards. PHP Code:
View Replies !
PHP SOAP Toolkits
I am looking into deploying web services with PHP and would like to get on a 'good horse' to start. I am aware of NuSoap and PEAR:SOAP. Does anyone have any experience, good and/or bad with the following packages?
View Replies !
Disabling SOAP PHP 5.2
How do I go about disabling SOAP extensions with php 5.2? Is there a simple edit to php.ini? I am trying to use NuSoap and am getting a conflict problem.
View Replies !
PHP Soap Extension
i've been having problems mapping a php class to a complex type, how do you bind the attribute of a xsd to a specific php variable.
View Replies !
Soap W/ Classes
I have a SoapServer setup to use a class I wrote. The class has a constructor and I am not sure how to, on the Client side, initalize the SoapClient with the classes parameters. so. if SoapServer uses... class Test { private $param; public function __construct($param) { $this->param = $param; } } ... the on the client side do a SoapClient but passing $param along with it. Anyone know?
View Replies !
Proxy With PHP & SOAP
I'm trying to use PHP to proxy a SOAP envelope. I tried various things like: 1) http://www.practicalwebmaster.com/entries/using-php-to-proxy-remote-url-ajax-requests.html 2) http://www.troywolf.com/articles/ They sort of work, but neither is able to send a SOAP envelope. Here is a snippet of the code I would use: xmlDoc = // get an XMLHttpRequest object appropriate for browser type if(xmlDoc.overrideMimeType) xmlDoc.overrideMimeType('text/xml'); url = 'http://services.xmethods.net/soap'; // url to proxy url = 'proxy.php?proxy_url=' + escape(url); // assume proxy is in current directory xmlDoc.open('POST', url, true); xmlDoc.setRequestHeader('Content-Type', 'text/xml'); xmlDoc.setRequestHeader('SOAPAction', '""'); xmlDoc.onreadystatechange = getResults; req.send( // Soap Envelope ); Anyone have any ideas?
View Replies !
Configure SOAP
how to congfigure PHP with SOAP. I try to install pear soap but at time of installation it gives error that dependenices not fount and when i run this command pear install -a http://pear.php.net/get/soap-0.8.0.tgz . it runs and downloaded some dependencies but at time of Net_DIME package it terminates and says that this package is not stable so can't install.
View Replies !
SOAP Problem
I am trying to delete document on eXist Db via soap driver. Using removeDocument($path). But nothing is happened! No errors on log, no exceptions ! I have no problems to store documents, create collection, remove collection, remove user, get resources, move Document But when I am using removeDocument() function to delete arbitrary resource, it is there again. I don`t know where is my mistake !! All seems like removeCollection($path), removeUser() …. I am using eXist newcore version, php, XML-DB.Soap driver.
View Replies !
Soap Web Services
I'm trying to call a function from my webservice that I know works. I've called all the functions through php4 using nusoap and everything's good. I'm not sure of the syntax in php5 though. When I call my createUser web service function with an array of the users details I get this exception: Code:
View Replies !
|