【实例简介】
请参考:http://blog.csdn.net/dwj901125/article/details/23701063
这里有相当详尽的实现过程。
【实例截图】
【核心代码】
WebServiceTest
├── WebServiceTest
│ ├── Backup
│ │ ├── StateGrid95598
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── StateGrid95598.csproj
│ │ │ ├── StateGrid95598.csproj.user
│ │ │ ├── Web.config
│ │ │ ├── Web.Debug.config
│ │ │ ├── Web.Release.config
│ │ │ ├── WebService1.asmx
│ │ │ └── WebService1.asmx.cs
│ │ ├── StateGrid95598.sln
│ │ ├── StateGrid95598.suo
│ │ └── WindowsFormsApplication1
│ │ ├── app.config
│ │ ├── Form1.cs
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── Service References
│ │ │ └── ServiceReference1
│ │ │ ├── configuration91.svcinfo
│ │ │ ├── configuration.svcinfo
│ │ │ ├── Reference.cs
│ │ │ ├── Reference.svcmap
│ │ │ ├── WebService1.disco
│ │ │ └── WebService1.wsdl
│ │ └── WindowsFormsApplication1.csproj
│ ├── StateGrid95598
│ │ ├── AppService.csproj
│ │ ├── AppService.csproj.user
│ │ ├── AppService.Publish.xml
│ │ ├── bin
│ │ │ ├── StateGrid95598.dll
│ │ │ └── StateGrid95598.pdb
│ │ ├── obj
│ │ │ ├── AppService.csproj.FileListAbsolute.txt
│ │ │ ├── Debug
│ │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ │ ├── Package
│ │ │ │ │ ├── PackageTmp
│ │ │ │ │ │ ├── bin
│ │ │ │ │ │ │ ├── StateGrid95598.dll
│ │ │ │ │ │ │ └── StateGrid95598.pdb
│ │ │ │ │ │ ├── Web.config
│ │ │ │ │ │ └── WebService1.asmx
│ │ │ │ │ ├── StateGrid95598.SetParameters.xml
│ │ │ │ │ ├── StateGrid95598.SourceManifest.xml
│ │ │ │ │ └── StateGrid95598.zip
│ │ │ │ ├── StateGrid95598.csproj.FileListAbsolute.txt
│ │ │ │ ├── StateGrid95598.dll
│ │ │ │ ├── StateGrid95598.pdb
│ │ │ │ └── TransformWebConfig
│ │ │ │ ├── original
│ │ │ │ │ └── Web.config
│ │ │ │ └── transformed
│ │ │ │ └── Web.config
│ │ │ └── StateGrid95598.csproj.FileListAbsolute.txt
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── StateGrid95598.csproj.bak
│ │ ├── Web.config
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ ├── WebService1.asmx
│ │ ├── WebService1.asmx.cs
│ │ └── 视频文件-2014-10-10-02-10-55.mp4
│ ├── StateGrid95598.sln.docstates.suo
│ ├── UpgradeLog.XML
│ ├── _UpgradeReport_Files
│ │ ├── UpgradeReport.css
│ │ ├── UpgradeReport_Minus.gif
│ │ ├── UpgradeReport_Plus.gif
│ │ └── UpgradeReport.xslt
│ ├── WebService.sln
│ ├── WebService.sln.docstates.suo
│ ├── WebService.suo
│ └── WindowsFormsApplication1
│ ├── app.config
│ ├── bin
│ │ └── Debug
│ │ ├── WindowsFormsApplication1.exe
│ │ ├── WindowsFormsApplication1.exe.config
│ │ ├── WindowsFormsApplication1.pdb
│ │ ├── WindowsFormsApplication1.vshost.exe
│ │ ├── WindowsFormsApplication1.vshost.exe.config
│ │ └── WindowsFormsApplication1.vshost.exe.manifest
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── obj
│ │ └── x86
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── TempPE
│ │ │ ├── Service References.ServiceReference1.Reference.cs.dll
│ │ │ └── Web References.localhost.Reference.cs.dll
│ │ ├── WindowsFormsApp.csproj.FileListAbsolute.txt
│ │ ├── WindowsFormsApp.csproj.GenerateResource.Cache
│ │ ├── WindowsFormsApplication1.csproj.FileListAbsolute.txt
│ │ ├── WindowsFormsApplication1.csproj.GenerateResource.Cache
│ │ ├── WindowsFormsApplication1.csprojResolveAssemblyReference.cache
│ │ ├── WindowsFormsApplication1.exe
│ │ ├── WindowsFormsApplication1.Form1.resources
│ │ ├── WindowsFormsApplication1.pdb
│ │ └── WindowsFormsApplication1.Properties.Resources.resources
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Service References
│ │ └── ServiceReference1
│ │ ├── configuration91.svcinfo
│ │ ├── configuration.svcinfo
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── WebService1.disco
│ │ └── WebService1.wsdl
│ ├── WindowsFormsApp.csproj
│ └── WindowsFormsApp.csproj.user
└── 用前必读.txt
30 directories, 104 files