Facing issue to get WSDL parameters to soapaction in PHP 8.1. Is there any support for that
Hello. I am using NuSOAP as a webservice server providing number of methods. I am consuming this service by .NET Framework clients. It all works quite well together but sometimes clients get this exception: ProcessGetResponseWebException - HResult=-2146233079 Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. This is not related to any particular client (which are on different PCs) because they all mostly consume the calls without any...
Hi. I'm try to use this webservice where i need to call operation and send this XML. So far so good. But, the XML contains TAGS with Hyphen. Like this: <tag-name></tag-name>. And i receiving this messages below: wsdl->getTypeDef('tag-name, 'http://nfse.abr...') wsdl->serializeType('tag-name', 'tag-name', Object(SimpleXMLElement), ' Can anyone help me?
Hi, i need to send this envelope: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.aa.bbb.com.br/"> <soapenv:Header/> <soapenv:Body> <ws:enviarLoteNotas> <xml> here goes my xml... </xml> </ws:enviarLoteNotas> </soapenv:Body> </soapenv:Envelope> Where / how i can specify this structure?
We are using the NuSoap module to connect to the WDSL server. we are getting the below error. Uncaught Error: Call to a member function setCredentials() on null function initSoap() { $this->client = new nusoap_client($this->wsdl_location, true); $this->client->setCredentials($this->username,$this->password, 'basic'); $err = $this->client->getError(); if ($err) { echo "Constructor Error: $err\n"; echo $this->client->debug_str . "\n"; return false; } $this->lmapi = $this->client->getProxy(); $this->lmapi->setCredentials($this->username,$this->password,...
I am using NuSOAP / 0.9.5 on my system. There is a specification change in the communication destination system, I have been informed that the following encryption algorithms have been disabled. TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA TLS_RSA_WITH_3DES_EDE_CBC_SHA It seems that the following encryption algorithms can be used. TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384...
I am using NuSOAP / 0.9.5 on my system. There is a specification change in the communication destination system, I have been informed that the following encryption algorithms have been disabled. TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA TLS_RSA_WITH_3DES_EDE_CBC_SHA It seems that the following encryption algorithms can be used. TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384...
Did you find a solution? I am having the same problem.
In my case, following the example above, i have defined "Chapter" but i get XML error parsing SOAP payload on line 2: Invalid document end. i am basically returning that as the result. $test[] = array("id" => "1223", "desc" => "sdf2sdfsdf", "price" => "122333");
THANK YOU Good man from the past!
Hello, I am trying to open the web service server URL from my Server. that web service implemented by ASP.Net and I call it by PHP. I have the same problem . Did you find the solution to that problem? thanks
As a webservices that uses datacontract is consumed, I have passed this data to be able to generate the token, but I can not make the connection $UriString = "https://atxdevdevaos.sandbox......; $UserName = "mmar........."; $Password = "MiR......."; $ActiveDirectoryResource = "https://atxdevdevaos.sa......"; $ActiveDirectoryTenant = "https://login.windo........"; $ActiveDirectoryClientAppId = "fbfa9e67-da5..............."; $ActiveDirectoryClientAppSecret = "ak4Yda4xo+OPuBVZ..............."; $authtype...
Hi all, My code below doen't work ("wsdl error: Getting https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)"). Could you help me? require_once('nusoap.php'); $wsdl = 'https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl'; $cert = 'chDigital/Tetse.pfx'; $certPass = 'tetse2018'; $options = array('sslcertfile' => $cert, 'passphrase' => $certPass);...
Hi all, My code below doen't work ("wsdl error: Getting https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)"). Could you help me? require_once('nusoap.php'); $wsdl = 'https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl'; $cert = 'chDigital/Tetse.pfx'; $certPass = 'tetse2018'; $options = array('sslcertfile' => $cert, 'passphrase' => $certPass);...
Hi all, My code below doen't work ("wsdl error: Getting https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)"). Could you help me? require_once('nusoap.php'); $wsdl = 'https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl'; $cert = 'chDigital/Tetse.pfx'; $certPass = 'tetse2018'; $options = array('sslcertfile' => $cert, 'passphrase' => $certPass);...
Hi all, My code below doen't work ("wsdl error: Getting https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)"). Could you help me? require_once('nusoap.php'); $wsdl = 'https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl'; $cert = 'chDigital/Tetse.pfx'; $certPass = 'tetse2018'; $options = array('sslcertfile' => $cert, 'passphrase' => $certPass);...
Hi all, My code below doen't work ("wsdl error: Getting https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeStatusServico/MDFeStatusServico.asmx?wsdl - HTTP ERROR: cURL ERROR: 0: NSS: client certificate not found (nickname not specified)"). Could you help me? $cert, 'passphrase' => $certPass); $client = new nusoap_client($wsdl, $options); $err = $client->getError(); if ($err) { // Display the error echo 'Constructor error' . $err; } else { echo 'Ok!!!!'; } ?> Thanks! Fabio
<xsd:simpleType name="articleIdType"> <xsd:restriction base="xs:string"> <xsd:maxLength value="22"/> </xsd:restriction> </xsd:simpleType> I want to create this simpleType. If I use this instruction: $server->wsdl->addSimpleType( 'quantityUnitType', 'xsd:string', 'SimpleType') <xsd:simpleType name="articleIdType"> <xsd:restriction base="xs:string"> </xsd:restriction> </xsd:simpleType> I have not found any example that indicates how to do it. Thank you
The problem is not with php 5.6, there also works fine, the problem is with other server with ubuntu server 16.04 with php 7
Hi, i have been used nusoap for more than 6 years without problems. I have an ubuntu server 12.04 with php 5.3.10 Suppose this data: <data>first line of test second line of test</data> In client machine i have CR LF after "first line of test". When I receive this data fom client machine, in my server those CR LF becomes as LF, and this is ok. Now, i have an ubuntu server 16.04 with php 5.6 and when client machine send this data to my web service, i receive CR LF as LF LF, so the data i receive is:...
I'd like to know if I can use this library in a commercial application and what I should do.
Thanks a Lot for the fix. I was getting error allocated bytes exhausted while downloading files via PHP web services using nusoap.php. In addition to the above fix, I had to change below in nusoap.php to resolve the issue. Once below was done I was able to download large files without issue. Thanks Again. function varDump($data) { $ret_val = ""; if ($this->debugLevel > 0) { ob_start(); var_dump($data); $ret_val = ob_get_contents(); ob_end_clean(); } return $ret_val; } $GLOBALS['_transient']['sta...
Ok, I see this SOAP response was actually MOTM/multipart, and much to my chagrin, NuSOAP does not actually support multipart. That was a really long and round-about way of discovering that :( For posterity, ended up parsing the raw response with string parse for known cases, like: $response = $client->response; $error = $client->getError(); if ($error) { if ($error === 'XML error parsing SOAP payload on line 1: Not well-formed (invalid token)') { dpm($response, 'OK: multipart response to be parsed');...
Not hundred percent what the thing was.. but was able to set headers and get success: Content-Type: text/xml; charset=UTF-8 Accept-Encoding: gzip, deflate from $client->soap_defencoding = 'UTF-8'; $client->setHTTPEncoding('gzip, deflate'); respectively. I'm still getting XML error parsing SOAP payload on line 1: Not well-formed (invalid token). but that seems to be coming from the server. Initial response is an http 200 with a good-looking SOAP message of 200 and OK within. /shrug
So what I'm doing.. When I dump my curl request raw from php app via $client->request and paste it into SoapUI and run it there, the request goes thru perfectly. But it's not running in my php app! I keep getting an IIS 400 Bad Request (not a SOAP error). The differences I see in the raw http request from my nuSoap php app and SoapUI with the exact same payload are: POST /Action.svc in app is POST https://example.com/Action.svc (absolute, FQD) in SoapUI Accept-Encoding: gzip,deflate in SoapUI, not...
Hmm.. an update. While that xml declaration did cause my request to fail with an IIS 400 Bad Request, changing the encoding to UTF-8 allows the raw request to go through (when copy/pasted into SoapUI) but not via my php app. I think it's got to do with the http request now..
I am outputting my client SOAP request to screen and copy/pasting into SoapUI: When run like this, I get a 400: Bad Client Request from the SOAP service, but when I remove the XML declaration in the first bit: <?xml version="1.0" encoding="ISO-8859-1"?> so that the next bit is the rest of the standard SOAP request, the request goes through, and I get a 200 OK in a proper SOAP response. What is it about the xml declaration that's breaking my request, how can I remove it before the request is sent,...
hi i have same problem but i cant resolve this problem yet please help thanks
Hi. You can use composer require econea/nusoap. :-) Take a look: https://github.com/econea/nusoap
Hi. It's common bug which bother me either. I've fixed it here: https://github.com/econea/nusoap
Hi. I've prepare PHP 5.4 to PHP 7.1 compatible version with full composer support. Please take a look: https://github.com/econea/nusoap
Hi. I've prepare PHP 7 compatible version with full composer support. Please take a look: https://github.com/econea/nusoap
Hello, I´ve developed some webappications that comunicate each other through NuSOAP...
Hi, I have a problem uploading files of more than 5-6MB. If I upload a PDF, DOC or...
Hi, I'm looking for download the last stable version of NuSOAP, but I'm a little...
Hi, i have an issue. that's the request i need to send (working in SOAP UI) <soapenv:Envelope...
Hi everybody! (Sorry for my english, is not very good but i try to do my best) I...
I had this same problem, and I solved it by change the line var $soap_defencoding...
Hi, I have a problem. I have to call a ws with a few parameters. In one of these...
HI, I have tried following fixes. $server->defencoding = 'UTF-8'; $server->soap_defencoding...
HI, I have tried following fixes. $server->defencoding = 'UTF-8'; $server->soap_defencoding...
HI, I have tried following fixes. $server->defencoding = 'UTF-8'; $server->soap_defencoding...
hello i am using nusoap.php with php7 and i get this errors what i have to do ? PHP...
I need to use multiple namespace in a web service that I have developed with NuSOAP....
Hello, After defining web service(with nusoap v1.63) parameters as defined above:...
Hello, i got this errormsg "Operation '' is not defined in the WSDL for this service"...
Hello, i got this errormsg "Operation '' is not defined in the WSDL for this service"...
Hi , Recently I have moved from PHP 5.3 to 5.6 ,Unfortunitly my NUSOAP Functionality...
Hello, In newer versions of PHP, PHP will throw an error if the date.timezone in...
WHen my soap response contains this: <Remark xml:space="preserve"> </Remark> The...
Hi all, I'm starting my adventure with NuSOAP and I'm trying to create service that...
Hi, I have done an example of nusoap server: function getProd($category) { if ($category...
When i passed the deviceQuestions Array, nu_soap only read and send the last item...
Hi Alex, did you solve this problem? i have the same, but in xml like this: <getDevicePriceRequest>...
Hi there, Having the following, how do I set the HTTP protocol to its 1.1 version?...
Hi there, Having the following, how do I set the HTTP protocol to its 1.1 version?...
Hi there, Having the following, how do I set the HTTP protocol to its 1.1 version?...
Hello I'm trying to use the latest nusoap.php on a server running php5.3.29 on which...
I am having a huge headache. I am doing this in SoapUI: DESIRED CALL / REQUEST <soapenv:Envelope...
I am having a huge headache. I am doing this in SoapUI: DESIRED CALL / REQUEST <soapenv:Envelope...
hi, after call method Gettoken i see this error i tired to search and cant find answer...
Ok, apparently only V5 operations are allowed: Test, BookTable, GetSessionAvailability...
Ok, apparently only V5 operations are allowed: Test, BookTable, GetSessionAvailability...
After being digging into it for three days (it has been hellish & interesting, considering...
Using nuSOAP, how can I can make a webservice which response elements together with...
I'd like to report a solution I found to an issue I ran across using NuSOAP. I am...
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312">...
I'm new to NuSOAP and don't know how to get the GetAddressBooks results from this...
PHP is connected to SOAP between NuSOAP and I can recieve data from PHP. After getting...
PHP is connected to SOAP between NuSOAP and I can recieve data from PHP. After getting...
PHP is connected to SOAP between NuSOAP and I can recieve data from PHP. After getting...
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312">...
PHP is connected to SOAP between NuSOAP and I can recieve data from PHP. After getting...
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312">...
SOLVED. Was using a wrong URL for my endpoint. Thanks for the help guys.
Glenn, Did you check you auth type ? Basic, ntlm ? Let me check again. On Feb 25,...
When I point my browser to the WSDL URL I indeed get prompted for a username and...
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312">...
Glenn, When you point your browser at http://somedomain.org/xyz.php?WSDL, it prompts...
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312">...
I'm trying to make a SOAP request with the NuSoap library. However, when I try to...
Hello Kervala How do I use the patch? do you have any example to test? Thanks and...
Buenas he tratado de todas las formas pero no logro entender como enviar archivos...
Buenas he tratado de todas las formas pero no logro entender como enviar archivos...
I'm trying with a php/nusoap client consuming from a J2EE Web Service from SAP. The...
I'm trying with a php/nusoap client consuming from a J2EE Web Service from SAP. The...
I'm trying with a php/nusoap client consuming from a J2EE Web Service from SAP. The...
I'm trying with a php/nusoap client consuming from a J2EE Web Service from SAP. The...
How can i integrate SOAP in our site(PHP Platform)? plz sent me integration guid...
How can i integrate SOAP in our site(PHP Platform)? plz sent me integration guid...
I don't know if you ever got this working, but this is how I declared my complex...
I don't know if you ever got this working, but this is how I declared by complex...
官方阿迪达斯新店开张大促销了,三折呀,还有情侣款,我卖了两双,去验过是正品,很满意~!http://st.zzaa.org This is an automatic...
It seems NuSOAP does not support WSSE. I need to implement the username token in...
官方阿迪达斯新店开张大促销了,三折呀,还有情侣款,我卖了两双,去验过是正品,很满意~!http://st.zzaa.org This is an automatic...
May I ask have you got any solution of ws-security with username token in soap header...
官方阿迪达斯新店开张大促销了,三折呀,还有情侣款,我卖了两双,去验过是正品,很满意~!http://st.zzaa.org This is an automatic...
Hello guys, I am new to code with NuSOAP lib. Currently, i've just accomplished connected...
Edit: Sorry can some one move this to the Help forum. That was pretty dumb. Hi, I...
Hi, I have successfully managed to run many services from VB.NET, however I am unable...