Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/SDK/JAXWS-SDK/Change alias"

< Scout‎ | SDK‎ | JAXWS-SDK
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{ScoutPage|cat=JAXWS-SDK}}
 
{{ScoutPage|cat=JAXWS-SDK}}
By default, the base URL webservices are published at, is <code>/jaxws/</code>. This alias is given by the {{ScoutLink|Concepts|JAXWS_RT|JaxWsServlet}} servlet registration in plugin.xml of your server Plug-In. You can change the alias to one of your choice, but do not forget to also update the URL-patterns of the webservice providers accordingly. This is done in the {{ScoutLink|Concepts|JAXWS_RT|sun-jaxws.xml}} file. If you are having multiple server Plug-Ins that publish webservice endpoints, you have to change all of them.
+
{{ScoutPage|cat=JAXWS-RT}}
 +
By default, the base URL webservices are published at, is <code>/jaxws/</code>. This alias is given by the {{ScoutLink|JAXWS-RT|JaxWsServlet}} servlet registration in plugin.xml of your server Plug-In. You can change the alias to one of your choice, but do not forget to also update the URL-patterns of the webservice providers accordingly. This is done in the {{ScoutLink|JAXWS-RT|sun-jaxws.xml}} file. If you are having multiple server Plug-Ins that publish webservice endpoints, you have to change all of them.
  
{{note|Tip|Instead of changing the alias manually, use Scout SDK. Thereto, right-click onto the <code>'Webservices (JAX-WS RI 2.1.6)' | 'Provider'</code> node and choose 'change webservice servlet alias' [http://wiki.eclipse.org/Image:org.eclipse.scout.jaxws.ChangeAlias_10.png]. In turn, you are asked to enter an alias [http://wiki.eclipse.org/Image:org.eclipse.scout.jaxws.ChangeAlias_20.png]. By clicking finish, all alias are change in sun-jaxws.xml files as as the servlet registration in plugin.xml.
+
{{note|Tip|Instead of changing the alias manually, use Scout SDK. Thereto, right-click onto the 'Webservices (JAX-WS RI 2.1.6)' &#124; 'Provider' node and choose 'change webservice servlet alias' [http://wiki.eclipse.org/Image:org.eclipse.scout.jaxws.ChangeAlias_10.png]. In turn, you are asked to enter an alias [http://wiki.eclipse.org/Image:org.eclipse.scout.jaxws.ChangeAlias_20.png]. By clicking finish, all alias are changed in sun-jaxws.xml files as well as the servlet registration in plugin.xml.}}
  
 
[[Image:org.eclipse.scout.jaxws.ChangeAlias_10.png|thumb|Change webservice servlet alias]]
 
[[Image:org.eclipse.scout.jaxws.ChangeAlias_10.png|thumb|Change webservice servlet alias]]
 
[[Image:org.eclipse.scout.jaxws.ChangeAlias_20.png|thumb|Change webservice servlet alias]]
 
[[Image:org.eclipse.scout.jaxws.ChangeAlias_20.png|thumb|Change webservice servlet alias]]

Revision as of 17:49, 10 November 2011

The Scout documentation has been moved to https://eclipsescout.github.io/. The Scout documentation has been moved to https://eclipsescout.github.io/. By default, the base URL webservices are published at, is /jaxws/. This alias is given by the The Scout documentation has been moved to https://eclipsescout.github.io/. servlet registration in plugin.xml of your server Plug-In. You can change the alias to one of your choice, but do not forget to also update the URL-patterns of the webservice providers accordingly. This is done in the The Scout documentation has been moved to https://eclipsescout.github.io/. file. If you are having multiple server Plug-Ins that publish webservice endpoints, you have to change all of them.

Note.png
Tip
Instead of changing the alias manually, use Scout SDK. Thereto, right-click onto the 'Webservices (JAX-WS RI 2.1.6)' | 'Provider' node and choose 'change webservice servlet alias' [1]. In turn, you are asked to enter an alias [2]. By clicking finish, all alias are changed in sun-jaxws.xml files as well as the servlet registration in plugin.xml.


Change webservice servlet alias
Change webservice servlet alias

Copyright © Eclipse Foundation, Inc. All Rights Reserved.