public class SoapUIServlet extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SoapUIServices
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG
logger used to log out the exceptions
|
| Constructor and Description |
|---|
SoapUIServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static String |
generateNonProxyHostsInSoapUIFormat(String nonProxyHosts)
Quoting special char as SoapUI will use regular expressions
According to http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html nonProxyHosts may
starts and/or ends with a '*' character while wildcard for RE is "
|
String |
generateRequest(String wsdlUrl,
String interfaceName,
String operationName)
Generates a request for a given operation.
|
List<String> |
getInterfaces(String wsdlUrl)
Retrieves interfaces described in a Wsdl.
|
com.eviware.soapui.impl.wsdl.WsdlInterface[] |
getInterfaces(String wsdlUrl,
boolean createRequests)
Retrieves interfaces described in a Wsdl.
|
List<String> |
getOperations(String wsdlUrl,
String interfaceName)
Retrieves operations described in a Wsdl, for a given interface.
|
void |
init()
Servlet initialization.
|
String |
sendRequest(String wsdlUrl,
String interfaceName,
String operationName,
String request)
Sends a request for a given operation.
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected static final Logger LOG
public static String generateNonProxyHostsInSoapUIFormat(String nonProxyHosts)
nonProxyHosts - non proxy hosts in system property formatpublic void init()
throws javax.servlet.ServletException
Servlet initialization.
The first time a SoapUI WsdlProject is created, SoapUI reads its configuration and setup a lot of things. It may be long so let to it during servlet initialization rather at the first use. For the user it will be smoothly.
The parent init method from GenericServlet is called.
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic com.eviware.soapui.impl.wsdl.WsdlInterface[] getInterfaces(String wsdlUrl, boolean createRequests) throws ServiceException
Retrieves interfaces described in a Wsdl.
wsdlUrl - URL of the given WsdlcreateRequests - boolean indicating if requests should be createdWsdlInterfaces described in the given WsdlServiceException - Gwt-SoapUI wrapper for all SoapUI exceptionspublic List<String> getInterfaces(String wsdlUrl) throws ServiceException
Retrieves interfaces described in a Wsdl.
getInterfaces in interface SoapUIServiceswsdlUrl - URL of the given WsdlServiceException - Gwt-SoapUI wrapper for all SoapUI exceptionspublic List<String> getOperations(String wsdlUrl, String interfaceName) throws ServiceException
Retrieves operations described in a Wsdl, for a given interface.
getOperations in interface SoapUIServiceswsdlUrl - URL of the given WsdlinterfaceName - name of the interface for which operations should be retrievedServiceException - Gwt-SoapUI wrapper for all SoapUI exceptionspublic String generateRequest(String wsdlUrl, String interfaceName, String operationName) throws ServiceException
Generates a request for a given operation.
generateRequest in interface SoapUIServiceswsdlUrl - URL of the given WsdlinterfaceName - name of the interface for which operations should be retrievedoperationName - name of the operation for which request should be generatedServiceException - Gwt-SoapUI wrapper for all SoapUI exceptionspublic String sendRequest(String wsdlUrl, String interfaceName, String operationName, String request) throws ServiceException
Sends a request for a given operation.
sendRequest in interface SoapUIServiceswsdlUrl - URL of the given WsdlinterfaceName - name of the interface for which operations should be retrievedoperationName - name of the operation for which request should be generatedrequest - the request to sendServiceException - Gwt-SoapUI wrapper for all SoapUI exceptionsCopyright © 2012 OW2 Consortium. All Rights Reserved.