cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1532
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Walid Azab on 14-06-2009 03:30:21 PM
Hi,
 
I am trying to generate a C# proxy class using wsdl for using RisPort. However, the proxy class gnerated has the CallManager URL hardcoded. Obviously the credentials as well. I thought I'd be able to instantiate an instance of the webservice using the class and be able to dynamically assign the UCM IP, usr name, and password like I do with the AXL API proxy class.
 
Any help is appreciated.
 
 
Thx
 

Subject: RE: CUCM RISport Webservice
Replied by: ZDENEK POKORNY on 14-07-2009 08:58:18 AM
Hi,
You must change creator of the generate class to this type :
        public RISService(string ccmIp, string user, string password)
        {
            System.Net.ServicePointManager.CertificatePolicy =
        new HP_CUCM_Utils.RIS.BruteForcePolicy();
            this.Url = "https://" + ccmIp + ":8443/realtimeservice/services/RisPort";
            this.Credentials = new System.Net.NetworkCredential(user, password);
        }

Now, you create new class :
RISService xx=new RISService(¿server¿,¿user¿,¿pwd¿);
It¿s same as AXL version. I prepare WSDL file separately from server definition XML and wsdl.exe from dotNET tools.

Zdenek

Subject: RE: CUCM RISport Webservice
Replied by: David Latty on 21-10-2009 08:38:04 PM
Hey! Where did you find the wsdl for RisPort (RISService I believe).
 
I see a lot of links, but I do not find the wsdl. Is there a wsdl specific for .NET??? (C#)
 
Thanks ~

Subject: RE: CUCM RISport Webservice
Replied by: David Latty on 22-10-2009 03:28:51 PM
For anyone looking, I (luckily) found that you can access the WSDL from here
 
https://<YOUR-CM-IP>:8443/realtimeservice/
 
Then you have to do the same as AXL wsdl
 
change constructor to take ip, uname & pwd, as well as add the brute force policy 
Comments
ponpeter-anisha
Community Member

I was able to get the device info connecting to risport. Is it possible to write a query to update the device name using risport?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links