CXF WS-Discovery Example

web.xml

<web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemalocation="http://java.sun.com/xml/ns/javaee%20http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
	<servlet>
		<display-name>SimpleCXFNonSpringServlet</display-name>
		<servlet-name>SimpleCXFNonSpringServlet</servlet-name>
		<servlet-class>com.student.SimpleCXFNonSpringServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>SimpleCXFNonSpringServlet</servlet-name>
		<url-pattern>/*</url-pattern>
	</servlet-mapping>
</web-app>

Publishing CXF Web Service

Run CXF WS-Discovery Example

Note

WS-Discovery operates over TCP and UDP port 3702 and uses IP multicast address 239.255.255.250 (see below console screenshot). Currently service is deployed on the port as "48656", but this will change on each deployment.

http://localhost:48656/ChangeStudent?wsdl

Below screenshot you can see service is automatically deployed using CXF WS-Discovery Service

CXF WS-Discovery Console

Note

you can also see CXF WS-Discovery Client in order to run this service





Previous 1 2 3





5 Responses to "CXF WS-Discovery Example"
  1. Anton 2014-06-03 19:02:57.0
  1. admin 2014-06-04 19:02:57.0
  1. Carson 2014-06-05 19:02:57.0
  1. Carson 2014-06-06 19:02:57.0
  1. Carson 2014-06-07 19:02:57.0

Your email address will not be published. Required fields are marked *