corelib.services.web.webservices
Class WebServiceManager

java.lang.Object
  extended by corelib.services.web.webservices.WebServiceManager

public class WebServiceManager
extends java.lang.Object

Ellipse Framework provides solutions for set up W3C compliant web services. Of course, Java technologies also provide solutions, but Ellipse Framework more simplify the deployment of your web services into Java EE Web applications Server.

The main additions are:

You can also note that the URL mapping is different: you must define a pseudo web page (of extension .ws) for each web service port. For more informations about web services set up, you can refer you to the Ellipse tutorial.

The WebServiceManager is the entry point to the web service auto-deployer provided by Ellipse. this class implements the Singleton Design Patterns. Use the getInstance method for get the unique manager.

Since:
0.2.4
Author:
Dominique Liard

Method Summary
static WebServiceManager getInstance()
          Returns the "Singleton" instance of this WebServiceManger class.
 void startWebServiceProcessing(java.lang.String serviceUrl, java.lang.String webServiceClassName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Checks if the requested web service is already started or starts it if necessary.
 void stopAllEndPoints()
          Shutdown all started web service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WebServiceManager getInstance()
Returns the "Singleton" instance of this WebServiceManger class.

Returns:
The "Singleton" instance.
Since:
0.2.4

startWebServiceProcessing

public void startWebServiceProcessing(java.lang.String serviceUrl,
                                      java.lang.String webServiceClassName,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response)
                               throws java.lang.Throwable
Checks if the requested web service is already started or starts it if necessary. A Ellipse web service starting includes the runtime WSDL generation.

Parameters:
serviceUrl - The URL requested by the client to start the expected web service.
webServiceClassName - The associated web service implementation class.
request - The HTTP request sended by the web service invoker.
response - The HTTP response to send to the web service invoker.
Throws:
java.lang.Throwable - Thrown if the expected Web service cannot by starting (the first time only).
Since:
0.2.4

stopAllEndPoints

public void stopAllEndPoints()
Shutdown all started web service. Please, do not manually invoke this method.

Since:
0.2.13


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.