资讯王 发表于 2010-4-11 01:19:55

[SP] 发布自定义Web Services dll / How to deploy custom Web Services dll?

非常简单的教学 / easy for learn

http://4.bp.blogspot.com/_4EWpEzDdWxo/S8Czy0c6LPI/AAAAAAAABM0/mOpKX5VBthk/s400/DragAndDrop.jpg
1. 拖放您的Web Services dll 倒入 GAC 文件夹(C:\WINDOWS\assembly\)
1. Drag and Drop your Web Services dll into GAC folder(C:\WINDOWS\assembly\)

http://1.bp.blogspot.com/_4EWpEzDdWxo/S8CzzB7yUPI/AAAAAAAABM8/Ke4KGvVXDcw/s400/deployPath.jpg
2. 复制Infopath.asmx档案,然后贴在C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\
2. Copy Infopath.asmx file and paste to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\

http://2.bp.blogspot.com/_4EWpEzDdWxo/S8CzyvPdtaI/AAAAAAAABMs/DP4P4kMJ9ho/s400/info.jpg<%@ WebService Language="VB" CodeBehind="InfoPath.asmx.vb" Class="MyWebService1.InfoPath, MyWebService1, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=0d936c8c1d7de2c3" %>3. 右键Infopath.asmx然后编辑,把dll的详情放入进去,然后存档
3. Right Click Infopath.asmx and Edit in Notepad, Add in dll information and save it.

http://4.bp.blogspot.com/_4EWpEzDdWxo/S8CzyDGle2I/AAAAAAAABMk/Li155RSMpJ8/s400/result.jpg
4. 浏览 http://www.XXX.com/_layouts/InfoPath.asmx
4. Open http://www.XXX.com/_layouts/InfoPath.asmx
页: [1]
查看完整版本: [SP] 发布自定义Web Services dll / How to deploy custom Web Services dll?