|
|
Choosing A Webhost: |
RE: soapval object do not get serialized in client code: msg#00020php.nusoap.general
Thanks for the note Chris; so yes I am on the client side. Your code example works fine and I actually had tested something similar, but I need that serialized data to be in the payload. So, the $outxml = $base -> serialize_val("value","FlagUpdate",$type=false,$name_ns=false,$type_ns=f alse,$ff,$use='encoded'); echo $outxml; while working fine, is lost when I make the call to the service passing in parameters as in: $response = $client->call('FlagUpdate', array('FlagUpdate' => $ff), [other params here]); And this call is the one that makes the call to serializeRPCParameters() that right now does not generate the data as I would expect it, as in your $outxml. From the surface it seems that serializeRPCParameters is not handling struct types or soapval objects. Again, the open question is : is there another way of specifying data that are node attributes other than wrapping them in soapval objects. If that's the only way then my guess is that NuSoap is not handling the processing of soapval objects from client side of things. Thanks again for your replies. Mohsen ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: soapval object do not get serialized in client code, Christopher Ness |
|---|---|
| Next by Date: | RE: soapval object do not get serialized in client code, Christopher Ness |
| Previous by Thread: | Re: soapval object do not get serialized in client code, Christopher Ness |
| Next by Thread: | RE: soapval object do not get serialized in client code, Christopher Ness |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |