| java.lang.Object org.apache.axis2.util.WSDLSerializationUtil
WSDLSerializationUtil | public class WSDLSerializationUtil (Code) | | Helps the AxisService to WSDL process
|
Method Summary | |
public static void | addExtensionElement(OMFactory fac, OMElement element, String name, String att1Name, String att1Value, OMNamespace soapNameSpace) | public static void | addHTTPHeaderElements(OMFactory omFactory, ArrayList list, OMNamespace whttp, OMElement element, Map nameSpaceMap) | public static void | addSOAPHeaderElements(OMFactory omFactory, ArrayList list, OMNamespace wsoap, OMElement element, Map nameSpaceMap) | public static void | addSOAPModuleElements(OMFactory omFactory, ArrayList list, OMNamespace wsoap, OMElement element) | public static void | addWSAWActionAttribute(OMElement element, String action, OMNamespace wsaw) | public static void | addWSAddressingToBinding(String addressingFlag, OMFactory omFactory, OMElement bindingElement, OMNamespace wsaw) | public static void | addWSDLDocumentationElement(AxisDescription axisDescription, OMElement omElement, OMFactory omFactory, OMNamespace wsdl) | public static OMElement | generateHTTPBinding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace whttp, OMNamespace tns) | public static OMElement | generateSOAP11Binding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace wsoap, OMNamespace tns) | public static OMElement | generateSOAP12Binding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace wsoap, OMNamespace tns) | public static OMElement | generateServiceElement(OMFactory omFactory, OMNamespace wsdl, OMNamespace tns, AxisService axisService, boolean disableREST) | public static OMElement | generateServiceElement(OMFactory omFactory, OMNamespace wsdl, OMNamespace tns, AxisService axisService, boolean disableREST, String[] eprs) | public static String | getElementName(AxisMessage axisMessage, Map nameSpaceMap) | public static String | getPrefix(String namespace, Map nameSpaceMap) | public static void | populateNamespaces(OMElement descriptionElement, Map nameSpaceMap) |
CDATA_END_REGEX | final public static String CDATA_END_REGEX(Code) | | |
CDATA_START_REGEX | final public static String CDATA_START_REGEX(Code) | | |
addExtensionElement | public static void addExtensionElement(OMFactory fac, OMElement element, String name, String att1Name, String att1Value, OMNamespace soapNameSpace)(Code) | | |
addHTTPHeaderElements | public static void addHTTPHeaderElements(OMFactory omFactory, ArrayList list, OMNamespace whttp, OMElement element, Map nameSpaceMap)(Code) | | Adds a HTTP header element to a given OMElement
Parameters: omFactory - - An OMFactory Parameters: list - - The arraylist of HTTPHeaderMessages Parameters: whttp - - The WSDL 2.0 HTTP namespace Parameters: element - - The element that the header should be added to Parameters: nameSpaceMap - - The namespaceMap |
addSOAPHeaderElements | public static void addSOAPHeaderElements(OMFactory omFactory, ArrayList list, OMNamespace wsoap, OMElement element, Map nameSpaceMap)(Code) | | Adds a soap header element to a given OMElement
Parameters: omFactory - - An OMFactory Parameters: list - - The arraylist of soapHeaderMessages Parameters: wsoap - - The WSDL 2.0 SOAP namespace Parameters: element - - The element that the header should be added to Parameters: nameSpaceMap - - The namespaceMap |
addSOAPModuleElements | public static void addSOAPModuleElements(OMFactory omFactory, ArrayList list, OMNamespace wsoap, OMElement element)(Code) | | Adds a soap module element to a given OMElement
Parameters: omFactory - - An OMFactory Parameters: list - - The arraylist of soapModuleMessages Parameters: wsoap - - The WSDL 2.0 SOAP namespace Parameters: element - - The element that the header should be added to |
addWSAWActionAttribute | public static void addWSAWActionAttribute(OMElement element, String action, OMNamespace wsaw)(Code) | | |
addWSAddressingToBinding | public static void addWSAddressingToBinding(String addressingFlag, OMFactory omFactory, OMElement bindingElement, OMNamespace wsaw)(Code) | | |
addWSDLDocumentationElement | public static void addWSDLDocumentationElement(AxisDescription axisDescription, OMElement omElement, OMFactory omFactory, OMNamespace wsdl)(Code) | | |
generateHTTPBinding | public static OMElement generateHTTPBinding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace whttp, OMNamespace tns)(Code) | | Generates a default HTTP Binding for a given AxisService
Parameters: fac - - The OMFactory Parameters: axisService - - The AxisService Parameters: wsdl - the WSDL namespace Parameters: whttp - - The WSDL 2.0 HTTP namespace Parameters: tns - - The target namespace - The generated HTTPBinding element |
generateSOAP11Binding | public static OMElement generateSOAP11Binding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace wsoap, OMNamespace tns)(Code) | | Generates a default SOAP 11 Binding for a given AxisService
Parameters: fac - - The OMFactory Parameters: axisService - - The AxisService Parameters: wsdl - the WSDL namespace Parameters: wsoap - - The WSDL 2.0 SOAP namespace Parameters: tns - - The target namespace - The generated SOAP11Binding element |
generateSOAP12Binding | public static OMElement generateSOAP12Binding(OMFactory fac, AxisService axisService, OMNamespace wsdl, OMNamespace wsoap, OMNamespace tns)(Code) | | Generates a default SOAP 12 Binding for a given AxisService
Parameters: fac - - The OMFactory Parameters: axisService - - The AxisService Parameters: wsdl - the WSDL namespace Parameters: wsoap - - The WSDL 2.0 SOAP namespace Parameters: tns - - The target namespace - The generated SOAP12Binding element |
generateServiceElement | public static OMElement generateServiceElement(OMFactory omFactory, OMNamespace wsdl, OMNamespace tns, AxisService axisService, boolean disableREST) throws AxisFault(Code) | | Generates a default service element
Parameters: omFactory - - The OMFactory Parameters: wsdl - the WSDL namespace Parameters: tns - - The targetnamespace Parameters: axisService - - The AxisService Parameters: disableREST - only generate REST endpoint if this is false - The generated service element throws: AxisFault - - Thrown in case an exception occurs |
generateServiceElement | public static OMElement generateServiceElement(OMFactory omFactory, OMNamespace wsdl, OMNamespace tns, AxisService axisService, boolean disableREST, String[] eprs) throws AxisFault(Code) | | Generates a default service element
Parameters: omFactory - - The OMFactory Parameters: wsdl - the WSDL namespace Parameters: tns - - The targetnamespace Parameters: axisService - - The AxisService Parameters: disableREST - only generate REST endpoint if this is false - The generated service element throws: AxisFault - - Thrown in case an exception occurs |
getElementName | public static String getElementName(AxisMessage axisMessage, Map nameSpaceMap)(Code) | | Gets the correct element name for a given message
Parameters: axisMessage - - The axisMessage Parameters: nameSpaceMap - - The namespaceMap - The element name |
getPrefix | public static String getPrefix(String namespace, Map nameSpaceMap)(Code) | | Given a namespace it returns the prefix for that namespace
Parameters: namespace - - The namespace that the prefix is needed for Parameters: nameSpaceMap - - The namespaceMap - The prefix of the namespace |
populateNamespaces | public static void populateNamespaces(OMElement descriptionElement, Map nameSpaceMap)(Code) | | Adds the namespaces to the given OMElement
Parameters: descriptionElement - - The OMElement that the namespaces should be added to Parameters: nameSpaceMap - - The namespaceMap |
|
|