JAX-WS web services can only be targeted to servers which
support the JAX-WS runtime, such as WebSphere® Application Server v6.1 with
the Feature Pack for Web Services, or WebSphere Application Server v7.0 or later.
Before you begin
If you plan to create a JAX-WS web service, before you generate
deployment code for your web service you must create one of the following:
- IBM® WebSphere Application Server v6.1 Feature
Pack for Web Services, and a server created with the Feature Pack
for Web Services enabled profile
- WebSphere Application
Server v7.0 or later.
About this task
To create a WebSphere Application
Server:
Procedure
- From the File menu, select New > Other > Server
> Server > Next.
- Select WebSphere v6.1,
v7.0, or v8.0 Server as the server type, and click Next.
- On the WebSphere server
settings page, select the server profile that is associated with the WebSphere Application Server
v6.1 Feature Pack for Web Services or your WebSphere Application Server
v7.0 or v8.0 server, and enter a server name.
- Click Finish.
Results
To see the server you have created in the workspace, from
the Window menu click Show view > Other > Server > Servers
> Ok or open the Java™ EE
perspective. By double-clicking the server you can view or modify
many of the server's settings.
What to do next
If you are using a secured WebSphere Application Server, there are
a couple of tasks you may need complete in order to use the web services
tools:
Tip: By default the Minimize application
files copied to the server option has been turned on in
the server editor for performance reasons. Generally speaking this
means you will not be able to see the application deployment descriptor
files from the WebSphere Application
Server administrative console. In the case of web services, both Publish
WSDL files and Provide HTTP endpoint URL information links
will be missing from the console because the WSDL, ibm-web-bnd.xmi, ibm-web-ext.xmi,
and web.xml will not be in the *.war file
copied to the server profile directory. This may cause problems if
the WebSphere Application
Server administrator does not have access to the files residing in
the development workspace. To disable this option, double-click the
server in the Servers view, and clear the Minimize application
files copied to the server check box. This will have a
small performance impact on the server but will make all the required
files available to the administrator.