|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.wasp.wsdl.SOAPMethodInfo.FaultPartInfos
This class represents container for information about faults of an operation.
SOAPMethodInfo.faultsInfo
Constructor Summary | |
SOAPMethodInfo.FaultPartInfos()
Constructs empty instance. |
|
SOAPMethodInfo.FaultPartInfos(BindingOperation operation,
Schema schema)
Creates new instance that is filled with passed information. |
Method Summary | |
java.util.Set |
getEncodings()
Returns set of all encodings defined on parts. |
SOAPMethodInfo.FaultPartInfo |
getFaultPart(SOAPElement partElement)
Returns fault that corresponds to the "incoming" element. |
SOAPMethodInfo.FaultPartInfo |
getFaultPart(java.lang.String javaType)
Returns part whose javaType equals to the required one. |
SOAPMethodInfo.FaultPartInfo |
getFaultPart(Type schemaType)
Returns fault part of the specified schema type. |
SOAPMethodInfo.FaultPartInfo |
getFaultPartForException(java.lang.String exceptionName)
Returns part that corresponds to "local" name of exception. |
SOAPMethodInfo.FaultPartInfo[] |
getFaultParts()
Returns all parts. |
void |
setCorrectSchema(Schema schema)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SOAPMethodInfo.FaultPartInfos()
public SOAPMethodInfo.FaultPartInfos(BindingOperation operation, Schema schema) throws WSDLException, SchemaException
operation
- WSDL binding operationschema
- XML Schema representation
WSDLException
- if there is a problem in reading WSDL
SchemaException
- if manipulation with supplied schema causes exceptionSOAPMethodInfo.fillFaultPartInfos(javax.wsdl.BindingOperation, org.idoox.xml.schema.Schema)
Method Detail |
public SOAPMethodInfo.FaultPartInfo getFaultPart(java.lang.String javaType)
javaType
equals to the required one.
javaType
- java type - name of exception - package + class name
javaType
equals to the required oneFaultPartInfo#javaType
public SOAPMethodInfo.FaultPartInfo getFaultPartForException(java.lang.String exceptionName)
exceptionName
- name of an exception (e.g. "MyException" - without package name)
public SOAPMethodInfo.FaultPartInfo getFaultPart(Type schemaType)
schemaType
- schema type
public SOAPMethodInfo.FaultPartInfo getFaultPart(SOAPElement partElement)
partElement
- incoming element
public java.util.Set getEncodings()
public SOAPMethodInfo.FaultPartInfo[] getFaultParts()
public void setCorrectSchema(Schema schema) throws SchemaException
SchemaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |