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)

Ernst de Haan | 19 Jul 2006 10:27
Picon

[ANN] XINS 1.4.2 and XINS 1.5.0-alpha3 released

For your information: XINS 1.4.2 and XINS 1.5.0-alpha3 have been released. See:
http://xins.sourceforge.net/

XINS is a Java-based framework for implementing web applications. It
supports various protocols, including POX-RPC, XML-RPC and SOAP.

XINS 1.4.2 is a stable maintenance release; it fixes 5 bugs. One of
the changes is a backwards incompatibility: generated data elements on
the server side are now public classes, instead of package-private. We
do not expect this to cause any issues.

More information on XINS 1.4.2:
* Release notes: http://xins.sourceforge.net/notes-1.4.2.html
* Change log:    http://xins.sourceforge.net/changes-1.4.2.txt

You are advised to use XINS 1.4.2 in production-environments.

XINS 1.5.0-alpha3 is recommended only for research-purposes. Although
it should be backwards compatible, it has not gone through the
extensive testing of a stable release yet.

More information on XINS 1.5.0-alpha3:
* Change log: http://xins.sourceforge.net/changes-1.5.0-alpha3.txt
* Road Map:   http://xins.sourceforge.net/roadmap.html

Regards,

Ernst

 
(Continue reading)

Erik | 20 Jul 2006 12:48
Picon

UTF8 XML-RPC requests/wrong encoding of UTF8 characters

Hello list,

I'm looking for some help with my utf8 problem. I'm trying to write some 
RPC-Client with the 'Frontier::Client' library but I don't get it.

Here's the small sample code for demonstration. (NOTE: I know that 
www.google.de is not offering some XML-RPC services under this address 
but that's is not the problem. See below for more details.)

#!/usr/bin/perl

use strict;
use warnings;

use Frontier::Client;
use Data::Dumper;

use utf8;
use encoding 'utf8';

my $url  = "http://www.google.de";

my $client = Frontier::Client->new( url	=> $url,
   debug        => 1,
   encoding     => 'utf-8',
   use_objects  => 1,
);

# these are 3 german umlauts (UTF8 3x times 0xc3 0xa4)
my  <at> args = ('รครครค');
(Continue reading)

zhu_bixian | 24 Jul 2006 11:23
Picon
Favicon

the problem do using XMP-RPC between C# and TCL

Hello  
This is my first time to use XML-RPC. The problem I met is when I 
made XML-RPC between TCL and C#, it failed.  If the server is written 
in TCL and the client is written in C# the client threw an exception 
of "The underlying connection was closed:  The server committed an 
HTTP protocol violation". After I listened to the port I found the 
server run the code and the XML-RPC response was sent to the right 
port but the client threw an exception. On other hand, if the server 
was implemented with C# ,  the client was implemented with TCL the 
XML-RPC request was sent to the port, but the server didn't make 
response.
The strange thing is that it seems no problem when the call is made 
between C# and java, as well as it is between TCL and java. It makes 
me puzzled:(
The TCL implementation is XML-RPC for Tcl  written by Eric Yeh ,the 
java implementation is Apache XML-RPC, and the C# implementation is 
XML-RPC.net 0.9.2 written by Cook Computing. 
The system run TCL is Komodo 3.1+windows 2000
The system run C# is Microsoft visual studio.net 2003+windows 2003 
server
The system run java is Windows 2003+ JDK1.4.2_6 + Eclipse3.0.1
During the call I used the StateNameServer provided in XML-RPC.net 
0.9.2 samples as the C# server, or I used the server example provided 
in TCL implementation.

Your suggestion please
Best wishes

 
Yahoo! Groups Links
(Continue reading)

John Wilson | 24 Jul 2006 12:16
Picon

Re: the problem do using XMP-RPC between C# and TCL


On 24 Jul 2006, at 10:23, zhu_bixian wrote:

> Hello
> This is my first time to use XML-RPC. The problem I met is when I
> made XML-RPC between TCL and C#, it failed.  If the server is written
> in TCL and the client is written in C# the client threw an exception
> of "The underlying connection was closed:  The server committed an
> HTTP protocol violation". After I listened to the port I found the
> server run the code and the XML-RPC response was sent to the right
> port but the client threw an exception. On other hand, if the server
> was implemented with C# ,  the client was implemented with TCL the
> XML-RPC request was sent to the port, but the server didn't make
> response.
> The strange thing is that it seems no problem when the call is made
> between C# and java, as well as it is between TCL and java. It makes
> me puzzled:(
> The TCL implementation is XML-RPC for Tcl  written by Eric Yeh ,the
> java implementation is Apache XML-RPC, and the C# implementation is
> XML-RPC.net 0.9.2 written by Cook Computing.
> The system run TCL is Komodo 3.1+windows 2000
> The system run C# is Microsoft visual studio.net 2003+windows 2003
> server
> The system run java is Windows 2003+ JDK1.4.2_6 + Eclipse3.0.1
> During the call I used the StateNameServer provided in XML-RPC.net
> 0.9.2 samples as the C# server, or I used the server example provided
> in TCL implementation.
>
> Your suggestion please
> Best wishes
(Continue reading)

altconsultingcom | 24 Jul 2006 12:09
Picon
Favicon

[ANN] XML Studio v6 ships with XML-RPC Tools and APIs

ALT Mobile (http://altmobile.com) is pleased to announce the
availability of the <alt> XML Studio v6. Providing XML-centric
development tools for the Enterprise XML, Web 2.0, and Mobile Internet
markets, the XML Studio provides the following major features related
to XML-RPC:

1. HTTP Monitor. Enhancing the Apache TCPMon tool with XML
Visualization and content-based alerts, developers can now visually
inspect XML-RPC traffic and set alerts based on XML-RPC payloads.

2. XML-RPC APIs to XML Visualization, Analytics, Code Generation, and
High Performance Processing engines. Augmenting the local Java
language API, the XML-RPC APIs provides access to all of the
capabilities of our tools. We also provide limited access to our Web
2.0 Mashup technologies. These XML-RPC APIs include:

** Visualization API **

2.1. visualizeSerializedXML (String xmlString)
2.2. visualizeURLAndOutputPNG (String urlString)
2.3. visualizeURLAndOutputPNG (String urlString, boolean outputPNG)
2.4. visualizeURL (String urlString)
2.5. hyperVisualizeSOAPWithAttachmentsFile (String pathString)
2.6. hyperVisualizeURL (String urlString)
2.7. hyperVisualizeURLUsingPullParser(String url, Vector elementsVector)
2.8. hyperVisualizeAndSerializeURLUsingPullParser(String url,Vector
elements,String filePath)
2.9. centerHyperDOMNode (String xpathString)

** Code Generation API **
(Continue reading)

Erik | 25 Jul 2006 08:57
Picon

Re: the problem do using XMP-RPC between C# and TCL

On Monday 24 July 2006 11:23, zhu_bixian wrote:

> The strange thing is that it seems no problem when the call is made
> between C# and java, as well as it is between TCL and java. It makes
> me puzzled:(

You can monitor the network traffic to determinate if the XML-RPC 
request or the response is a non standard-one.

--

-- 
So long... Fuzz

 
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/

harbinger918 | 25 Jul 2006 21:18
Picon

XML-RPC and Stand-alone Apps

I'm not sure this is even possible, however, I'll pose the
hypothetical.  I have a stand-alone Java application.  One of the
requirements is that I be able to support different types of inbound
communications to act upon the application.  One of the communication
methods is XML-RPC.  However, for security reasons, we'd rather
implement XML-RPC without a traditional Tomcat or other application
server container.  We would like to receive XML-RPC requests straight
to the application and handle them natively.  I'm not sure if there's
any type of support to do this with XML-RPC, or if I'll have to write
my own means of completely handling the request and response
functions.  Any suggestions?  Thanks!

 
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/

FGM | 25 Jul 2006 22:20
Picon
Favicon
Gravatar

Re: XML-RPC and Stand-alone Apps

XML-RPC doesn't care for which implementation you are using: I'm using it
all the time with various environments (delphi, php), for which none has an
application server running. You should be able to do exactly the same by
programming a XML-RPC server or client on top of your network API.

----- Original Message ----- 
From: "harbinger918" <12gaugemedia <at> gmail.com>
To: <xml-rpc <at> yahoogroups.com>
Sent: Tuesday, July 25, 2006 9:18 PM
Subject: [xml-rpc] XML-RPC and Stand-alone Apps

> I'm not sure this is even possible, however, I'll pose the
> hypothetical.  I have a stand-alone Java application.  One of the
> requirements is that I be able to support different types of inbound
> communications to act upon the application.  One of the communication
> methods is XML-RPC.  However, for security reasons, we'd rather
> implement XML-RPC without a traditional Tomcat or other application
> server container.  We would like to receive XML-RPC requests straight
> to the application and handle them natively.  I'm not sure if there's
> any type of support to do this with XML-RPC, or if I'll have to write
> my own means of completely handling the request and response
> functions.  Any suggestions?  Thanks!
>
>
>
>
>
>
>
>
(Continue reading)


Gmane