| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.SOAP.Transport.Mock
Description
Debug transport to train your parsers without bugging real services.
Documentation
initTransport :: Handlers -> IO Transport Source #
Wrap a collection of handlers into a transport.
handler :: ToXML a => (Document -> IO a) -> Handler Source #
Process a Document and wrap result in a SOAP Envelope.
Arguments
| :: Text | SOAP Fault code (e.g. «soap:Server») |
| -> Text | Fault string |
| -> Text | Fault detail |
| -> Handler |
Emulate a SOAP fault.