• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Anyone with experience in WSCOMPILE tool plz help

 
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.
 
author
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
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.
 
Ranch Hand
Posts: 8943
Firefox Browser Spring Java
  • 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 ]
 
Good night. Drive safely. Here's a tiny ad for the road:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic