• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC :: NullPointerException

Anwar S
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am Pretty 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.

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;

<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="StockQuoteService"

and the wscompile command i tried is
/> wscompile -cp . -gen:server config.xml

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

If anyone knows about it pleas help.
Thanks in Advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic