com.metamatrix.soap.servlet
Class MMGetWSDLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.metamatrix.soap.servlet.MMGetVDBResourceServlet
com.metamatrix.soap.servlet.MMGetWSDLServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- MMDiscoverWSDLServlet
public class MMGetWSDLServlet
- extends MMGetVDBResourceServlet
Servlet to retrieve WSDL from a VDB using servlet context values specified in
the web.xml.
- Since:
- 5.6
- See Also:
- Serialized Form
Method Summary |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
static java.lang.String |
getVdbName(java.lang.String path)
This will derive the vdb name from the path of the URL used to obtain the
VDB resource. |
static java.lang.String |
getVdbVersion(java.lang.String path)
This will derive the vdb version from the path of the URL used to obtain
the VDB resource. |
void |
init(javax.servlet.ServletConfig config)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMGetWSDLServlet
public MMGetWSDLServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class MMGetVDBResourceServlet
- Throws:
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class MMGetVDBResourceServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- Since:
- 5.6
- See Also:
HttpServlet.doPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
getVdbName
public static java.lang.String getVdbName(java.lang.String path)
- This will derive the vdb name from the path of the URL used to obtain the
VDB resource.
The format of the path is: wsdl/vdbName/vdbVersion
- Parameters:
path
- -
path from the URL used to obtain the VDB resource.
- Returns:
- vdbName
- Since:
- 5.6
getVdbVersion
public static java.lang.String getVdbVersion(java.lang.String path)
- This will derive the vdb version from the path of the URL used to obtain
the VDB resource. The version is not required. If it is not present, the
latest version will be assumed.
The format of the path is: wsdl/vdbName/vdbVersion
- Parameters:
path
- -
path from the URL used to obtain the VDB resource.
- Returns:
- vdbVersion
- Since:
- 5.6
Copyright © 2009. All Rights Reserved.