org.apache.axis2.util
Class SchemaUtil
java.lang.Object
org.apache.axis2.util.SchemaUtil
public class SchemaUtil
- extends Object
Method Summary |
static org.apache.ws.commons.schema.XmlSchema[] |
getAllSchemas(org.apache.ws.commons.schema.XmlSchema schema)
|
static org.apache.axiom.soap.SOAPEnvelope |
handleMediaTypeURLEncoded(MessageContext msgCtxt,
HttpServletRequest request,
org.apache.ws.commons.schema.XmlSchemaElement xmlSchemaElement,
org.apache.axiom.soap.SOAPFactory soapFactory)
This method is designed for REST handling. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaUtil
public SchemaUtil()
getAllSchemas
public static org.apache.ws.commons.schema.XmlSchema[] getAllSchemas(org.apache.ws.commons.schema.XmlSchema schema)
handleMediaTypeURLEncoded
public static org.apache.axiom.soap.SOAPEnvelope handleMediaTypeURLEncoded(MessageContext msgCtxt,
HttpServletRequest request,
org.apache.ws.commons.schema.XmlSchemaElement xmlSchemaElement,
org.apache.axiom.soap.SOAPFactory soapFactory)
throws AxisFault
- This method is designed for REST handling. Parameter of a REST request comes in the URL or in
the body of the message (if it is POST). Since those parameters may not be in the proper order,
we need to retrieve the schema of the operation and construct the message according to that
from the parameters received as the REST request.
This method will carry out that function and it is assumed that this method is called in that scenarios only.
- Parameters:
msgCtxt
- request
- xmlSchemaElement
- soapFactory
-
- Throws:
AxisFault