[SOAP] control over faultcode
Pavel Marenyuk <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Organization | Private person |
| Message-ID | <[email protected]> |
Hi, All Is there a possibility to control faultcode of foap fault, generated by fgl_ws_server_setfault() ? reason - i need human readable and machine readable representation of soap faults. for example , in client application i would like to have in fault message: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Server.EClientNotFound</faultcode> <faultstring>client not found/Klient nicht gefunden/italian text</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -- Regards Pavel