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
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,055
  • 1
  • 17
  • 33
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
  • 17,118
  • 13
  • 58
  • 92
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
  • 22,631
  • 17
  • 67
  • 75
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
  • 525
  • 1
  • 8
  • 19
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
  • 688
  • 2
  • 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
  • 109
  • 2
  • 9
4
votes
1 answer

NuSoap - Nested Array in addComplexType are allowed ?

I need to receive from client an XML input like this (with 2 or more elements): 123 hello 3
user3881968
  • 41
  • 1
  • 3
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
  • 567
  • 2
  • 9
  • 27
4
votes
2 answers

Cannot access mySQL implementing nuSOAP?

This is an UPDATE on my progress, still getting simmilar error : So basically I don't get return data from my nuSOAP web service when invoking a function that uses mySQLi query I think It's because of nuSOAP ( no proof for that yet ), anyway here's…
Muhamed Krlić
  • 1,434
  • 2
  • 16
  • 24
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
  • 43
  • 1
  • 5
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,434
  • 2
  • 16
  • 24
4
votes
4 answers

php get SOAP header Username and Password from SOAP SERVER

I have to create PHP, SOAP API. I need to authenticate SOAP client from SOAP Server. This is the code of SOAP Client. $client = new SoapClient("cust.wsdl",array( "trace" => 1, "exceptions" => 0, "user" => 'username', "pass" =>…
Sathiska
  • 465
  • 1
  • 5
  • 17
1 2
3
43 44