|
|
||
|
Using Microsoft Visual Studio .NET (VS.NET), you need only add a "Web Reference" to a NET SatisFAXtion server to begin sending and receiving faxes, accessing server queues, and monitoring server activity with NSSOAP. The NSSOAP API is installed with NET SatisFAXtion and is available once the fax server is loaded. A NET SatisFAXtion API license must be purchased to use the NSSOAP API. Accessing the NSSOAP Interface The default URL to the NSSOAP interface is: http://<fax_server>/WebServices/nssoap.asmx For example: http://faxserver:60/WebServices/nssoap.asmx You can open that URL in a web browser to see the entire NSSOAP interface available on your fax server, complete with XML examples for each method. This can be very useful if you are developing your SOAP client without using Visual Studio or any high-level development tool. Through this URL, VS.NET will import the classes and enums necessary to access the NSSOAP API. The main interface is accessed through a class named NSSOAP. The following C# sample (simplified for brevity) demonstrates retrieving port information from a fax server:
With the NSSOAP API you can:
All NSSOAP methods require at least two input parameters, a user name and password, that should be set to the fax server user account associated with the method being called. Fax server users can access, modify and delete their messages on the fax server, whereas fax server supervisors can access, modify and delete messages belonging to any user. The response from an NSSOAP method is a unique class that contains a result code and string, and any additional information specific to that method. |
|
|