Top |
Figure 275. Schema fragment for soap11:Fault
<xs: element name="Fault" type="tns: Fault"/> <xs: complexType name="Fault" final="extension"> <xs: annotation> <xs: documentation> Fault reporting structure </xs: documentation> </xs: annotation> <xs: sequence> <xs: element name="faultcode" type="xs: QName"/> <xs: element name="faultstring" type="xs: string"/> <xs: element name="faultactor" type="xs: anyURI" minOccurs="0"/> <xs: element name="detail" type="tns: detail" minOccurs="0"/> </xs: sequence> </xs: complexType> <xs: complexType name="detail"> <xs: sequence> <xs: any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> </xs: sequence> <xs: anyAttribute namespace="##any" processContents="lax"/> </xs: complexType>
LassoSoapFault *
lasso_soap_fault_new_from_message (const gchar *message
);
LassoSoapFault * lasso_soap_fault_new_full (const char *faultcode
,const char *faultstring
);
void lasso_soap_fault_add_to_detail (LassoSoapFault *soap_fault
,LassoNode *node
);
Fill the detail part of a SOAP fault.
soap_fault |
a LassoSoapFault object |
|
node |
a node to add to the Detail sub-element of the |
LassoSoapDetail * lasso_soap_fault_get_detail (LassoSoapFault *soap_fault
,gboolean create
);