Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Communication Drivers
  • AVEVA Communication Drivers Tech Notes

TN 1374 Configuring the OI.WebSvc User Guide Example

Last updated: March 6th, 2025

Description

  • Author: Mario Meza
  • Published: March 6th, 2025

Details:

Description

This article from InSource shows how to configure the OI-WEBSVC OI Server leveraging the Open Weather Map example outlined in the User Guide.

  • Author: Mario Meza
  • Published: 06/16/2023
  • Applies to: OI-WEBSVC G-2.1 (v1.0) and above

Details 83443

If you've tried to configure the OI.WEBSVC you may notice it's not like the standard OI Servers. This OI Server is a little different in that it's designed to interact with a webservice, the counterpart to that being that the webservice must also be configured to respond to REST requests. These are in the form of GET/POST/PUT/DELETE requests for a REST connection. 

The WebSvc user guide and following Youtube video reference using Open Weather Map for testing the OI Server. If you've tried implementing this example you may have encountered connectivity issues, here are a couple things to be aware of in order to establish a connection using this example. 

If you copy and paste the URL's from the documentation you will be met with connection failure...

and 401 Unauthorized error code when testing the connection. 

This is because the Open Weather Map API authorizes requests by means of an API Key , submitted as the appid URL parameter, meaning that Instead of “11111” you must submit your own API Key which must be acquired from Open Weather Maps. 

To do this sign up for a freemium account which provides API access to open weather maps. There you can create an API KEY by selecting Generate under the API keys option.

Using the same string from the documentation but updating the fake appid of 1111111 with one of the API Keys you just generated from Open Weather Maps, should allow for a successful connection and return data from the Test connection.

 

oi.websvc setting up
Give feedback about this article

Recommended articles

How to receive group emails

Read More

How to Check for On Hold Emails in Mimecast

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand