public class QSWSDLHandler extends AbstractQueryStringHandler
exceptionLog, log
Constructor and Description |
---|
QSWSDLHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
getEndpointURL(MessageContext msgContext)
Returns the endpoint URL that should be used in the returned WSDL.
|
void |
invoke(MessageContext msgContext)
Performs the action associated with this particular query string handler.
|
void |
reportNoWSDL(HttpServletResponse res,
PrintWriter writer,
String moreDetailCode,
AxisFault axisFault)
Report that we have no WSDL.
|
void |
reportWSDL(Document doc,
PrintWriter writer)
Report WSDL.
|
protected void |
updateSoapAddressLocationURLs(Document wsdlDoc,
MessageContext msgContext)
Updates the soap:address locations for all ports in the WSDL using the URL from the request as
the base portion for the updated locations, ensuring the WSDL returned to the client contains
the correct location URL.
|
configureFromContext, configureResponseFromAxisFault, convertExceptionToAxisFault, isDevelopment, processAxisFault, writeFault
public void invoke(MessageContext msgContext) throws AxisFault
msgContext
- a MessageContext object containing message context
information for this query string handler.AxisFault
- if an error occurspublic void reportWSDL(Document doc, PrintWriter writer)
doc
- writer
- public void reportNoWSDL(HttpServletResponse res, PrintWriter writer, String moreDetailCode, AxisFault axisFault)
res
- writer
- moreDetailCode
- optional name of a message to provide more detailaxisFault
- optional fault string, for extra info at debug time onlyprotected void updateSoapAddressLocationURLs(Document wsdlDoc, MessageContext msgContext) throws AxisFault
wsdlDoc
- the WSDL as a DOM documentmsgContext
- the current Axis JAX-RPC message contextAxisFault
- if we fail to obtain the list of deployed service names from the server configprotected String getEndpointURL(MessageContext msgContext) throws AxisFault
msgContext
- the current Axis JAX-RPC message contextAxisFault
- if we fail to obtain the ServiceDesc
for this serviceCopyright © The Apache Software Foundation. All Rights Reserved.