You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Maxime DEBOFFLES <Ma...@etudiant.univ-lille1.fr> on 2006/12/11 14:52:17 UTC

invoke method


Hello

I'd like make a client blog
I have this method

 public boolean deletePost(java.lang.String in0, java.lang.String in1,
java.lang.String in2, java.lang.String in3, boolean in4) throws
java.rmi.RemoteException {
        return true;
    }


How invoke it in the client programm?

I try this
boolean message=(boolean)call.invoke("deletePost",new
Object[]{user,password,adaptation,bool});
			System.out.println("Retour de l&#8217;API: " +message);

but it's not good...

Moreover how specifie the arguements??

Thanks

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.