com.sssw.jbroker.web.servlet
Class Invoker
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sssw.jbroker.web.servlet.Invoker
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- public class Invoker
- extends HttpServlet
A servlet that can invoke any Web Service based on its WSDL document.
- Since:
- jBroker Web 2.1
- See Also:
- Serialized Form
Field Summary |
static String |
CLASSPATH
The CLASSPATH property is used to specify the classpath
required by the servlet when compiling the classes generated by the
wsdl2java compiler. |
CLASSPATH
public static final String CLASSPATH
- The
CLASSPATH
property is used to specify the classpath
required by the servlet when compiling the classes generated by the
wsdl2java compiler. If the servlet container does not have
wssdk.jar
in the classpath, it is usually necessary
to specify the location of this jar using this property. The string
value of the property is wssdk.invoker.classpath
.
- See Also:
- Constant Field Values
Invoker
public Invoker()
init
public void init(ServletConfig config)
throws ServletException
- Initialization of the Invoker servlet. The classpath will be read from
the servlet configuration.
- Parameters:
config
- the ServletConfig
object
- Throws:
ServletException
- not raised by this implementation.
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Process an HTTP GET command. The invoker has four basic pages:
- An entry page where a user can enter the WSDL location.
- A service page where the operations in a WSDL are listed
- A parameter page where the parameters to invoke an operation are listed.
- A result page with the result of the invocation
- Parameters:
request
- the HttpServletRequest
objectresponse
- the HttpServletResponse
object
- Throws:
IOException
- if an I/O exception occurred
ServletException
- if a general servlet exception occurred
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.