public class SOAPUtils extends Object
Constructor and Description |
---|
SOAPUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
convertSOAP11toSOAP12(org.apache.axis2.context.MessageContext axisOutMsgCtx)
Converts the version of the the message context to 1.2.
|
static void |
convertSOAP12toSOAP11(org.apache.axis2.context.MessageContext axisOutMsgCtx)
Converts the version of the the message context to 1.1.
|
static void |
convertSoapVersion(org.apache.axis2.context.MessageContext axisOutMsgCtx,
String soapVersionURI)
Converts the SOAP version of the message context.
|
public static void convertSoapVersion(org.apache.axis2.context.MessageContext axisOutMsgCtx, String soapVersionURI) throws org.apache.axis2.AxisFault
axisOutMsgCtx
- messageContext where version conversion is donesoapVersionURI
- either org.apache.axis2.namespace.Constants.URI_SOAP12_ENV or
org.apache.axis2.namespace.Constants.URI_SOAP11_ENVorg.apache.axis2.AxisFault
- in case of an error in conversionpublic static void convertSOAP11toSOAP12(org.apache.axis2.context.MessageContext axisOutMsgCtx) throws org.apache.axis2.AxisFault
axisOutMsgCtx
- message context to be convertedorg.apache.axis2.AxisFault
- incase conversion process failspublic static void convertSOAP12toSOAP11(org.apache.axis2.context.MessageContext axisOutMsgCtx) throws org.apache.axis2.AxisFault
axisOutMsgCtx
- message context to be convertedorg.apache.axis2.AxisFault
- in case of an error in conversionCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.