|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.util.WSDLSerializationUtil
Helps the AxisService to WSDL process
| Constructor Summary | |
WSDLSerializationUtil()
|
|
| Method Summary | |
static void |
addExtensionElement(org.apache.axiom.om.OMFactory fac,
org.apache.axiom.om.OMElement element,
java.lang.String name,
java.lang.String att1Name,
java.lang.String att1Value,
org.apache.axiom.om.OMNamespace soapNameSpace)
|
static void |
addHTTPHeaderElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace whttp,
org.apache.axiom.om.OMElement element,
java.util.Map nameSpaceMap)
Adds a HTTP header element to a given OMElement |
static void |
addSOAPHeaderElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMElement element,
java.util.Map nameSpaceMap)
Adds a soap header element to a given OMElement |
static void |
addSOAPModuleElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMElement element)
Adds a soap module element to a given OMElement |
static void |
addWSAddressingToBinding(java.lang.String addressingFlag,
org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMElement bindingElement)
|
static void |
addWSAWActionAttribute(org.apache.axiom.om.OMElement element,
java.lang.String action)
|
static org.apache.axiom.om.OMElement |
generateHTTPBinding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace whttp,
org.apache.axiom.om.OMNamespace tns)
Generates a default HTTP Binding for a given AxisService |
static org.apache.axiom.om.OMElement |
generateServiceElement(org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace tns,
AxisService axisService)
Generates a default service element |
static org.apache.axiom.om.OMElement |
generateSOAP11Binding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMNamespace tns)
Generates a default SOAP 11 Binding for a given AxisService |
static org.apache.axiom.om.OMElement |
generateSOAP12Binding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMNamespace tns)
Generates a default SOAP 12 Binding for a given AxisService |
static java.lang.String |
getElementName(AxisMessage axisMessage,
java.util.Map nameSpaceMap)
Gets the correct element name for a given message |
static java.lang.String |
getPrefix(java.lang.String namespace,
java.util.Map nameSpaceMap)
Given a namespace it returns the prefix for that namespace |
static void |
populateNamespaces(org.apache.axiom.om.OMElement descriptionElement,
java.util.Map nameSpaceMap)
Adds the namespaces to the given OMElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSDLSerializationUtil()
| Method Detail |
public static java.lang.String getPrefix(java.lang.String namespace,
java.util.Map nameSpaceMap)
namespace - - The namespace that the prefix is needed fornameSpaceMap - - The namespaceMap
public static java.lang.String getElementName(AxisMessage axisMessage,
java.util.Map nameSpaceMap)
axisMessage - - The axisMessagenameSpaceMap - - The namespaceMap
public static void addSOAPHeaderElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMElement element,
java.util.Map nameSpaceMap)
omFactory - - An OMFactorylist - - The arraylist of soapHeaderMessageswsoap - - The WSDL 2.0 SOAP namespaceelement - - The element that the header should be added tonameSpaceMap - - The namespaceMap
public static void addSOAPModuleElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMElement element)
omFactory - - An OMFactorylist - - The arraylist of soapModuleMessageswsoap - - The WSDL 2.0 SOAP namespaceelement - - The element that the header should be added to
public static void addHTTPHeaderElements(org.apache.axiom.om.OMFactory omFactory,
java.util.ArrayList list,
org.apache.axiom.om.OMNamespace whttp,
org.apache.axiom.om.OMElement element,
java.util.Map nameSpaceMap)
omFactory - - An OMFactorylist - - The arraylist of HTTPHeaderMessageswhttp - - The WSDL 2.0 HTTP namespaceelement - - The element that the header should be added tonameSpaceMap - - The namespaceMap
public static org.apache.axiom.om.OMElement generateSOAP11Binding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMNamespace tns)
fac - - The OMFactoryaxisService - - The AxisServicewsoap - - The WSDL 2.0 SOAP namespacetns - - The target namespace
public static org.apache.axiom.om.OMElement generateSOAP12Binding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace wsoap,
org.apache.axiom.om.OMNamespace tns)
fac - - The OMFactoryaxisService - - The AxisServicewsoap - - The WSDL 2.0 SOAP namespacetns - - The target namespace
public static org.apache.axiom.om.OMElement generateHTTPBinding(org.apache.axiom.om.OMFactory fac,
AxisService axisService,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace whttp,
org.apache.axiom.om.OMNamespace tns)
fac - - The OMFactoryaxisService - - The AxisServicewhttp - - The WSDL 2.0 HTTP namespacetns - - The target namespace
public static org.apache.axiom.om.OMElement generateServiceElement(org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace tns,
AxisService axisService)
throws AxisFault
omFactory - - The OMFactorytns - - The targetnamespaceaxisService - - The AxisService
AxisFault - - Thrown in case an exception occurs
public static void populateNamespaces(org.apache.axiom.om.OMElement descriptionElement,
java.util.Map nameSpaceMap)
descriptionElement - - The OMElement that the namespaces should be added tonameSpaceMap - - The namespaceMap
public static void addWSAWActionAttribute(org.apache.axiom.om.OMElement element,
java.lang.String action)
public static void addExtensionElement(org.apache.axiom.om.OMFactory fac,
org.apache.axiom.om.OMElement element,
java.lang.String name,
java.lang.String att1Name,
java.lang.String att1Value,
org.apache.axiom.om.OMNamespace soapNameSpace)
public static void addWSAddressingToBinding(java.lang.String addressingFlag,
org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMElement bindingElement)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||