SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: Xmlrpc?

  1. #1
    SitePoint Addict MarekS's Avatar
    Join Date
    Jan 2003
    Location
    Estonia / Tallinn
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Xmlrpc?

    Hi,

    We have 2 pieces of web software (A and B). B needs to access some of the A's functionality, but A does not have any API's. A is 3rd party soft that cannot be modified. B is devloped by our co-partner and is under contruction


    My goal is to write the missing API of A.
    A <---> MyWebService <---> B
    So... I will provide WebService for the B. Sounds reasonable?


    Clearly, A does not make it any easier for me to write the API, but it is also clear for us that it is our job to provide the API's for B developers.


    On right hand (MyWebService <-> B) the API will be normal WebSrvice, on the left hand (A <-> MyWebService) it will be litte bit tricky, since I have to fake the user of A... browsing the A's WebUser Interface (XHTML).


    My question for yall.
    What libraries should I use to help me writing the API?
    Will any of these be good choices?
    http://pear.php.net/package/XML_RPC
    http://pear.php.net/package/XML_RPC2
    http://sourceforge.net/projects/phpxmlrpc
    http://scripts.incutio.com/xmlrpc/
    ... or something else?

    Thank you,

  2. #2
    Can we go to a 48 hour day?
    Join Date
    May 2002
    Location
    MI
    Posts
    906
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I recently used the PEAR XML_RPC to do a quick test of using XMLRPC to get data to a PHP4 server from a PHP5 server. It seems to work well and fairly easily. I've not tried out the others you mention.
    mitechie.com
    "Techies just think a little differently
    ...at least that is what they keep telling me."

  3. #3
    SitePoint Zealot Nova's Avatar
    Join Date
    Sep 2002
    Location
    Netherlands
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you can't beat them call them cheaters

    www.phppatterns.nl

  4. #4
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SimpleBrowser may be very useful in the A <---> MyWebService layer

  5. #5
    SitePoint Enthusiast
    Join Date
    Jan 2006
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Freelance Web Guy freekrai's Avatar
    Join Date
    May 2003
    Location
    Penticton,BC
    Posts
    400
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've used the incutio library for a few XMLRPC applications and it works nicely.

    It's a pretty straight forward library to follow for what you want to use.
    Roger Stringer
    DBStract - Build a database - Gather data - View it from every angle
    Other Sites: [ 1 ][ 2 ][ 3 ][ 4 ][ 5 ]


  7. #7
    SitePoint Addict MarekS's Avatar
    Join Date
    Jan 2003
    Location
    Estonia / Tallinn
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps bit too old tutorial?

    Build your own Web Service with PHP and XML-RPC
    By Harry Fuecks
    July 16th 2002
    Reader Rating: 8.9


    Anybody knows where I can find more recent tutorials?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •