Unsolved
This post is more than 5 years old
2 Posts
0
472
XML Api in a .net application
Hello,
I need to pull user quota and usage statistics. I am currently on the track of the XML API, i have found very little documentation.
Does anyone know how to use the XML API in a .NET Application?
Any code examples?
Would it be as easy as sending and recieving XML data using Request and Response objects, and authenticating towards the Control Center using WebRequest.Credentials ?
Any samples would be highly appreciated
Lars
I need to pull user quota and usage statistics. I am currently on the track of the XML API, i have found very little documentation.
Does anyone know how to use the XML API in a .NET Application?
Any code examples?
Would it be as easy as sending and recieving XML data using Request and Response objects, and authenticating towards the Control Center using WebRequest.Credentials ?
Any samples would be highly appreciated
Lars
Dan_McNair
17 Posts
0
September 9th, 2009 14:00
I can't address the .Net specifics, but I may be able to help with the documentation piece...
Have you seen the documentation for XML API that is on the Celerra Network Server Documentation CD?
Check out the help\Documentation\XMLAPI directory on the CD. There is a PDF in there which has some good protocol documentation and an appendix that shows some session level details such as HTTP login.
Just search for "Celerra Network Server Documentation CD" to download it from Powerlink if you do not have it.
Cheers.
-Dan
larswise
2 Posts
0
September 10th, 2009 03:00
Thanks a lot! I think i found everything and a little more
Do you know what kind of access level i need for the "service account" used in my client? Im not sure what different access levels there are on the box but i bet our storage admin knows
Also, if anyone have any .NET experience let me know.
Lars
Dan_McNair
17 Posts
0
September 10th, 2009 07:00
Glad to hear that it helped.
In terms of permissions, Celerra 5.6 gives the Celerra's security admin (usually the storage admin, but not always) the ability to control who can login through the Celerra Manager, Celerra XML API, and Celerra CLI. Just make sure the account you're using to login is granted XML API access, and then ensure it is assigned a role that will grant you access to the appropriate objects.
If you're just reading objects you should be able to use a role with minimum permissions, but if you want to effect changes to the system you'll need to let your storage or Celerra security admin know which objects need to be changed so you can be assigned the approriate role.
There are primers for both directory-based authentication and role-based administration that you can find on Powerlink by searching for "Celerra Version 5.6 Technical Primer". Both have technical documentation on the doc CD as well (covered in the Celerra Security Configuration Guide).
Here's a direct link to the role-based administration primer:
http://powerlink.emc.com/km/live1/en_US/Offering_Technical/White_Paper/h5775-celerra-primer-role-based-admin-wp.pdf
Cheers.
-Dan