[Version 5.0.2 and later]Setting up a development and unmanaged client execution environment for Web services based on Web Services for J2EE

Before you begin

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. WebSphere Application Server also includes the Assembly Toolkit that can be downloaded from the Web site http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q=ASTK&uid= swg24005125&loc=en_US&cs=utf-8&lang=en+en. The Assembly Toolkit replaces the Application Assembly Tool (AAT). It is one of the tools available with the Application Server Toolkit product.

Websphere Studio Application Developer also has GUI-based development tools to develop Web services that integrate with Websphere Application Server.

Before you can set up a Web services development and unmanaged client execution environment within WebSphere Application Server, you must install WebSphere Application Server.

Why and when to perform this task

To set up a Web services development and unmanaged client execution environment:

Steps for this task

  1. Develop thin application client code on a server machine.
  2. Run the setupCmdLine.sh command if you are using a Windows platform.

    Or, you can set WAS_USER_SCRIPT to instance_root\bin\setupCmdLine.bat, which has the same effect as running the setupCmdLine command.

    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.)

  3. Configure the path.
    You can add the WebSphere and Java bin directories to your path by typing:

    On Windows platforms:

    set PATH=%WAS_PATH%;%PATH%
    On Linux and UNIX:
    export PATH=$WAS_PATH:$PATH

    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.

What to do next

Develop Web services based on Web Services for J2EE.

Related concepts
Samples Gallery
Related tasks
Installing WebSphere Application Server products
Developing Web services based on Web Services for J2EE
Related reference
Web services: Resources for learning



Searchable topic ID:   twbs_devenv
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/twbs_devenv.html

Library | Support | Terms of Use | Feedback