edu.indiana.extreme.lead.resource_catalog.client.www
Class WebQueryServlet

java.lang.Object
  extended by HttpServlet
      extended by edu.indiana.extreme.lead.resource_catalog.client.www.WebQueryServlet

public class WebQueryServlet
extends HttpServlet


Field Summary
static java.lang.String ACTION_TYPE
           
static java.lang.String CWSDL_DESC
           
static java.lang.String CWSDL_PORTTYPE_DESC
           
static java.lang.String CWSDL_PORTTYPE_LNAME
           
static java.lang.String CWSDL_QNAME_LNAME
           
static java.lang.String CWSDL_QNAME_NS
           
static java.lang.String DEFAULT_RESOURCE_CATALOG_URL
           
static boolean G_DEBUG
           
static java.lang.String GET_CWSDL_DOC_FORMAT
           
static java.lang.String GET_CWSDL_DOC_QNAME
           
static java.lang.String GET_SM_DOC_FORMAT
           
static java.lang.String GET_SM_DOC_QNAME
           
static java.lang.String GFAC_NS
           
static java.lang.String MAX_RESULT_COUNT
           
static java.lang.String RESOURCE_CATALOG_URL
           
static java.lang.String RETURN_CWSDL
           
static java.lang.String RETURN_CWSDL_QNAME
           
static java.lang.String RETURN_CWSDL_TEXT
           
static java.lang.String RETURN_CWSDL_URL
           
static java.lang.String RETURN_SM
           
static java.lang.String RETURN_SM_QNAME
           
static java.lang.String RETURN_SM_TEXT
           
static java.lang.String SM_DESC
           
static java.lang.String SM_GROUP
           
static java.lang.String SM_IN_PARAM_NAME
           
static java.lang.String SM_METHOD_DESC
           
static java.lang.String SM_METHOD_NAME
           
static java.lang.String SM_OUT_PARAM_NAME
           
static java.lang.String SM_QNAME_LNAME
           
static java.lang.String SM_QNAME_NS
           
static java.lang.String SOAP_NS
           
static java.lang.String WSDL_NS
           
 
Constructor Summary
WebQueryServlet()
           
 
Method Summary
static void checkAndAdd(java.lang.StringBuffer xq, java.lang.String predicateValue, java.lang.String predicateXPath)
           
static void checkAndAddWildcard(java.lang.StringBuffer xq, java.lang.String predicateValue, java.lang.String predicateXPath)
           
static void dump(java.util.Map p)
           
static java.lang.String escapeForJavaScript(java.lang.String str)
           
static java.lang.String[][] executeCwsdlQuery(ServletRequest request)
           
static java.lang.String[][] executeSmQuery(ServletRequest request)
           
static java.lang.String getCwsdlDocument(ServletRequest request)
           
static java.lang.String getSmDocument(ServletRequest request)
           
static void main(java.lang.String[] args)
           
static java.lang.String paramValue(ServletRequest request, java.lang.String paramName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GFAC_NS

public static final java.lang.String GFAC_NS
See Also:
Constant Field Values

SOAP_NS

public static final java.lang.String SOAP_NS
See Also:
Constant Field Values

WSDL_NS

public static final java.lang.String WSDL_NS
See Also:
Constant Field Values

DEFAULT_RESOURCE_CATALOG_URL

public static final java.lang.String DEFAULT_RESOURCE_CATALOG_URL
See Also:
Constant Field Values

G_DEBUG

public static boolean G_DEBUG

ACTION_TYPE

public static final java.lang.String ACTION_TYPE
See Also:
Constant Field Values

RESOURCE_CATALOG_URL

public static final java.lang.String RESOURCE_CATALOG_URL
See Also:
Constant Field Values

MAX_RESULT_COUNT

public static final java.lang.String MAX_RESULT_COUNT
See Also:
Constant Field Values

CWSDL_QNAME_NS

public static final java.lang.String CWSDL_QNAME_NS
See Also:
Constant Field Values

CWSDL_QNAME_LNAME

public static final java.lang.String CWSDL_QNAME_LNAME
See Also:
Constant Field Values

CWSDL_DESC

public static final java.lang.String CWSDL_DESC
See Also:
Constant Field Values

CWSDL_PORTTYPE_LNAME

public static final java.lang.String CWSDL_PORTTYPE_LNAME
See Also:
Constant Field Values

CWSDL_PORTTYPE_DESC

public static final java.lang.String CWSDL_PORTTYPE_DESC
See Also:
Constant Field Values

RETURN_CWSDL_QNAME

public static final java.lang.String RETURN_CWSDL_QNAME
See Also:
Constant Field Values

RETURN_CWSDL

public static final java.lang.String RETURN_CWSDL
See Also:
Constant Field Values

RETURN_CWSDL_URL

public static final java.lang.String RETURN_CWSDL_URL
See Also:
Constant Field Values

RETURN_CWSDL_TEXT

public static final java.lang.String RETURN_CWSDL_TEXT
See Also:
Constant Field Values

GET_CWSDL_DOC_QNAME

public static final java.lang.String GET_CWSDL_DOC_QNAME
See Also:
Constant Field Values

GET_CWSDL_DOC_FORMAT

public static final java.lang.String GET_CWSDL_DOC_FORMAT
See Also:
Constant Field Values

SM_QNAME_NS

public static final java.lang.String SM_QNAME_NS
See Also:
Constant Field Values

SM_QNAME_LNAME

public static final java.lang.String SM_QNAME_LNAME
See Also:
Constant Field Values

SM_DESC

public static final java.lang.String SM_DESC
See Also:
Constant Field Values

SM_METHOD_DESC

public static final java.lang.String SM_METHOD_DESC
See Also:
Constant Field Values

SM_METHOD_NAME

public static final java.lang.String SM_METHOD_NAME
See Also:
Constant Field Values

SM_GROUP

public static final java.lang.String SM_GROUP
See Also:
Constant Field Values

SM_IN_PARAM_NAME

public static final java.lang.String SM_IN_PARAM_NAME
See Also:
Constant Field Values

SM_OUT_PARAM_NAME

public static final java.lang.String SM_OUT_PARAM_NAME
See Also:
Constant Field Values

RETURN_SM_QNAME

public static final java.lang.String RETURN_SM_QNAME
See Also:
Constant Field Values

RETURN_SM

public static final java.lang.String RETURN_SM
See Also:
Constant Field Values

RETURN_SM_TEXT

public static final java.lang.String RETURN_SM_TEXT
See Also:
Constant Field Values

GET_SM_DOC_QNAME

public static final java.lang.String GET_SM_DOC_QNAME
See Also:
Constant Field Values

GET_SM_DOC_FORMAT

public static final java.lang.String GET_SM_DOC_FORMAT
See Also:
Constant Field Values
Constructor Detail

WebQueryServlet

public WebQueryServlet()
Method Detail

getCwsdlDocument

public static java.lang.String getCwsdlDocument(ServletRequest request)

executeCwsdlQuery

public static java.lang.String[][] executeCwsdlQuery(ServletRequest request)

getSmDocument

public static java.lang.String getSmDocument(ServletRequest request)

executeSmQuery

public static java.lang.String[][] executeSmQuery(ServletRequest request)

paramValue

public static java.lang.String paramValue(ServletRequest request,
                                          java.lang.String paramName)

escapeForJavaScript

public static java.lang.String escapeForJavaScript(java.lang.String str)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

dump

public static void dump(java.util.Map p)

checkAndAddWildcard

public static void checkAndAddWildcard(java.lang.StringBuffer xq,
                                       java.lang.String predicateValue,
                                       java.lang.String predicateXPath)

checkAndAdd

public static void checkAndAdd(java.lang.StringBuffer xq,
                               java.lang.String predicateValue,
                               java.lang.String predicateXPath)


Copyright (c) 2005 Extreme! Lab, Indiana University. All rights reserved.
This software is open source. See here for the licence.