AnsweredAssumed Answered

CA DSM - Web services, connect to the API.

Question asked by LarsD on Feb 4, 2011
Latest reply on Aug 24, 2011 by chris.jackett1.1
Hi,

Dont know if this is the right forum, but I'll give it a try anyway.

I am trying to open a connection via the CA DSM Web Services API. I am using Visual Studio 2010 and c#. So far I have accomplished to add a service web referense to : http://server/UDSM_R11_Webservice/wsdl and it generates a stub. But when I try to use the proxy/stub class, in the response i.e. using wsDSM.Login("login","password","manager") it throws an exception that it cant handle the response with no Content-type SOAP. I have checked that there is a function for handling the "LoginResponse" and it uses base.Channel.Login().

Visual Studio generates three classes (I think it uses svcutil.exe)
DSMWebServiceAPI (interface)
DSMWebServiceAPIChannel (interface)
DSMWebServiceAPIClient (class)

The only documentation I have found to accomplished this is here: http://server/UDSM_R11_Webservice/help . Where you can find examples using Java .But it is diffucult to understand and translate it for implementation in .NET. And trust me I have searched everywhere on the Internet. It is not easy to find any good reference or documentation about this.

Can anyone here help me out to come any further with this? Thanks in advance!

Outcomes