java.lang.Object | +--com.crossworlds.webservices.ProxyClassUtil
Class ProxyClassUtil
provides utility functions to develop
proxy classes. Proxy classes are generated by Web Services Generation
Utility.
Constructor Summary | |
ProxyClassUtil()
|
Method Summary | |
static java.lang.String |
getConfigFilePath(org.apache.soap.rpc.SOAPContext reqCtx,
java.lang.String configId)
Returns the config file path as String |
static java.lang.String |
getSOAPReqContentType(org.apache.soap.rpc.SOAPContext reqCtx)
Returns the content type from the incoming SOAP request as String . |
static java.lang.String |
getSOAPReqMessage(org.apache.soap.rpc.SOAPContext reqCtx)
Returns the SOAP message from the incoming SOAP request as String . |
static void |
setResponse(org.apache.soap.rpc.SOAPContext respCtx,
java.lang.String respStr,
java.lang.String contentType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyClassUtil()
Method Detail |
public static java.lang.String getConfigFilePath(org.apache.soap.rpc.SOAPContext reqCtx, java.lang.String configId)
String. The config file path
may be specified as an init-parameter of the SOAP MessageRouter servlet.
If no config file path is specified, this method returns null.
Web Services Generation Utility collects the development time parameters for
the generation of the proxy class. The utility defaults these parameters in the
proxy class. These defaults can be overridden by specifying
parameters in a config-file.
- Parameters:
reqCtx
- a SOAPContext
containing the
context of the incoming SOAP RequestconfigId
- a String
containing the name of
the servlet init-parameter
public static java.lang.String getSOAPReqContentType(org.apache.soap.rpc.SOAPContext reqCtx) throws org.apache.soap.SOAPException
String
.reqCtx
- a SOAPContext
for the incoming
SOAP request.String
containing the
content-type of the SOAP message.SOAPException
- if content type
cannot be obtained.public static java.lang.String getSOAPReqMessage(org.apache.soap.rpc.SOAPContext reqCtx) throws org.apache.soap.SOAPException
String
.reqCtx
- a SOAPContext
for the incoming
SOAP request.String
containing the content
of the SOAP message.SOAPException
- if content type or
SOAP message cannot be obtained.public static void setResponse(org.apache.soap.rpc.SOAPContext respCtx, java.lang.String respStr, java.lang.String contentType) throws org.apache.soap.SOAPException