public class DescriptionUtils
extends java.lang.Object
| Constructor and Description |
|---|
DescriptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
getAttachmentFromBinding(org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl opDesc,
javax.wsdl.Binding binding)
This method will process a WSDL Binding and build AttachmentDescription objects if the
WSDL dicatates attachments.
|
static java.lang.Boolean |
getBooleanValue(java.lang.String value)
Utility method for converting a String value into a boolean.
|
static java.lang.String |
getNamespaceFromSOAPElement(java.util.List extElements)
This method will loop through a list of extensibility elements looking for one
of four objects: SOAPBody, SOAP12Body, SOAPHeader, SOAP12Header.
|
static boolean |
isAsync(java.lang.reflect.Method method)
Determine is this method is an async method
|
static HandlerChainsType |
loadHandlerChains(java.io.InputStream is,
java.lang.ClassLoader classLoader) |
static java.lang.String |
mapBindingTypeAnnotationToWsdl(java.lang.String annotationBindingType)
Given a binding type value based on a JAXWS anntation, return the corresponding WSDL
binding type.
|
static java.lang.String |
mapBindingTypeWsdlToAnnotation(java.lang.String wsdlBindingType,
java.lang.String soapTransport)
Given a binding type value based on WSDL, return the corresponding JAXWS annotation value.
|
static java.io.InputStream |
openHandlerConfigStream(java.lang.String configFile,
java.lang.String className,
java.lang.ClassLoader classLoader)
This is a helper method that will open a stream to an @HandlerChain configuration file.
|
static void |
registerHandlerHeaders(AxisService axisService,
java.util.List<javax.xml.ws.handler.Handler> handlers) |
public static java.io.InputStream openHandlerConfigStream(java.lang.String configFile,
java.lang.String className,
java.lang.ClassLoader classLoader)
configFile - - The path to the fileclassName - - The class in which the annotation was declared. This is used in case the
file path is relative.classLoader - - ClassLoader used to load relative file paths.public static boolean isAsync(java.lang.reflect.Method method)
method - - The method to examinepublic static HandlerChainsType loadHandlerChains(java.io.InputStream is, java.lang.ClassLoader classLoader)
public static java.lang.String getNamespaceFromSOAPElement(java.util.List extElements)
public static void getAttachmentFromBinding(org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl opDesc, javax.wsdl.Binding binding)
public static void registerHandlerHeaders(AxisService axisService, java.util.List<javax.xml.ws.handler.Handler> handlers)
public static java.lang.String mapBindingTypeAnnotationToWsdl(java.lang.String annotationBindingType)
annotationBindingType - The binding type as represented by a JAXWS annotation valuemapBindingTypeWsdlToAnnotation(String, String)public static java.lang.String mapBindingTypeWsdlToAnnotation(java.lang.String wsdlBindingType,
java.lang.String soapTransport)
wsdlBindingType - The binding type as represnted by the WSDL binding extension namespacesoapTransport - The WSDL transport. Used to determine if a JMS binding type should
be returnedpublic static java.lang.Boolean getBooleanValue(java.lang.String value)
value - the property's valueCopyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.