Package org.apache.axis2.util
Class WSDL20Util
java.lang.Object
org.apache.axis2.util.WSDL20Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringapplyURITemplating(MessageContext messageContext, String rawURLString, boolean detach) This method is used to resolve httplocation property.static voidextractWSDL20SoapFaultInfo(Map options, org.apache.axiom.om.OMElement bindingMessageElement, org.apache.axiom.om.OMFactory omFactory, org.apache.axiom.om.OMNamespace wsoap)
-
Constructor Details
-
WSDL20Util
public WSDL20Util()
-
-
Method Details
-
extractWSDL20SoapFaultInfo
public static void extractWSDL20SoapFaultInfo(Map options, org.apache.axiom.om.OMElement bindingMessageElement, org.apache.axiom.om.OMFactory omFactory, org.apache.axiom.om.OMNamespace wsoap) -
applyURITemplating
public static String applyURITemplating(MessageContext messageContext, String rawURLString, boolean detach) throws AxisFault This method is used to resolve httplocation property. It changes the URL as stipulated by the httplocation property.- Parameters:
messageContext- - The MessageContext of the requestrawURLString- - The raw URL containing httplocation templatesdetach- - Boolean value specifying whether the element should be detached from the envelop. When serializing data as application/x-form-urlencoded what goes in the body is the remainder and therefore we should detach the element from the envelop.- Returns:
- - String with templated values replaced
- Throws:
AxisFault- - Thrown in case an exception occurs
-