madnuid | 6 Jun 2006 16:07
Picon

XMLRPC vb.net 2.0 gives error: response contains array where struct expected

Hi there,

I'll get an error: response contains array where struct expected 
[repsonse] with my vbcode. Can someone help me te get the right code 
(or mapping). I am a newbie on XML RPC and can't get the code 
working.
Finally I want to get the resultset in a dataset. Please, who can 
help me....

My code:
--------

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As 
System.EventArgs) Handles Me.Load

Dim myproxy As New CountryDetails
myproxy.Credentials = New Net.NetworkCredential("xxx", "xxx")

Dim myc As CountryDetails.x
myc.countrycode = "nl"
myc.offset = 0
myc.rows = 1000

myproxy.getCountryDetails2(myc)

End Sub

<XmlRpcUrl("http://xxx/xml-rpc")> Public Class CountryDetails
    Inherits XmlRpcClientProtocol

(Continue reading)

jan_ptacek | 19 Jun 2006 15:46
Picon
Gravatar

XML-RPC Gateway for the Google API

hi,
i'm having trouble with the xmlrpc google api gateway:

$ xmlrpc.exe google.xmlrpc.com googleGateway.spellingSuggestion
s/riddiculous s/<google.api.key>

Error: RPC failed at server.  Can't evaluate the expression because
the name "googleGateway" hasn't been defined. (7)

please, can anyone confirm, that the gateway is still up and kicking?

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
    xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

coolnishant83 | 1 Jul 2006 11:54
Picon
Favicon

How know abt client in server??

Hi all,
Im new to this comunity and xmlrpc, i need some help in developing a 
server based on xmlrpc.

Problem:
I need to execute a registered method (of registry) only if particular 
IP address requests for it. Putting it another way, How will I come to 
know abt the address of Client in Server ??

Ur help is greatly appriciated.
thanks & regards
Nishant Kumar

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
    xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Rob Dolin | 1 Jul 2006 14:45

RE: How know abt client in server??

Hi Nishat,
    If you're using ASP.net, you can use the UserHostAddress property of the
HttpRequest class:

http://msdn2.microsoft.com/en-us/library/system.web.httprequest.userhostaddr
ess.aspx

    In PHP, I think you can use REMOTE_ADDR or and HTTP_X_FORWARDED_FOR
someone with more PHP experience should confirm.

'Hope this helps--
--Rob
(http://blog.robdolin.com)

P.S. You can also see the MSDN information in another language by changing
"en-us" to another language-locale code like:

Spanish:
http://msdn2.microsoft.com/es-es/library/system.web.httprequest.userhostaddr
ess.aspx 

Chinese (simplified):
http://msdn2.microsoft.com/zh-cn/library/system.web.httprequest.userhostaddr
ess.aspx 

-----Original Message-----
From: xml-rpc <at> yahoogroups.com [mailto:xml-rpc <at> yahoogroups.com] On Behalf Of
coolnishant83
Sent: Saturday, July 01, 2006 2:54 AM
To: xml-rpc <at> yahoogroups.com
(Continue reading)


Gmane