Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Serviceability XML (SXML) Developer Center
Overview
Documentation
Community
Wiki
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Serviceability XML Questions
CUCM RISport Webservice
Threads [
Previous
|
Next
]
Walid Azab
Posts:
16
Join Date:
11/1/08
Recent Posts
CUCM RISport Webservice
Answer
6/14/09 8:30 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
ZDENEK POKORNY
Posts:
2
Join Date:
1/14/09
Recent Posts
RE: CUCM RISport Webservice
Answer
7/14/09 1:58 PM as a reply to Walid Azab.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Latty
Posts:
2
Join Date:
10/20/09
Recent Posts
RE: CUCM RISport Webservice
Answer
10/22/09 1:38 AM as a reply to ZDENEK POKORNY.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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 ~
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Latty
Posts:
2
Join Date:
10/20/09
Recent Posts
RE: CUCM RISport Webservice
Answer
10/22/09 8:28 PM as a reply to David Latty.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top