Setting up a development environment for Web services

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.

Before you begin

Before you can set up a Web services development environment within WebSphere Application Server, you must Install and Customize WebSphere Application Server.

About this task

Set up a Web services development environment by completing the following actions.

Procedure

  1. Develop thin application client code on a server machine.

    The thin application client provides the necessary runtime to support the communication needs between the client and the server.

  2. Set up the environment.

    Run the setupCmdLine script from the /profile_root/<application_server>/bin directory.

  3. Configure the path. You can add the WebSphere and Java bin directories to your path by typing:
    set 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.

What to do next

Implement Web services applications. This topic is a good starting point in learning about how to develop and implement a J2EE Web service.



In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 10:03:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-zos&topic=twbs_devenv
File name: twbs_devenv.html