This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-RPC :: NullPointerException  RSS feed

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="">
<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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!