Questions tagged [nusoap]

NuSOAP is a set of PHP classes to enable the consumption and creation of SOAP web services. NuSOAP is a rewrite of SOAPx4, provided by NuSphere and Dietrich Ayala.

NuSOAP is a set of classes to enable the consumption and creation of web services. NuSOAP is a rewrite of SOAPx4, provided by NuSphere and Dietrich Ayala.

Useful links

653 questions
7
votes
1 answer

NuSoap vs PHP Soap Library. Where is getError?

I'm converting an old code which use NuSoap to PHP Soap Library. But method getError in NuSoap PHP seems not exist in PHP Soap Libary and I get this error: Fatal error: Uncaught SoapFault exception: [Client] Function ("getError") is not a valid…
bman
  • 3,698
  • 3
  • 31
  • 63
7
votes
6 answers

NuSOAP and content type

Can't figure out how to make NuSOAP use UTF-8 for a content type. it keeps spitting out "ISO-8859-1". here's the relevant code bits that I've tried: $soapclient=new…
Bill
  • 535
  • 2
  • 5
  • 14
7
votes
2 answers

How do i view the "raw xml" output from nusoap?

I have a generic function that I use to pass SOAP commands. I need to view the RAW XML data that is being sent to the server for diagnosing an error. How do i do that?
tzmatt7447
  • 2,099
  • 8
  • 22
  • 30
7
votes
5 answers

How do RESTful and SOAP Web Services differ in practice?

I am implementing web services for a PHP application and am trying to understand what both standard web services and RESTful web services have to offer. My intent is to write wrapper code to abstract away the web service details so that developers…
Edward Tanguay
  • 176,854
  • 291
  • 683
  • 1,015
6
votes
2 answers

NuSOAP and response with Array

I've NuSOAP web-server: ... $server->register('getMembersEvents', array('date' => 'xsd:string'), array('Events' => 'tns:Events'), 'urn:my', false, …
Alexey
6
votes
2 answers

Sending Raw XML via PHP SoapClient request

I am trying to simply send RAW xml to a webservice via PHP and SoapClient. The problem is when I encode my XML it changes the order of elements in the XML that is converted to an associative array. // Initialize the Soap…
Fostah
  • 2,651
  • 3
  • 49
  • 74
6
votes
2 answers

web service unicode characters display as question marks

I wrote php web service using nusoap and client script. When I fetch the database records via php client unicode records are displaying as ?????????? ???? ???? ("questions marks"). server.php
Roshan Wijesena
  • 3,018
  • 6
  • 33
  • 56
6
votes
2 answers

SOAP authentication with PHP

I need to connect to a web service that requires authentication credentials in the form of a plain text user name and password. I have a basic understanding of SOAP and have managed to connect to other open web services that do not require a…
The website-lab
  • 184
  • 1
  • 1
  • 5
6
votes
2 answers

NuSoap - How to use local, existing WSDL file in nusoap_client PHP

I am new to nusoap, and web services in general. The wsdl file comes from the client. I have a basic web service working with the default URL which supplies the wsdl via the web address: http://hiddenurl.com/ws/schema/Terminal.wsdl But the client's…
100pic
  • 377
  • 3
  • 13
6
votes
1 answer

PHP Soap Header help

I have a fairly simple php/soap header question. Here's what I need. Here's what I get... token123456789 using this…
Xavias
  • 170
  • 1
  • 1
  • 8
6
votes
3 answers

Moving from NuSOAP to PHP5 SOAP

I have been working on a script with PHP4 that relies on NuSOAP. Now, I'm trying to move this to PHP5, and use the buildin support for SOAP there. $wsdlPath = ""; // I have obviously set these variables to something meaningful, just hidden for…
6
votes
3 answers

Can nusoap return array of string?

I would like to return an array of string in my web services I've tryed : configureWSDL('NewsService', 'urn:NewsService'); $server->register('GetAllNews', array(), …
Tim
  • 2,819
  • 8
  • 31
  • 33
6
votes
1 answer

NuSOAP varDump PHP Fatal error: Allowed memory size of 134217728 bytes exhausted

Sorry for my english :) I have NuSOAP version 0.9.5. And I have had an php error when tried to get a big data: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 27255652 bytes) Stack trace shows that problem was…
5
votes
1 answer

passing an array to web-service php nusoap

i have a problem with passing an array to a web-service function that i created with php and nusoap. the problem is that i guess i'm doing something wrong.. i suspect that the problem is in the function or in my client side. when i send an array it…
Tal
  • 71
  • 2
  • 9
5
votes
1 answer

NuSoap soapClient call getting "Premature end of data in tag html" error

I'm trying to call a webservice that I've created, but the server is returning the following error: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.savepoints.com.br/server.php?WSDL' :…
Alan Gularte
  • 493
  • 3
  • 9
  • 26
1
2
3
43 44