|
NuSoap, default Responses?: msg#00136php.nusoap.general
Hi! I have a webservice that I wrote with nusoap, in this webservice I have many functions, most of them are returning arrays, but sometimes the array couldn't be create by different possibilities: * The user is not valid * There was no data.. So, exists in nusoap something like xmlrpcresp?, that I can also return errors instead of 'arrays'?. I'm asking this cause my .NET client sometimes crashes when was expecting an array, and the only data that receives is a string or an integer. For example, in XMLRPC (that i hate), exists a: return new xmlrpcresp(0, $xmlrpcerruser+3, 'Bad login'); So, when the .NET client gets the data and found a XMLRPCRESP it stops and 'prints' the message (Bad Login). Should I do this in nusuap or use Exceptions in the .NET client? Thanks! Pablo -- Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx) Fingerprint: 5973 0F10 543F 54AE 1E41 EC81 0840 A10A 74A4 E5C0 http://www.pablo.com.mx http://www.debianmexico.org
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How do i securely transmit data with nuSOAP without using CURL or CRYPTLIB ?: 00136, Scott Nichol |
|---|---|
| Next by Date: | RE: NuSoap Class fget() func: 00136, James Yang |
| Previous by Thread: | Re: How do i securely transmit data with nuSOAP without using CURL or CRYPTLIB ?i: 00136, Scott Nichol |
| Next by Thread: | Re: NuSoap, default Responses?: 00136, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |