I am using the nusoap lib with a cakephp app for legacy / compatibility reasons, I was just wondering if it was totally necessary to create an instance of nusoap_server, I can't figure out any obvious reason for doing this when i can just output any data formatted as xml nilly willy without creating a server instance - is it perhaps just...
Hi,
I want to return an array of article objects in a PHP web service, using nuSOAP v 1.114. This is how I set up the WSDL:
$server->wsdl->addComplexType(
'ArticleType',
'complexType',
'struct',
'all',
'',
array('articleId' => array('name'=>'articleId', 'type'=>'xsd:int'),
'heading' => array('name'=>'heading', 'type'=>'xsd:string'...
So having managed to crack getting nusoap to poll the chemspider server for information however I get a response that will display using print_r but when using print will simply display Array.
My question is this really, how do I take the given response and turn it into a php array
The code for the nusoap client
<?php
require_once('....
I am trying to get nusoap server working with cakephp, the problem I am assuming is that the code is within a class (controller) and nusoap is trying to execute 'function()' instead of '$this->function()'. Does anybody know of a simple workaround for this, i don't like modifying 3rd party classes...
...
I have a nuoap 0.7.3 webservice installed on APACHE 2 with PHP5. The web service is being consumed from a .net client and all works as long as the folder contents aren't secured with a .htaccess file.
Accessing via IE or Firefox causes prompt and all works as expected.
Have performed WebRequest with credentials applied and they are acc...
Hi there,
I am trying to call a web service
(using nusoap), which work well when
I call it with a php client.
It returns a list of mail address.
(there are plenty of examples around on the web about php/php or php/asp.net, etc...)
but, I want now to be able to call this web
service with classic ASP
I have found noth...
I'm using NUSOAP on the server-side of a web service. I want to return a null dateTime element, but I'm not sure how.
If I return the values false or '' , the result is
<due_date xsi:type="xsd:dateTime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
whereas I would like it to be
<due_date xsi:type="xsd:dateTime" xmlns:...
Hello, I would like to know the differences between nusoap and ZendSoap, which is the best? what benefits and disadvantages of each? Anyone who has used both technologies could make this comparison?
Thank you
...
EDIT: After some research, I found the answer to the problem (at least it works for my particular situation). Instead of the register call noted down below, I am now using the following call:
$soap->register(
'MyFunction',
array('inputData' => 'xsd:string'),
array('outputData' => 'xsd:stri...
I have sugar crm instance and i was trying to get some data from it using soap service.
Below is the code which i am using for it.
When i run the same code , sometimes it is returning correct data, sometimes it not.
Can any one tell me what the problem is??
include "nusoap.php";
$client = new soapclient('http://asdf.net/test/urba...
I need a php client base on nusoap lib. to get a asmx service response with haeder auth enabled:
This is the Request (using soapUI):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:res="namespaceurl">
<soap:Header>
<res:AuthHeader>
<!--Optional:-->
<res:UserName>myuser</res:UserName>...
I currently have a return from a SOAP call.
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:getMakeResponse xmlns:ns="http://ws.fds.com">
<ns:return>
<ResponseCode>000</ResponseCode>
<ResponseDescription>No Errors</ResponseDescription>
<MakeRetur...
Hello good people!
i've been struggling the whole week end to connect to jasperIntelligence service in vain with a php client.Of course there is a sample php client in the jasperserver installation and that seems to be very very old. I've decided to write my own using the latest nusoap 0.7.3.It seems like i'm not getting well the struct...
HI
can anybody know that how to generate the signature using nusoap? i know nusoap very well i want the procedure to do it
thanks in advance
have dream day
...
I am not sure what is going on but I have a test soap server and client set up with nusoap. When I execute it my response is the wsdl xml. Has anyone ever had this happen to them? If so do you know why I am getting this response?
Thanks for all your help.
...
Hiya,
I'm trying to teach myself SOAP, just to extend my skillset a bit, but I've hit a wall and I was wondering if a kind developer out there can help?
I've set up my server thus:
http://www.domain1.com/server.php
<?php
// Pull in the NuSOAP code
require_once('soap/nusoap.php');
// Create the server instance
$server = new soap_serv...
Hiya,
I'm using PHP and NuSOAP to create a webservice to serve up various bit of my database to an external application.
The service works just fine, but I need to tweak the XML output from this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http:/...
I've spent the last week developing code to connect to a Web Service using the nuSoap library. I just deployed the code to production, but immediately started getting error's that I hadn't seen before. I traced the problem back to a line of code that is trying to instantiate a new soapclient object. It turns out that both libraries have ...
I am making my first SOAPclient and I am stuck with the Headers, I am getting a response and when I look at my request it has a soap:body but no soap:headers. The web service has needs 3 parameters
1.UserName
2.Password
3.errorMessage
This is the code I have set up.
$SOAPAction = 'http://localhost/DriveAwayPriceCalculation/PriceCal...
hello all,
the story:
1. Mobile sends the word "algorithms and programming" (in the J2ME => i use Wsoap client) to Web services.
2. Web services send it to the E-library that has been registered.
3. Each e-library to find the word in its database, and then send the data results from the database to the web services.
4. Web services rece...