I am trying to use the celerra xml api to query the system and get some information. As per the help guide I first need to perform the http login and then use the cookie for all the next xml quires. But I am unable to make the login, the help guide is not at all descriptive enough for me.
The error I am getting is "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel" when tried from my c# program. Also I tried to use HttpRequester & Poster firefox tools to login, I am getting "403 Forbidden. Session timeout. Relogin and try this operation again." error here.
Most of the code is well written and understandable, but I have some problems interpret the Class defenitions for the responsePacket object. I was not able to iterate trough the object items.
I was able to serialize it back to a text string usung the Xml serializer:
System.Xml.Serialization.XmlSerializer x = new System.Xml.Serialization.XmlSerializer(responsePacket.GetType());
x.Serialize(Console.Out, responsePacket);
I could not figure out how to map it to the defined FileSystemQueryParams class.
Has anyone have a clue how to interpret the resonse object
I have a query i need one API CifsShareQueryParams to be used to query , my question how should i use this below schema or should i import to VNX? how can i achieve this,
Not sure if you need more and I hate to beat a dead horse. I have a bunch of scripts to find shares, get qtrees and quota usage and raise quotas, create qtrees and shares, etc. Once you get past the first step this all is very useful an do-able.
Here is an old sample I posted a while back using PowerShell. I did try similar with C# while debugging in my early efforts but don't have that code and don't recall what I used to do the http posts/etc.
This might need some fleshing out but it works. One thing I do have to do is import the certificate (to computer account store) as we have a self-signed certificate.
It is basically how I do things today though I we now use LDAP. I have some code for that if needed.
Rainer_EMC
6 Operator
•
8645 Posts
1173
0
Posted January 13th, 2016 06:00
Hi,
do you still have a problem there ?