Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-16964 - Adding JAX-WS features to web page #98

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-webservices-simplews.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions features/webservices.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,30 @@ image::images/features-webservices-wstester.png[Web Services Tester]

The Web Service Tester allows you to test your *JAX-RS* or *JAX-WS* Endpoints from within Eclipse. Select a JAX-RS Endpoint and select *Run As>Run on Server* or *Debug As>Debug on Server* to deploy your application on a server and open the Web Service Tester view. The location will be prefilled with the JAX-RS endpoint template, and when hitting the 'Run' button, a dialog will prompt you with parameter values to use.

== Web Service Project Creation
==Create a Sample JAX-WS Project
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bfitzpat you need to write "=== Create a Sample..". Space after "==" (or "===") is mandatory

image::images/features-webservices-sample-jax-ws-service.png[Sample Web Service wizard]

The Generate a Sample Web Service wizard enables you to create a JAX-WS web service template in an existing Dynamic Web Project. Simply specify the project, web service name, package name, and class name. Select *File->New->Other*, expand the *Web Services* folder and click on the *Create a Sample Web Service* option. Then, specify an existing Dynamic Web Project and the other required settings to generate the template.

==Create a Sample JAX-RS Project
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same problem here, space is mandatory.
Plus, for each description, we need a level-2 title followed by a level-3 subtitle, otherwise the page layout breaks :-/

image::images/features-webservices-sample-jax-rs-service.png[Sample RESTful Service wizard]

The Generate a Sample RESTful Web Service wizard enables you to create a JAX-RS web service template in an existing Dynamic Web Project. Simply specify the project, web service name, package name, and application class name. Select *File->New->Other*, expand the *Web Services* folder and click on the *Create a Sample RESTful Web Service* option. Then, specify an existing Dynamic Web Project and the other required settings to generate the template.

=== Create a Simple (JAX-WS or JAX-RS) Web Service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here: a level-2 title is needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to describe that feature, if there are also dedicated wizards to create JAX-RS projects and JAX-WS projects ?

image::images/features-webservices-simplews.png[Simple Web Service wizard]

The Simple Web Service wizard also enables you to create a web service template project in Eclipse using either JAX-WS or JAX-RS. Select *File->New->Other*, expand the *Web Services* folder and click on the *Simple Web Service* option. Then, specify an existing Dynamic Web Project and the other required settings to generate the template.

=== Create a Web Service from a WSDL Document or Java Bean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A level-2 title is required here, too.

image::images/features-webservices-ws-create-from-wsdl.png[Web Service wizard]

The Web Service wizard enables you to create a web service project from an existing WSDL or Java bean class in an existing Dynamic Web Project. Select *File->New->Other*, expand the *Web Services* folder and click on the *Web Service* option. See the JBoss SOAP Web Services User Guide for additional information.

=== Create a Web Service Client from WSDL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A level-2 title is required here, too.

image::images/features-webservices-ws-client.png[Web Service Client wizard]

The Web Service Client wizard enables you to generate a web service client from an existing WSDL. The code for the client and web service are created as well as a code sample calling the client. Select *File->New->Other*, expand the *Web Services* folder and click on the *Web Service Client* option.