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

646 questions
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' :…
acg
  • 503
  • 3
  • 11
  • 27
5
votes
1 answer

Sending HashMap parameter to Web Service from PHP

Actually, the problem is NOT how to do it, but if it's a design mistake. I'm worried because I've read a lot about using only standard data types in WS. However, I had no problem implementing one that receives a HashMap, and filling that parameter…
Federico Cristina
  • 2,203
  • 1
  • 19
  • 37
4
votes
5 answers

NuSOAP: how to change content-type of request?

When consuming a .NET WCF webservice I get the following response (error): Unsupported HTTP response status 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml;…
jao
  • 18,273
  • 15
  • 63
  • 96
4
votes
2 answers

Making a SOAP request in Drupal?

I am trying to implement a SOAP call with Drupal 6 with the following format: POST /0_5/ClassService.asmx HTTP/1.1 Host: api.mindbodyonline.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction:…
AtomicCharles
  • 111
  • 1
  • 3
  • 12
4
votes
1 answer

How do I read SOAP reply Envelope by PHP

How do I read the error_code from this SOAP reply Envelope? My PHP version is: 5.2.0.
riad
  • 7,144
  • 22
  • 59
  • 70
4
votes
1 answer

Making a SOAP request over HTTPS using PHP and NuSOAP

I've been stuck with this for days now and I can't seem to find the answer anywhere, even though I think it's a fairly common task. Can anyone help? I'm trying to use PHP and NuSOAP to connect to a web service. The web service requires me to both…
Erik Frisk
  • 219
  • 2
  • 5
  • 13
4
votes
1 answer

How can I disable a compiled in extension in PHP

My home system has a version of PHP compiled with the SOAP extension. The live system has a version of PHP without the SOAP extension, and most of the scripts rely on the NuSOAP library quite heavily. The fact that NuSOAP and the SOAP extension use…
Jrgns
  • 24,699
  • 18
  • 71
  • 77
4
votes
1 answer

Soap client, how to call a function over HTTPS with Basic HTTP Authentication

This problem has been killing me for the entire day. I have a client web service https://*.asmx?WSDL, with Basic HTTP Authentication.. If I use SoapUI to connect to the webservice, everything works perfectly with no errors whatsoever.. The problem…
Tio
  • 556
  • 1
  • 7
  • 26
4
votes
2 answers

Help with NuSOAP for a Web Service

I'm trying to do an example web service with NuSOAP in PHP, and I built this example class:
Osukaa
  • 708
  • 3
  • 10
  • 22
4
votes
3 answers

http error couldn't open socket connection to server nusoap error 13

Hi i'm working on consuming ws from a server and in my pc it works fine, but when I test the code con the server's networks it throws this error: http error couldn't open socket connection to server nusoap error 13 I tried to test a ws with less…
Manolo
  • 125
  • 2
  • 10
4
votes
1 answer

how to show Persian text received from a web service in C#

I'm new to Web Services, but I made one like this: require_once "lib/nusoap.php"; function welcome($name) { return $name . "خوش آمدید"; } $server = new soap_server(); $server->configureWSDL("testWebService",…
4
votes
4 answers

Notice Array to string conversion using nusoap

I'm developing a web service in PHP, using nosoap. this is my file, webservice.php configureWSDL('myWS',…
chenio
  • 592
  • 3
  • 11
  • 27
4
votes
1 answer

NuSOAP + PHP , wsdl error: XML error parsing WSDL issue

I'm trying to use nuSOAP to send a array with some data that will be use it on DB, but every time i get this "wsdl error: XML error parsing WSDL issue ... not well-formed (invalid token)" on my client.php Here is my a little of my code on the…
4
votes
2 answers

SSL connection with CURL (PHP) working on Linux, same code fails on Windows

I wrote a script that uses our banks WSDL service, using Nusoap. Requests are signed with certificate. This script works fine on Ubuntu, Apache 2.2, PHP 5.4. When trying to achieve same thing on Windows 7 (64-bit, Apache 2.2, PHP 5.4), I get this…
emanuelv
  • 73
  • 1
  • 7
4
votes
1 answer

How to call a function that returns an array from a webservice?

I am new to C# and I am using nuSOAP and PHP. I have coded a function in a web service that returns an array. The problem is that I don't know how to get that array from the client side. Here's the relevant code in my web service: function…
Muhamed Krlić
  • 1,462
  • 2
  • 16
  • 25
1 2
3
43 44