Search the web
Sign In
New User? Sign Up
jsolait
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
The first experience - ServerProxy.   Message List  
Reply | Forward Message #288 of 411 |
Re: The first experience - ServerProxy.

Hello dear Jan.
Thank you for your answer. It has helped me.
But I have one more question. My server send me an XML-RPC answer, and
I use the DOM model for reception of parameters of the answer. For
example:
==
var proxy = new xmlrpc.ServerProxy(...)
rstl = proxy.getMethotName()

//and next:
xmlrpc.marshall(rstl);
//XML as string and next use DOM
==
May be JavaScript o Lait has functions for getting parameters from an
XML-RPS.
For example, I have this XML answer:
==
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>FData1</name>
<value>FVar1</value>
</member>
<member>
<name>FData2</name>
<value><int>FVar2</int></value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
==
How can I get "FData1" and "FVar1" using jsolait?
Thank you!





Mon Oct 16, 2006 3:35 am

andrey_zavada
Offline Offline
Send Email Send Email

Forward
Message #288 of 411 |
Expand Messages Author Sort by Date

Hello dear members of jsolait group. I have a small experience with jsolait. Main question: How I can make request to the server. Request example: ...
andrey_zavada
Offline Send Email
Oct 11, 2006
9:18 am

... that should be: var proxy = new xmlrpc.ServerProxy(...) rstl = proxy.getMethotName() if that does not work, please put the error message in your post so ...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Oct 12, 2006
7:51 am

Hello dear Jan. Thank you for your answer. It has helped me. But I have one more question. My server send me an XML-RPC answer, and I use the DOM model for...
andrey_zavada
Offline Send Email
Oct 16, 2006
3:36 am

Hey, ... rslt is already converted, i.e. the server response(xml data) was converted to a javascript object by the proxy. In your example rslt would be an...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Oct 16, 2006
8:35 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help