WebSphere Application Server provides command-line tools to develop
Web services clients and implementations that are based on the Web Services
for Java 2 Platform, Enterprise Edition (J2EE) specification. You must set
up your development environment before you start the developing Web services.
About this task
Set up a Web services development environment by completing the following
actions.
Procedure
- Set up the environment.
Run
the setupCmdLine.bat command from the /profile_root/<application_server>/bin directory.
![[Solaris]](../../solaris.gif)
Linux and
UNIX-based platforms
source the script to the parent shell to
inherit the exported variables by running this command:
. ./setupCmdLine.sh (Notice the space between the periods.)
from the
. /profile_root/<application_server>/bin directory.
You can set WAS_USER_SCRIPT to profile_root\<application_server>\bin\setupCmdLine.bat, which has the same effect as running the setupCmdLine command.
- Configure
the path. You can add the WebSphere and Java bin directories
to your path by typing:
set PATH=%WAS_PATH%;%PATH%
export PATH=$WAS_PATH:$PATH
Results
You have set up an environment so that you can develop Web services.
If you get a NullPointerException error when the HTTP basic authentication
fails, you can fix the problem by including <JAVA_HOME>\jre\lib\ext in
the classpath at the command-line, or by manually editing it at WAS_EXT_DIRS.