VFMWebService
Click here for a complete list of operations.
SendFaxEx
This method sends a fax to the faxnumber specified -- document can be in any supported format.
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /vfmWebService.asmx HTTP/1.1 Host: client.myvfm.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://norskmessaging.com/VFM/SendFaxEx" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendFaxEx xmlns="http://norskmessaging.com/VFM/"> <UserName>string</UserName> <Password>string</Password> <Reference>string</Reference> <FaxNumber>string</FaxNumber> <FileType>fftWord or fftExcel or fftText or fftRichText or fftJPEG or fftBitmap or fftPowerPoint or fftPublisher or fftTIFF or fftAcrobat or fftHTML or fftPNG</FileType> <File>base64Binary</File> <FileSize>int</FileSize> </SendFaxEx> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendFaxExResponse xmlns="http://norskmessaging.com/VFM/"> <SendFaxExResult>string</SendFaxExResult> <ResultCode>vrcSuccessful or vrcUsernamePasswordIncorrect or vrcInsufficientAccountFunds or vrcVFMAccountExpired or vrcInvalidOrCorruptFile or vrcFileConversionFailure or vrcUnknownFailure or vrcInvalidFaxNumber</ResultCode> </SendFaxExResponse> </soap:Body> </soap:Envelope>