users@jax-rpc.java.net

doubt

From: ratna sudha <sudha_ch2000_at_yahoo.com>
Date: Tue, 9 Mar 2004 23:03:03 -0800 (PST)

hai
i tried with the config.xml with the following classpath.
set classpath=%classpath%;c:\jwsdp-1.3\jaxrpc\echo;c:\jwsdp-1.3\jaxrpc\bin;c:\jwsdp-1.3\common\lib\servlet-api.jar;c:\jwsdp-1.3\saaj\lib\saaj-api.jar;c:\program files\j2sdk_nb\j2sdk1.4.2\bin\rmid;c:\program files\j2sdk_nb\j2sdk1.4.2\jre\lib\rmid;c:\program files\j2sdk_nb\j2sdk1.4.2\java\rmi;c:\jwsdp-1.3\apache-ant\lib\ant.jar;c:\jwsdp-1.3\apache-ant\bin;
following is the wscompile.bat file given in the package and i included the directory in the classpath of wscompile.but got the same error "RmiModeler error:java.lang.ClassNotFoundException :echo$EchoIF".
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Script to run wscompile
rem
rem Environment Variable Prequisites
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem $Id: wscompile.bat,v 1.5 2003/01/23 07:31:33 mode Exp $
rem ---------------------------------------------------------------------------
rem Get standard environment variables
set PRG=%0
if exist %PRG%\..\..\..\jwsdp-shared\bin\setenv.bat goto gotCmdPath
rem %0 must have been found by DOS using the %PATH% so we assume that setenv.bat
rem will also be found in the %PATH%
call setenv.bat
goto doneSetenv
:gotCmdPath
call %PRG%\..\..\..\jwsdp-shared\bin\setenv.bat
:doneSetenv
rem Make sure prerequisite environment variables are set
if not "%JAVA_HOME%" == "" goto gotJavaHome
echo The JAVA_HOME environment variable is not defined
echo This environment variable is needed to run this program
goto end
:gotJavaHome
rem Get command line arguments and save them
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
rem Execute the Tomcat launcher
"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;%PRG%\..\..\..\jwsdp-shared\bin;%PRG%\..;%PRG%\..\..\..\jaxrpc\echo;
                                         -------------------------------------
"%PATH%" LauncherBootstrap -verbose wscompile %CMD_LINE_ARGS%
:end
   
i tried this wit ANT tool also.i got the error
 
file:c:/jwsdp-1.3/jaxrpc/echo/build.xml:42:taskdef class com.sun.xml.rpc.tools.ant.wscompile can not found.

 plz suggest me wat to do.
thanking u
sudha.
 
 
 


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.