• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-RPC : wscompile : modeler error  RSS feed

Anwar S
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just started working on Java web services and preparing for SCDJWS certification.. trying with some sample programs for practical knowledge.
but i am facing one problem here.. can some one help me?
(I dont know whether i can ask this question here or not.. just trying my luck I would be very lucky if i can find some one who can help me here)..

I am getting an exception while trying to generate server ties from the service end point config.xml.. below is the simple 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 I have used wscompile command in the following format
/> wscompile -cp . -gen:server config.xml

and its giving me the error message -
error : modeler error : java.lang.NullPointerException

Thanks in Advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!