Java

Java Fax - Retrieve a List of Inbound Faxes Using GetList

This Java fax sample demonstrates the GetList method, which allows you to retrieve a list of inbound (received) faxes.

Java Fax - Cancel a Pending Fax

This sample allows you to cancel a Java fax that was previously submitted to the InterFAX Web service. This can be done using the CancelFax method. CancelFax only effects faxes waiting to be sent (with the status codes: -1 Preprocessing, -2 Ready, or -3 Pending Retry), and not faxes that actively-transmitted Java faxes.

Java Fax - Retrieve the Image of a Received Fax

In this section, GetImageChunk is used to retrieve an image for an inbound (received) Java fax. To retrieve the fax image, you need to first use the GetList method to get the fax message ID and file size.

Java Fax - Fetch the Image of a Submitted Fax

The GetFaxImage method, demonstrated in the following Java fax API snippet, retrieves the image of a previously-submitted, outbound fax.

Java Fax - Send Faxes to Multiple Recipients Using SendfaxEx_2

Sending a Java fax to one or more recipients with one or more attached files is done using the SendfaxEx_2 method. This method has more flexible sending capabilities than Sendfax (see Side-by-side Comparison of Web Service Methods for more details).

Java Fax - Submit a Binary File Using SendFax

This code sample demonstrates how to submit a Java fax with one attachment (binary file) to the InterFAX Web service, using the method SendFax.

Java Fax - Query Outbound Faxes with FaxQuery2

In this section, you use the FaxQuery2 method to retrieve detailed information about one or more submitted Java faxes. You can locate this code sample in the ZIP file above (see the green 'Download' box), under the path interfaxJavaSamples > src > GetStatusWithFaxQuery2.

Java Fax - Get Detailed Information About Outbound Faxes

This section demonstrates the FaxQuery method, which provides more advanced querying capabilities than the FaxStatusEx method (for more details, see Side-by-side Comparison of Web Service Methods). This Java Fax code sample can also be found in the ZIP file above (see the green 'Download' box), under the path interfaxJavaSamples > src > GetStatusWithFaxQuery.

Java Fax - Get Information about a Submitted Fax with FaxStatusEx

This code sample retrieves information about one or more submitted Java faxes, using the method FaxStatusEx.

Java Fax - Send Plain-Text File with SendCharFax

In this Java fax code sample, you learn how to send a plain-text fax using the SendCharFax method. When sending a fax using SendCharFax, make sure your text is standard ASCII (no 8-bit characters), however note that it can include HTML markup (Using HTML causes automatic word wrapping, whereas regular text does not).

Java Fax Tutorial

This step-by-step guide demonstrates how to send a Java fax using the InterFAX XML Web service.

Java Fax API - Send Faxes with a Few Lines of Code

Need a Java fax API? The InterFAX Java API lets you send faxes using only a few lines of code, with no installations.