1.

What do you mean by sun-jaxws.xml file?

Answer»

Sun-jaxws.xml file is simply used to provide endpoint details when JAX-WS web services are deployed as a STANDARD WAR archive on a servlet container like Tomcat. It is ALSO available in the WEB-INF directory. 

Example: 

&LT;?xml version="1.0" ENCODING="UTF-8"?> <endpoints XMLNS="http://java.sun.com/xml/ns/jax-ws/ri/runtime" version="2.0"> <endpoint name="HelloWorldWS" implementation="org.arpit.javapostsforlearning.webservice.HelloWorldImpl" url-pattern="/HelloWorldWS"/> </endpoints>


Discussion

No Comment Found