What are Web Services?
Web services is a collection of technologies that allow systems to communicate directly to each other. This allows developers to easily write programs that can perform actions on another system. Web services requires being able to write code, this is not a technology that end users will be able to take advantage of directly.
CRMC offers web services for each of the trusts we administer claims for. Each trust has it's own service, but they all tie together based on a Claimant object (just like our website).
The services we offer:
C.E. Thurston and Sons
Durabla Manufacturing Company and Durabla Canada LTD. Asbestos Trust
Manville Personal Settlement Trust
Motor Liquidation Company (MLC) asbestos personal injury trust
Document service that allows upload/download of documents
Although they differ slightly most of the methods and objects in CRMC's web services are identical. Here you will find a document detailing the methods and objects available in all the web services that CRMC offers.
Web Services are defined using WSDL. As a developer using (consuming) a web service, you will use the WSDL file to generate a interface to enable you to program against that service.
*As a note, our services are written using Microsoft's .net framework and utilize WCF. You can use any language/platform that provides web service client functionality, but using a .net framework solution will probably be easier to implement.
#coded for MV in cSharp and using a Service Reference that was named MVWS;
static void Main(string[] args)
{
Console.WriteLine("hello");
MVWS.MVServiceClient mvClient = new MVWS.MVServiceClient();
mvClient.ClientCredentials.UserName.UserName = "SimsWSTesting";
mvClient.ClientCredentials.UserName.Password = "<will need the password here>";
/* get claim object based on claimID */
MVWS.WSResults results = mvClient.GetClaim(new MVWS.GetClaimMsg { claimID = 1001310 });
/* show claimstatusCD */
Console.WriteLine(results.GetClaimResult?.claimInfo.claimStatusCD);
Console.ReadLine();
}
Depending on how the service reference is created you will likely need to increase the default timeout/max values that .net sets up. Here's a typical entry we've used before for the MV service in the app.config of the .net project.
<binding name="BasicHttpBinding_MVService" closeTimeout="00:01:00" openTimeout="00:00:45" receiveTimeout="00:00:45" sendTimeout="00:00:45" maxBufferPoolSize="8388608" maxReceivedMessageSize="8388608">