Safe Haskell | None |
---|
Network.SOAP.Transport.Mock
Description
Debug transport to train your parsers without bugging real services.
Documentation
initTransport :: Handlers -> IO TransportSource
Wrap a collection of handlers into a transport.
type Handler = Document -> IO ByteStringSource
handler :: ToXML a => (Document -> IO a) -> HandlerSource
Process a Document and wrap result in a SOAP Envelope.