• Post Reply Bookmark Topic Watch Topic
  • New Topic

Anyone with experience in WSCOMPILE tool plz help

 
Murasoli Maran
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have made a small code (just an interface and it's implementation)for JAX-RPC API.

Made a config.xml file

made a web.xml file.

compiled my classes.

then i have used WSCOMPILE tool as

wscompile -cp ../* -gen server config.xml.

an exception coming as

error:modeller error:java.lang.NullPointerException.

anyone expereinced?.plz tell me the issues with wscompile tool.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post your "config.xml"? I think that would make a big difference in solving the problem if people familiar with the wscompile tool/config file can see it.
 
Murasoli Maran
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lasse,

I was very involved in modification of my previous project with a stiff deadline.so i did'nt posted the config.xml file.Now i am posting it.i am not getting what's the error is,

Now it's ClassNotFoundException.I have checked the classpath.no probloms there.

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I said
Originally posted by Lasse Koskela:
I think that would make a big difference in solving the problem if people familiar with the wscompile tool/config file can see it.

I meant that I am not one of those familiar with the tool... Sorry.

But I'd still add that you might want to post the exception's stack trace as well so that people could see the method call hierarchy.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest you to post at the Sun forum.
 
Murasoli Maran
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
I would suggest you to post at the Sun forum.


Thanks Bhat.God'll help u.

Originally posted by Lasse Koskela:
Hi,


But I'd still add that you might want to post the exception's stack trace as well so that people could see the method call hierarchy.


No way to get exception stack trace.becoz by using wscompile, the wscompile tool itself is calling java interpretor.and wscompile tool does'nt have an option to create a file for stack trace.


anyhow thanks for ur reply,reply is an encouragement.it helps anyway,and u did good encouragement to me to use JAX-RPC in another post.so God help u also.
[ June 19, 2004: Message edited by: Murasoli Maran ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!