Problem adding more than one point method in xmlrpc...

Hello,
I have an java program that connects to an webserver and communicates with an php file through xmlrpc. I have the need for more functions and so I need a little help here to have my server process each request:
function Login($xmlrpcmsg)
$result = "Hi from the server, " . "Username: " . $xmlrpcmsg->getParam(0)->scalarVal() . " Password: " . $xmlrpcmsg->getParam(1)->scalarVal();
return new xmlrpcresp(new xmlrpcval($result, "string"));
$s = new xmlrpc_server(array(
"XmlRpcDemo.Login" => array(
"function" => "Login",
"signature" => $login_sig)
basically i need $s to point to different methods. Like and register method for instance. Let me show you by code example:
$s = new xmlrpc_server(array(
"XmlRpcDemo.Login" => array(
"function" => "Login",
"signature" => $login_sig))
"XmlRpcDemo.Register" => array(
"function" => "Register",
"signature" => $login_sig)));
but that doesnt work you see? So how do I get this to work. Please help me!
Much Appreciated,
Aric Holland

That code isn't Java. That is PHP.

Similar Messages

  • More than one paint method?

    Hi
    Im wondering if it is possible to have more than one paint method. It should look something like this.
    public class MyApplet extends JApplet {
    public void paint(Graphics g) { // the normal paint method
    public void SecondPaint(Graphics gr) { // should i name the Graphics
    // to the same as in the normal paint method ( Graphics g) ?
    }And if its possible how would i repaint the other method?
    This is for the normal
    repaint(); and how would i do for the second paint method?
    please write an example program with two paint methods and just write below how to repaint.
    Thanks you som much if you reply

    (sorry to hijack this thread...) Yes, it'swindows,
    but right now my problem isn't even that. It'sjust
    catching and correcting basic c-coding errors.
    Witness my embarrassment in the JNI forum:
    http://forum.java.sun.com/thread.jspa?threadID=5213196
    &tstart=15
    Now if only I lived in "middle-of-no-where"Virginia!
    Nice! ;-)I saw your note about "middle-of-nowhere" Virginia a little too late. And you don't need to live here; my Solaris machine is up and running 24/7 and is open for SSH and XClient. (Also open for telnet, which comes built into windows, I believe.) If you'd like to brush up on Solaris C, C++ and Java development, just let me know. You're more than welcome to use the machine. I have tons of space on the drive and a dedicated connection just to that machine. There is an application for windows called CygwinX which is an XClient for Solaris. You can use that to remotely log into the Solaris desktop. There are about fifteen other people that I let use the machine for various reasons. I host myriad open source projects for development that you're more than welcome to mess around with. Tools available to you would be NetBeans 5.5, Sun Studio (with the Sun C/C++/Fortran compiler - which is beautiful by the way); and the whole suite of GNU compilers. I have the CDE and the JavaDesktop built in. I also have tons of Motif tutorials and demonstrations if you're interested in those. Heads up, though ... XServer tends to run pretty slowly when I have more than about four users logged onto a desktop at once. But like I said, if you (or just about anyone else for that matter) are interested, let me know and I'd be more than glad to set you up.

  • Adding More than one document to a cell in a dataform

    Hi All,
    I am using EPM 11.1.1.1.0 .
    I have a planing application and I need to add three documents to a cell in a data form.
    Is there a way i can do this...
    I can add one document and can open it as well but did not find a way of adding more than one document. Is it supported on Hyperion Planning ?
    Also if we have a document attached to a cell text ...Is there a way to print it out from Hyperion Planning or Workspace?
    Regards.
    Alicia
    Edited by: Alicia on Aug 6, 2009 6:39 AM

    Hi,
    I believe it will be just one document, I say that because when you go to the cell and choose open document then it is aimed at opening just one document.
    As for printing from cell text, you would have to open the document first before being able to print.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can we have more than one service method in a single servlet

    can we have more than one service method in a single servlet?explain with example

    No, you can only have one service method. However, you can have it process two different requests as follows.
    Lets say you have two JSP pages. Put a hidden text value in one called jsp1 and a hiddent text value in the other called jsp2 (example: <input type="hidden" name="jspPage" value="jsp1"> and <input type="hidden" name="jspPage" value="jsp2">.
    Then in your service method, read in request.getParameter("jspPage") to determine if its jsp1 or jsp2 and call up the appropriate logic to process them separately.

  • Adding more than one enhancemnet in a Project

    Can we give more than one enhancement in the Project(while giving in CMOD transaction)

    Hi
    Yes
    You can add more than one enhancement(SMOD) in a single project(CMOD)
    But one enhancement(SMOD) can not be added in 2 projects
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Adding more than one song to a slide show in Elements 11

    Most of my slideshows are longer than one song and I get tired of it just repeating. Can I have more than one song in a slide show and how do I do this?

    I like to use different songs for different parts of slide shows and also to edit out some of the extra verses in some of the songs I use, so what I do is to use Wavepad (free download) to edit the desired songs. I save each one in a separate file (adding a descriptor such as "short" to the original title). Then, I open a new file in Wavepad, save it as the name of the slide show (such as Graduation Medley), then copy & paste each song from its respective file, in the correct sequence I want them to play into the new file. Be sure to save at the end, in between, all the time.
    I go back to iTunes and import the new file into the Library. Then I go back to iPhoto, select the relevant slide show, click on the Music button and select that file for my music for the slide show. I then go to the Settings and click the button that says "Fit photos to music".
    You can also create a playlist from the edited files and add the playlist as specified in the other posts.
    When previewing the slide show, if the music for the 2nd section starts too soon or too late, I adjust the time for a couple of beginning section's slides, add an extra one in, or maybe even reedit the music.
    Hope this helps.

  • Problem with more than one item in a track

    DVDSP 4.0.2 / OSX.4.2 I've built a DVD with several tracks. In each track I've placed several .m2v files, one after another. Finished build plays fine on my Mac and on one of my stand alone DVD players. But on another stand alone (Sony DVP-S360) something very odd happens. DVD begins to play just fine, but whenever it encounters a track with more than one source file, it will play until it gets to the spot in the program where the second source file is in the track and then it hangs and won't do anything. I'm just curious if anyone has any insight into this problem. Is it a DVDSP conflict thing with certain players? Or is this Sony player just not capable of playing a DVD built this way? Thanks.

    This page here:
    http://www.videohelp.com/dvdplayers.php?DVDnameid=428&Search=Search&
    has someone talking about finally getting burned DVDs to work, which suggests they previously had problems. I can't think why the track would not seem like continuous video, as if it had always been that way. Our Sony DVD player at work seems sensitive to higher data rates. What data rate did you use?

  • Adding more than one 10 digital number to Digital Life

    Just signed up for Digital Life and the biggest complaint I have right now is not being able to add more than one cell phone number to receive alerts/notifications. I did chat and they told to add the following as an email: [email protected] or [email protected] and neither of them worked on two different At&t cell phone numbers!!!! My head wants to explode to think of crazy it sounds you cant add more than one number!!!! And top it off - their "workaround" doesn't work. At&t PLEASE PLEASE fix this issue.  Makes NO sense at all.

    I'm sorry to hear you're having issues adding additional mobile numbers to receive text alerts. The information you received is in-fact correct. Ensure you are not including dashes in the mobile number (Example: [email protected]). Also, make certain your program is created correctly to send the notification.
    If you're confident you have taken the necessary steps we'd be happy to work with you on resolving this matter. Please share a little more information with us by clicking here to send Digital Life a private message. In your message please include:
    Your name
    Account number
    Address
    Contact number and the most convenient time to contact you

  • Adding more than one email to my oj4630 printer for mobile ePrint

    How can I add more than one email address to my oj4630 printer to use mobile ePrint? Do I have to use one email address for each mobile phone?
    Thank You
    bj52  

    Hi,
    Are you talking about the authorized list ? If Yes, you have to logon to your ePrint account (HP Connected) and add more email address(es) to the list. ONLY authorized email addresses can send successfully to your ePrint printer email address. You can use any email address on the list one any device given it can access to email account on the list.
    For example, in my authorized list, I put my hotmail and yahoo emails addresses in there. I can access both accounts on my smarthone, iPad, desktop, laptop ... and I can use my hotmail or yahoo email address to send to my ePrint printer email address to print.
    Hope this answers your question.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Problem deploying more than one session beans(one is ok)

    hi there,
    im trying to deploy an ear that contains ejbs(entities and session). application goes ok if deploy it with any number of entities being called by a single session, i mean if there is only session bean in the ejb-jar.xml. it is deployed ok and works fine.
    now when i try to add another session bean to the same ejb-jar.xml, it gives the following error during deployment.
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
    that's all what it prints and aborts deployment. again, its important that it deploys any number of entity beans problem is with more than one sessions.
    thanx for any suggestions,
    amt

    Without seeing more details I don't understand why you would be running out of memory. We test applications with multiple session beans and we don't have that issue so I'm not sure why you would. Out of memory could be a bug in the deployment descriptor or the ear file or the JVM or the container or the deployment mechanism or maybe something else. That is the tough part of memory issue debugging at deployment time.
    I would try to see if increasing memory on both the JVM for OC4J and for admin.jar (assuming you are using standalone OC4J when you deploy) to see if maybe it is something transient that is causing this to occur. Something else you could try is to use 1.3.1 JDK and see if the problem goes away. Beyond that I would try to get the simplest case you could that repeats the error and then let's take a look at it.
    As for the exception hierarchy you describe, I don't see any particular problem with it at first look. Are you getting an error?
    Thanks -- Jeff

  • Adding more than one folder to Photos on iPod 30 GB

    Hola.
    I have a 30 GB iPod that I can't seem to get to add more than one Photo folder. Since I updated to iTunes 7, it won't work (previously this wasn't a problem). It will only allow me to add one folder of pics and I don't use iPhoto.
    I want to add more than one folder of pics to my iPod and iTunes 7 won't allow me to select that option. I've updated my iPod and iTunes and Quicktime (that shouldn't have anything to do with it).
    Any suggestions???

    Ok. I found the solution to my problem. You have select the PICTURES folder THEN click the second radio button that asks you to select more than one folder.
    If you go directly to the folder you want and then try to click that second radio button, it won't allow you to!!
    It only took 3 hours later . . .

  • Adding more than one photo per frame

    Is there a way in iMovie HD 5.0.2 to show more than one photo at a time that is imported from iPhoto?

    I LOVE to support Christian's little company, but.........
    … use any pic processor (PhotoshopElements), make your "compositing" and add THAT into iMovie....
    made a long time ago some nice effect, people asked me "how?!" by making a gigantic pic, containing 8 stills, and using the KB effect to "jump" from one pic (part) to the other…
    in PSE you can create a "pile" of pics, then zoom in to the wanted pic (which starts to live, but that is another story..... )

  • Adding More Than One Movie to a DVD

    I am making iDVDs that are just about 15 minutes long. Since the dvd I am using holds up to 4.7 gigabytes, I would like to add more than one movie to a dvd project. How do I do that?

    Look in the folder of an iMovie project. Let's say the project is called "My Great Movie"
    There should be a small file with the name "My Great Movie.mov" That is the reference movie.
    If you open iDVD directly rather than from iMovie and create a new iDVD project, just drag the reference movies onto the iDVD window and it will add the movie to your project.
    On the finished DVD, you pick a movie to play it. When that movie finishes, it puts you back to the main menu to pick another.
    Does this sound like what you want ?

  • Adding more than one movie to iDVD - possible or not?

    I assumed that you would be able to drop more than one imovie into a iDVD project and that it would add them as different menu items but it won't do it. Am I trying to do what is not possible? Any help is appreciated cheers!

    Hi Cheeba
    You got a very good link from Sue but it is fairly easy to describe.
    A. Make Your movies in iMovie. (You can make them in one session but
    it is easier to make each as an individual project)
    B. Close iMovie
    C. Locate Your moviprojects. Folders for iMovie 1-4 and an icon for v.5
    (if icon: Ctrl-click on it and select show package)
    in this there is a folder Share movie and in this a folder DVD. Here You
    will find a QT.mov file with Your project name. Take this and drop it into
    an open iDVD theme window (just inside the edge of this window).
    repeat for the other movies.
    OK that's all there is to it. You can try dropping the project folder/icon
    instead of open it - it is supposed to work.
    Yours Bengt W

  • I am having problems emailing more than one photo at a time - please help!

    I would be very grateful if anyone can help. I have recently upgraded my old PowerBook G4 to Leopard 10.5.8, and since the upgrade I can't seem to send more than one image from iphoto at a time via mail. When I try, I get the message: " mail got an error: can't get paragraph 8 of content of outgoing message id 113491328. Invalid index." As I email a lot of images, it is a real pain only being able to send them one at a time. Can anyone help? With many, many thanks, Josh.

    It could have something to do with the sizes of the images you're trying to send.
    In the updated iPhoto, there's a selection for the size of the image. Try attaching the smallest size and see if that works for you.
    Here's a related couple of threads related to the error that I found on a popular search engine
    --> http://discussions.apple.com/thread.jspa?threadID=1666379
    --> http://discussions.apple.com/thread.jspa?threadID=1667250

Maybe you are looking for

  • Computer is no longer authorized for apps installed on your iPhone

    Does anyone else get a message that your computer is no longer authorized for apps installed on your iPhone?  When I click "authorize" I get a message that "This computer is already authorized".  But when I click ok, I get the first message again . .

  • Acrobat 9 Pro Crashes after upgrading to 10.6.7

    I used to be on 10.4.11 and then bought a new iMac with 10.6.7. Acrobat now crashes on me in very random situations. See the crash report below: Process:         AdobeAcrobat [2569] Path:            /Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro

  • How to read "Customixed Information" in UME using WebDynpro Java APIs

    Dear All In our Portal UME we have defined 3 custom fields that appear in the "Customized Information" tab in the standard Portal "Identity Mangagement" application ie: krb5principalname : How can I retrieve the custom fields and values using WebDynp

  • How can I use Local SPAN with RSPAN ??

    How can I use Local SPAN with RSPAN ?? I want to mirror traffics from ISP-A and ISP-B to Anomaly-detector module. so I had configured like this... C6500-A vlan 1000 name RSPAN remote-span monitor session 10 source interface Gi5/1 - 2 rx monitor sessi

  • Turning off the Widgets in the dock

    Hi, I want to turn off my widgets in the dock to save memory. Is this possible? Thanks