public class RequestProcessorUtil extends Object
Constructor and Description |
---|
RequestProcessorUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canExposeServiceMetadata(org.apache.axis2.description.AxisService service)
Checks whether exposing the WSDL & WSDL elements such as schema & policy have been allowed
|
static String |
getServiceContextPath(org.apache.axis2.context.ConfigurationContext configCtx) |
static void |
writeDocument(ByteArrayOutputStream byteArrayOutStream,
OutputStream out,
String annotatedXsl,
String contextRoot,
boolean annotation) |
public static void writeDocument(ByteArrayOutputStream byteArrayOutStream, OutputStream out, String annotatedXsl, String contextRoot, boolean annotation)
byteArrayOutStream
- out
- annotatedXsl
- contextRoot
- annotation
- : If annotation is false PI would not be attached.public static boolean canExposeServiceMetadata(org.apache.axis2.description.AxisService service) throws IOException
service
- The AxisService which needs to be verifiedIOException
- If exposing WSDL & WSDL elements has been restricted.public static String getServiceContextPath(org.apache.axis2.context.ConfigurationContext configCtx)
Copyright © 2016 WSO2 Inc. All rights reserved.