我爱Aspx >> Asp.Net >> Data Integrity in Web Services (转二)Data Integrity in Web Services (转二)
ough you can create any client you desire for the web service, in this example I have chosen to create a Windows Application. To do so, simply go to File->New Project and choose Windows Application. Drag and drop the items on the form to look something like the figure below.
Now choose Project->Add Web Referance and in the bottom left of this dialog box choose "Web Referances on Loacal Web Server". Choose the Web Service we created in step one, then click on OK.
Below is the event handler code for the two buttons of the application. The rest of the code required for the application should be autogenerated by the form builder. Also note you@#ll need to include the namespace of the web service in order to use the wrapper objects. It should look something like "using WindowsApplication1.localhost;", but you can find out the exact namespace from the Class View->localhost->PersonService. Look at the top of this code file and see what namespace VS.NET gave this wrapper.
Ҷƪл˵?
很老的文章了,不知道有人贴过没..[05-28]
一并给你回答吧:webservice , s..[05-28]
XML Web Service 基础 (转微软MS..[05-28]
实战Web服务[05-28]
Web Service描述语言 WSDL 详解(..[05-28]
Web Service描述语言 WSDL 详解(..[05-28]
Web Service——下一代的WWW[转..[05-28]
WEB服务有待实践的检验[转][05-28]
使用 UDDI 的 Web 服务描述和发现..[05-28]
使用 UDDI 的 Web 服务描述和发现..[05-28]
很老的文章了,不知道有人贴过没..[05-28]
浅谈SOAP (转)[05-28]
一并给你回答吧:webservice , s..[05-28]
XML Web Service 基础 (转微软MS..[05-28]
在运行时使用 UDDI (微软)[05-28]
实战Web服务[05-28]
WSDL文件详解(转贴)中[05-28]
WSDL文件详解(转贴)上[05-28]
Web Service描述语言 WSDL 详解(..[05-28]
Web Service描述语言 WSDL 详解(..[05-28]