users@jax-rpc.java.net

RE: package javax.xml.rpc.Stub does not exist

From: Velidanda Srinivas <srinivas.velidanda_at_singularity.co.uk>
Date: Tue, 4 Jul 2006 10:36:25 +0100

can you please list out the steps you followed to create the service..

Srinivas.

-----Original Message-----
From: Rajeswari [mailto:lgraji_at_yahoo.co.uk]
Sent: 04 July 2006 15:01
To: users_at_jax-rpc.dev.java.net
Subject: RE: package javax.xml.rpc.Stub does not exist



Hi,
Code for Math Face

package math;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface MathFace extends Remote {
  public int add(int a, int b) throws RemoteException;
}

Code for MathImpl

package math;

import java.rmi.RemoteException;

public class MathImpl implements MathFace {
  public int add(int a, int b) throws RemoteException {
    return a + b;
  }
}
Thanks,
Rajeswari.
-- 
View this message in context:
http://www.nabble.com/RE%3A-package-javax.xml.rpc.Stub-does-not-exist-tf1888
886.html#a5164529
Sent from the JAX-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.
________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs.
________________________________________________________________________