Application Version: 4.0.6.10
Content Version: 2024.07.12
Release Notes [PDF288KB]
User Guide [PDF6.08MB]
Code System Update Calendar
Contact Us
Subscribe
Related Links
- PHIN Vocabulary Services
- Quick Links / Mapping Tools
- External Standards Resources
- Message Guides
- Developer's Guide
- PHINVADS FHIR API
Downloads
- RCMT Quick Search
The PHIN Vocabulary Access and Distribution System (VADS) web site is powered by an open web service that can be
directly consumed by 3rd party applications.
The VADS Web Service consists of an interface that defines the web methods that are available, the domain objects that represent vocabulary information, and data transfer objects (DTOs) to transfer data to and from the web service. The service is implemented using the Hessian protocol. Information about Hessian library files for other programming languages can be found on the Hessian web site. The developer toolkit contains libraries for integrating with the VADS web service in 3 popular languages. To integrate with the VADS web service using another language, appropriate artifacts will need to be created according to the web service API. ![]() | |
Download:
DeveloperToolkit.zip
The Developer Toolkit consists of:
External Link: Caucho Web site (Hessian) Information about the Hessian remote service protocol. |
|
![]() Java Examples: If connecting to the VADS web service using Java, you can instantiate a client instance as in the following example... import gov.cdc.vocab.service.VocabService; import com.caucho.hessian.client.HessianProxyFactory; HessianProxyFactory factory = new HessianProxyFactory(); VocabService service; try { service = (VocabService) factory.create(VocabService.class, "http://phinvads.cdc.gov/vocabService/v2">); } catch (MalformedURLException e) { e.printStackTrace(); } service.(web service method to execute);If you are using a Spring Container with your application, you can define a Spring Bean that can be referenced to invoke calls upon the Web Service... <bean id="vocabService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl" value="http://phinvads.cdc.gov/vocabService/v2" /> <property name="serviceInterface" value="gov.cdc.vocab.service.VocabService" /> </bean> ![]() .Net Example: If connecting to the VADS web service using .Net, you can instantiate a client instance as in the following example... using VadsClient; hessiancsharp.client.CHessianProxyFactory factory = new hessiancsharp.client.CHessianProxyFactory(); VocabService service = (VocabService)factory.Create(typeof(VocabService), "http://phinvads.cdc.gov/vocabService/v2"); service.(web service method to execute); |
- Page last reviewed:June 20, 2024
- Page last updated:June 20, 2024
- Content source: