473,503 Members | 11,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML-RPC authentication

My previous request for people experienced with CORBA found exactly
one, so from that I assume that XML-RPC is far more common in the PHP
world (about which I know little).

However, I tend to think that there are so insane drawbacks of XML-RPC
and the attempts of SOAP to rectify these merely creates more problems,
mainly due to lack of standards and interoperability.

What I'd like to be able to do (at minimum) is:
a) support 8-bit ASCII
b) support some sort of proper authentication, so not just any client
can get data from the server

XML-RPC does neither out of the box, but it shouldn't be too difficult
to graft these on. How have people here solved these problems in PHP
clients?

The server will be in Python, BTW.

-- robin

Jul 17 '05 #1
2 2140
I do not know about what kind of support PHP has for xml-rpc, and i could
not understand your question completely because you do not give any details
about your clients and the server, so you can ignore the rest of my post.

but i am just curious why you have decided to write your client, whatever it
is, in php but not in a language that has better libraries for what you are
looking for. i assume python has better support for xml-rpc, no?

konstantin
"escalation746" <es***********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
My previous request for people experienced with CORBA found exactly
one, so from that I assume that XML-RPC is far more common in the PHP
world (about which I know little).

However, I tend to think that there are so insane drawbacks of XML-RPC
and the attempts of SOAP to rectify these merely creates more problems,
mainly due to lack of standards and interoperability.

What I'd like to be able to do (at minimum) is:
a) support 8-bit ASCII
b) support some sort of proper authentication, so not just any client
can get data from the server

XML-RPC does neither out of the box, but it shouldn't be too difficult
to graft these on. How have people here solved these problems in PHP
clients?

The server will be in Python, BTW.

-- robin

Jul 17 '05 #2
escalation746 <es***********@yahoo.com> wrote:
What I'd like to be able to do (at minimum) is:
a) support 8-bit ASCII
What is 8 bit ASCII?
b) support some sort of proper authentication, so not just any client
can get data from the server

XML-RPC does neither out of the box, but it shouldn't be too difficult
to graft these on.


Huh! XMLRPC should by the fact that it is XML support UTF8...

RPC.php:
....
$parser = xml_parser_create($XML_RPC_defencoding);
....

http://nl3.php.net/xml_parser_create :
The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.

So it does support characters outside of 7bit ascii. But above code
sucks bigtime since all XML will be parsed as $XML_RPC_defencoding
(UTF-8): _BUG_

And to authenitcation: a sessionid. If request doesn't contain a (valid)
sessiondID, deny request. Client should get an ID first.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2226
by: Phil Powell | last post by:
// PROCESS XML CONTENT INTO DYNAMICALLY-NAMED ARRAYS foreach (array('mime', 'state', 'country') as $val) { $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);...
0
1709
by: Stylus Studio | last post by:
World's Most Advanced XML Schema Editor Adds Support for IBM AlphaWorks XML Schema Quality Checker to Improve XML Schema Style and Quality BEDFORD, MA -- 09/13/2005 -- Stylus Studio...
5
2710
by: Kurt Bauer | last post by:
I have an ASP group calendar application which pulls calendar data from Exchange via webdav into an XML string. I then loop the XML nodes to populate a collection of appointments. Finally I use...
5
4184
by: laks | last post by:
Hi I have the following xsl stmt. <xsl:for-each select="JOB_POSTINGS/JOB_POSTING \"> <xsl:sort select="JOB_TITLE" order="ascending"/> This works fine when I use it. But when using multiple...
0
2776
by: jts2077 | last post by:
I am trying to create a large nested XML object using E4X methods. The problem is the, the XML I am trying to create can only have xmlns set at the top 2 element levels. Such as: <store ...
0
2210
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
9
2466
by: Lie | last post by:
Why this generates AttributeError, then not? Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most...
10
15536
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I had a program and it always works fine and suddenly it gives me the following message when a pass a xml file to our server program: error code: -1072896680 reason: XML document must...
0
2153
by: Jacker | last post by:
Xpress Author for MS Word XML Documents In.vision Research empowers knowledge workers to create complex XML documents in Microsoft Word (2000-2003) with a normal Word experience. Deploy XML...
0
7193
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.