I can deploy my assembly in a wsp to our MOSS 2007 server but I can't seem to find any information about how to automatically deploy my .asmx, disco.aspx and wdsl.aspx files at the same time.

Is this always a manual process of the files into the ISAPI folder in the 12s or can it be automated in the WSP some how?


2 Answers 2


You can do it in the manifest file yourself but more popular and easier way in MOSS 2007 was by using WSPBuilder.

You create the same folder structure in your project starting from 12 folder to ISAPI folder. Put your files there, right click the project -> WSPBuilder -> Build WSP. You can then install that WSP.

If you are curious and want to see how the tool has done it you can extract the generated WSP and check the manifest file.

  • I used WSPBuilder as a guide, although I continued to use my own way of doing things.
    – John_
    Commented Dec 27, 2013 at 7:08

In your project, add the mapped Layout folder to your solution and within it create a subfolder in which you add your webservice (.asmx) file.

You can then call your custom webservice by url like so:


Build/package your solution and you're good to go.

  • Does this work for MOSS 2007? Commented Dec 15, 2013 at 23:42
  • @Naim as far as I know, yes.
    – user2536
    Commented Dec 16, 2013 at 6:15
  • Thanks. AFAIK the procedure you described is possible only with SharePoint Solution template in Visual Studio for SP 2010 and up. That’s why we use WSPBuilder for MOSS 2007.... last time I checked:). Commented Dec 16, 2013 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.