Skip to main content

JWSDP(JAX-RPC) - modeler error

No replies
anwar7
Offline
Joined: 2007-08-20
Points: 0

I am very new to Java web services .. just trying with some sample programs.
I am trying to generate server ties from the service end point config.xml.. below is the code snippet which i have used.

StockQuoteProvider.java
public interface StockQuoteProvider extends java.rmi.Remote {
public float getLastTradePrice(String tickerSymbol)
throws java.rmi.RemoteException;
public String getStockQuote(String tickerSymbol)
throws java.rmi.RemoteException;
}

--config.xml

and I am using the command at prompt

/> wscompile -cp . -gen:server config.xml

Here i got stuck., its giving me the error message :
error : modeler error : java.lang.NullPointerException

Please help me.. Thanks in Advance.