Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Christopher Campbell on 03-12-2008 06:07:12 PM Hi- I've just started with AXL from .NET 2.0 and I'm getting the following error when I try to run-debug my testapp: InvalidOperationException- WebServiceBindinAttribute is required on proxy classes
My project is a VS2005 Windows app. (not a console or web app.) The erroring line of code is: public AXLAPIService(string ccmIp, string user, string password) I turned on the AXL Service in Cisco Service Mgr. I added User group an user to have AXL API permissions. Now when I browse to https://CCMIPAddr:8443/axl, i get a valid response: "Cisco CallManager: AXL Web Service The AXL Web Service is working and accepting requests. Use HTTP POST to send a request" (originally, I was seeing a 404 error when the service was not yet started)
My CCM is version: System version: 6.1.2.1000-13
I used the wsdl.exe command line tool to generate the proxy class. I read about and made the tweaks required to run in .NET environment (ie 1, 2, 3b, 4) I have tried to attached my AXLAPIService.cs class in case I did something wrong, but it is not allowing it. I can send along the class if anyone would eyeball it for me to see if I made a mistake.
Any help or advice would be wonderful. Tx-<CBC>
Edited by: Christopher Campbell on Dec 3, 2008 1:49 PM
Edited by: Christopher Campbell on Dec 3, 2008 1:51 PM
Subject: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribute r Replied by: Mayank Sharma on 04-12-2008 05:07:01 PM So where do you stand now. I mean are you still getting the same error or is there another problem?
Thanks, Max
Subject: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribute r Replied by: Christopher Campbell on 04-12-2008 07:27:24 PM Thanx Max! I had my class changes in the wrong places. The info you sent me was perfect. It worked great. Is there a good resource that describes each of the ws methods?
Subject: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribute r Replied by: Mayank Sharma on 04-12-2008 09:46:52 PM Christopher-
I don't remember sending you any information. Can you please specify which information you are refering to?
Thanks, Max
Subject: RE: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribu Replied by: Ananthakumar k on 03-11-2009 05:56:09 AM Hi Christopher, I am also getting similar error.COuld you please tell me what changes you have done in classes to fix this error ? Ananth
Subject: RE: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribu Replied by: Ananthakumar k on 06-11-2009 05:33:21 AM Hi, I could make this work without using cisco WSDL . Format the SOAP message properly and send the request to AXL web service. It works
Subject: RE: Re: AXL .NET Error - InvalidOperationException- WebServiceBindinAttribu Replied by: UUser SNUUser on 28-04-2010 07:58:20 AM Hi, I'm getting the same error. How did you solve the problem? I want to use the api for my bachelor thesis. Looking forward for your answer Martin
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: