Installation Guide

To use these webservices for your Deployments follow these steps:

You should now be able to use the Webservice. To test the functionality just open your favourite Browser and point it to
  • http://YourWebServer/YourWebserviceFolder/ad.asmx - For Active Directory related functions
  • http://YourWebServer/YourWebserviceFolder/mdt.asmx - For MDT related functions
  • http://YourWebServer/YourWebserviceFolder/sccm.asmx - for SCCM related functions.

If you would like to just upgrade an existing installation, it is most likely enough to just Copy all the files from the most up-to-date download and replace all the files in your current installation except the web.config. The web.config contains all your local configuration you would have to redo if replacing this file. Be sure to always make a backup of your existing installation before implementing any changes.

If you experience any issues with the webservice you can make use of the new logging capabilities that came with Version 7.1. If you are using an older version I highly recommend upgrading. See further information on Webservice Troubleshooting

Last edited Aug 12, 2010 at 9:41 AM by MaikKoster, version 14

Comments

TopazCaleb Mar 4, 2015 at 9:02 AM 
Question!!!!! :-)

Can anyone and everyone call an exposed WS method to delete or move AD objects from one OU to another. Is yes, won't that be a security loophole.

How can I secure WS and only allow authenticated users from executing a method withing WS.

+ How can I use an authenticated account if I call WS from within WinPE.

Topaz

trsonber May 28, 2014 at 2:20 PM 
This is my first attempt at using VB and web services so this is a basic question. i first did the above 7.3 installation and was able to sucessfully get to my webserver URL ad.asmx for active directory. I assume this tells me it's working. However I then discovered Maik Koster's article where he does the step by step work from the code that Niehaus developed. I succussfully done that, made the changes and debugged. Now how do I get that project from VB web express to the web service i did earlier in ver 7.3 and which files are needed? Let me know if you need more clarification. This is my first attempt at VB and web services so I don't know all the concepts.

Axelrv Jan 22, 2014 at 9:22 PM 
I like to add a few things to the instructions. The assumption is that if you are using IIS, you already have ASP.NET enabled, if not, you may encounter this error "HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory." when loading the AD.asmx service.

Another is that you may want to configure Directory Browsing in your Application within IIS, to give you look at the web folder directory from the browser.


Here are the steps for IIS 7.x running on Windows 2008 R2 or 2012 R2 server

1) CONFIGURE "Directory Browsing"
- From the Application Folder (click on the Application Folder and look on the right side pane), select Directory Browsing (double-click on it to open the settings)
- Select Enable and check the long date option.
- Click on Apply
2) ADDING ASP.NET
- Run the Server Manager and from Roles \ Web Server right click and select Add Role Services
- From the Role Service / Application Development / Select the ASP.NET
- Click on next to install the component.

s4biturbo May 15, 2010 at 8:40 PM 
Zepdey, If you are unsure of how to add the Store Procs to the MDT DB it's fairly easy. There are dozens of ways to skin a cat and I am no sql guru but this worked for me.

Just open up SQL Server Mgmt Studio and Navigate to your MDT db under the database node. Right click on your MDT db and choose new query and paste the sql code from Maiks 'MDT_SP_Complete.sql' file he has provided into the query window. Now just click the !Execute button and you should see 'Command(s) completed successfully.' in the output window below. Now navigate to the Programability node under the MDT db and refresh the Stored Procs node, you should now see all the new procedures ready to go. get back into the MDT.asmx and try out some of the funtions, they should be working as expected if everything else has been setup as outlined.

Thanks to Maik for providing such a great framework for us MDT geeks to build on!

-Todd Smetanka