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.
Difference between revisions of "EclipseLink/Examples/DBWS/AdvancedJavase6Containerless"
< EclipseLink | Examples | DBWS
Line 1: | Line 1: | ||
==DBWS Web running with 'containerless' Endpoint API == | ==DBWS Web running with 'containerless' Endpoint API == | ||
− | It is possible to run a Web service <onlyinclude> using Javase 6's "containerless" [http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html javax.xml.ws.Endpoint API] | + | It is possible to run a Web service <onlyinclude> using Javase 6's "containerless" [http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html javax.xml.ws.Endpoint API]. |
+ | |||
+ | Javase 6 ships with the JAX-WS 2.x APIx inside the JDK (versions prior to update 4 have JAX-WS 2.0 APIs, which may cause some issues | ||
+ | with later API requirements: to fix this, copy <tt>jaxws-api.jar</tt> and <tt>jaxb-api.jar</tt> into the '''endorsed''' directory, which is <tt>$JAVA_HOME/lib/endorsed</tt> or <tt>$JDK_HOME/jre/lib/endorsed</tt>. Please see [http://kingsfleet.blogspot.com/2008/07/so-i-want-to-use-jax-ws-ri-with-jdk-6.html] for more details) | ||
</onlyinclude> | </onlyinclude> |
Revision as of 14:37, 20 April 2009
DBWS Web running with 'containerless' Endpoint API
It is possible to run a Web service using Javase 6's "containerless" javax.xml.ws.Endpoint API.
Javase 6 ships with the JAX-WS 2.x APIx inside the JDK (versions prior to update 4 have JAX-WS 2.0 APIs, which may cause some issues with later API requirements: to fix this, copy jaxws-api.jar and jaxb-api.jar into the endorsed directory, which is $JAVA_HOME/lib/endorsed or $JDK_HOME/jre/lib/endorsed. Please see [1] for more details)