deviservi / nusoap Goto Github PK
View Code? Open in Web Editor NEWNusoap PHP library
Nusoap PHP library
Hi:
I am sending some information from server a and it works very good, but when I want to send the same information from another server b, it ouput is no operations defined in the WSDL document!, the php version in a and b server is 4.4.7 am I missing something? may somebody help me? I am just using this:
$params = Array
(
[encabezadofactura] => Array
(
[codempresa] => DUA
[coddocumentoencabezado] => FE
[numerodocumentoencabezado] => 20948
[identerceroencabezado] => 800099283
[observacionencabezado] => Factura FE #20948
[estadoencabezado] => 4
[fecharegistroencabezado] => 15/08/2015
[usuariocreacion] => 1350
[tipotercero] => 3
)
[asientoscontables] => Array
(
[0] => Array
(
[codcentrocostoasiento] => 0
[codcentroutilidadasiento] => 0
[codcuentaasiento] => 24080601
[codlineacostoasiento] => 0
[identerceroasiento] => 800099283
[observacionasiento] => No Aplica Observacion Asiento - IVA
[valorbaseasiento] => 171200
[valorcreditoasiento] => 171200
[valordebitoasiento] => 0
[valortasaasiento] => 0
)
[1] => Array
(
[codcentrocostoasiento] => 0
[codcentroutilidadasiento] => 0
[codcuentaasiento] => 41353803
[codlineacostoasiento] => 0
[identerceroasiento] => 800099283
[observacionasiento] => No Aplica Observacion Asiento - IVA
[valorbaseasiento] => 0
[valorcreditoasiento] => 1070000
[valordebitoasiento] => 0
[valortasaasiento] => 0
)
[2] => Array
(
[codcentrocostoasiento] => 0
[codcentroutilidadasiento] => 0
[codcuentaasiento] => 13559515
[codlineacostoasiento] => 0
[identerceroasiento] => 800099283
[observacionasiento] => No Aplica Observacion Asiento - CREE
[valorbaseasiento] => 0
[valorcreditoasiento] => 0
[valordebitoasiento] => 4159
[valortasaasiento] => 0
)
[3] => Array
(
[codcentrocostoasiento] => 0
[codcentroutilidadasiento] => 0
[codcuentaasiento] => 23657510
[codlineacostoasiento] => 0
[identerceroasiento] => 800099283
[observacionasiento] => No Aplica Observacion Asiento - CREE
[valorbaseasiento] => 0
[valorcreditoasiento] => 4159
[valordebitoasiento] => 0
[valortasaasiento] => 0
)
[4] => Array
(
[codcentrocostoasiento] => 0
[codcentroutilidadasiento] => 0
[codcuentaasiento] => 13050505
[codlineacostoasiento] => 0
[identerceroasiento] => 800099283
[observacionasiento] => No Aplica Observacion Asiento - Total
[valorbaseasiento] => 0
[valorcreditoasiento] => 0
[valordebitoasiento] => 1210919
[valortasaasiento] => 0
)
)
)
$funcionWs = "someFunction";
$clienteWs = new nusoap_client($this->url, true);
$result = $clienteWs->call($funcionWs, $params);
Hello,
We are facing issue using nusoap.
Array
(
[Code] => Array
(
[Value] => soapenv12:Sender
[Subcode] => Array
(
[Value] => ns:E400
[Subcode] => Array
(
[Value] => iib:E3613
)
)
)
[Reason] => Array
(
[Text] => Array
(
[!xml:lang] => EN
[!] => Bad Request
)
)
[Detail] => Array
(
[MessageList] => ,http://schemas.xmlsoap.org/soap/envelope/,http://www.w3.org/2003/05/soap-envelope
[ExceptionList] => Array
(
[RecoverableException] => Array
(
[File] => /build/slot1/S900_P/src/DataFlowEngine/MessageServices/ImbDataFlowNode.cpp
[Line] => 1155
[Function] => ImbDataFlowNode::createExceptionList
[Type] => ComIbmSOAPInputNode
[Name] => gen/fundsTransferByCustomerService2#FCMComposite_1_1
[Label] => gen.fundsTransferByCustomerService2.SOAP Input
[Catalog] => BIPmsgs
[Severity] => 3
[Number] => 2230
[Text] => Node throwing exception
[Insert] => Array
(
[Type] => 14
[Text] => gen.fundsTransferByCustomerService2.SOAP Input
)
[RecoverableException] => Array
(
[File] => /build/slot1/S900_P/src/WebServices/WSLibrary/ImbSOAPInputNode.cpp
[Line] => 1147
[Function] => ImbSOAPInputNode::validateData
[Type] => ComIbmSOAPInputNode
[Name] => gen/fundsTransferByCustomerService2#FCMComposite_1_1
[Label] => gen.fundsTransferByCustomerService2.SOAP Input
[Catalog] => BIPmsgs
[Severity] => 3
[Number] => 3749
[Text] => Error occurred in ImbSOAPInputHelper::validateSOAPInput()
[ParserException] => Array
(
[File] => /build/slot1/S900_P/src/DataFlowEngine/MessageServices/ImbRootParser.cpp
[Line] => 815
[Function] => ImbRootParser::parseNextItem
[Type] => ComIbmSOAPInputNode
[Name] => gen/fundsTransferByCustomerService2#FCMComposite_1_1
[Label] => gen.fundsTransferByCustomerService2.SOAP Input
[Catalog] => BIPmsgs
[Severity] => 2
[Number] => 5902
[Text] => Exception whilst parsing
[Insert] => Array
(
[0] => Array
(
[Type] => 5
[Text] => Root
)
[1] => Array
(
[Type] => 5
[Text] => SOAP
)
[2] => Array
(
[Type] => 5
[Text] => 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c736f61703a456e76656c6f706520786d6c6e733a7365723d22687474703a2f2f7777772e7175616e746967756f75732e636f6d2f73657276696365732220786d6c6e733a736f61703d22687474703a2f2f7777772e77332e6f72672f323030332f30352f736f61702d656e76656c6f7065223e3c736f61703a426f64793e3c67657442616c616e636520786d6c6e733d22687474703a2f2f7777772e7175616e746967756f75732e636f6d2f7365727669636573223e3c76657273696f6e3e313c2f76657273696f6e3e3c61707049443e33343438363c2f61707049443e3c637573746f6d657249443e33343438363c2f637573746f6d657249443e3c4163636f756e744e756d6265723e3030303339303630303030343135383c2f4163636f756e744e756d6265723e3c2f67657442616c616e63653e3c2f736f61703a426f64793e3c2f736f61703a456e76656c6f70653e
)
)
[ParserException] => Array
(
[File] => /build/slot1/S900_P/src/WebServices/WSLibrary/ImbSOAPParser.cpp
[Line] => 2136
[Function] => ImbSOAPParser::createSoapShapedTree
[Type] =>
[Name] =>
[Label] =>
[Catalog] => BIPmsgs
[Severity] => 3
[Number] => 3614
[Text] => problem creating SOAP tree from bitstream
[ParserException] => Array
(
[File] => /build/slot1/S900_P/src/WebServices/WSLibrary/ImbSOAPParser.cpp
[Line] => 1871
[Function] => ImbSOAPParser::createSoapShapedTree
[Type] =>
[Name] =>
[Label] =>
[Catalog] => BIPmsgs
[Severity] => 3
[Number] => 3613
[Text] => SOAP version does not match Content-Type
[Insert] => Array
(
[0] => Array
(
[Type] => 5
[Text] => http://schemas.xmlsoap.org/soap/envelope/
)
[1] => Array
(
[Type] => 5
[Text] => http://www.w3.org/2003/05/soap-envelope
)
)
)
)
)
)
)
)
)
)
Can you also skip "HTTP/1.1 200 Connection established" please
In class nusoap/class.wsdl.php
https://github.com/deviservi/nusoap/blob/master/lib/class.wsdl.php#L1556
From:
$this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
To:
$this->debug("serializing array element: $k, " . (is_array($v) ? serialize($v) : $v) . " of type: $typeDef[arrayType]");
hi! i try to build a service with nusoap but i appears this error, someone could help me please? i dont know whats happen
All your constructor are named like class name and this is deprecated through newer version of PHP
nusoap.php
line 277. $string variable can be an array sometimes.
line 7459 $return['faultstring'] also can be an array.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.