HOW: ????? ????????? ?? ???? ?????? ???? ???? ??? Wsdl.exe ?????

?????? ????????? ?????? ?????????
???? ???????: 326790 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ???? "??? ??? ????? ???" (Wsdl.exe) ??? ?????? ?????? ??? ?? XML. ????? ????? ??????? ???? ??? ????????? ?? ??? ?????? ??????? ????? WSDL ???? ??? ????? ??? ?? XML. ??? ???? ?? ?? ???? ??????? ???? ?? ??????? ?? ????? ??? ??? ?????.

???? Wsdl.exe ?????? ????? ??? ???????? ???????? ??????? ?? ??? ??????. ?? ??? ???????? ?????? ?????? ????? ??? ????? ?????? ???? ?????? ????? ??? ???. ??? ???? ??????? ??? ??? ????? ArrayList ?? WebMethod ?? WSDL ??? ?? ???? XML (XSD) ???????. ??? ????? ?? ??? ????? ?????? ?? ??? ?????? Wsdl.exe Wsdl.exe ?? ???? ?????? ??? ???? ???? ?????? "???? ????". ?? ???? ????? ?? ArrayList, ????? ?? ????? ?????? ???? ?? ???????? ?? WebMethod. ??? ?? ??? ???? ??????? ??????? ???? ?? ??????? ????? ????? ????? ???? ?? ??????? ??? ????? ???? ???????. ?????? ??? ??? ?????? ???????, ???? ??? ????? ???? ????? ??? ??? ?????? ???? ?? ?????? ????? ????? ??????? ???? ?? ?????? ?????? ?? ?? ??????? ????? ??? ????? ?????? ???????.

????? ??????? ?????? ??????

?? ????? ?????? ??? ???? ??? XML ???? ??? ????? ?? ??????? ?????? ???????:
string DummyMethod(System.Collections.ArrayList intList)
				
???? ??????? Wsdl.exe ????? ??? ???? ??????.

????? ????????? ???????? ??????

  1. ??? ????? ?????? ?????? ?? ???? ??.
  2. ?????? ??? ???????:
            public string DummyMethod(object[] intList) {
                object[] results = this.Invoke("DummyMethod", new object[] {
                            intList});
                return ((string)(results[0]));
            }
    
            public System.IAsyncResult BeginDummyMethod(object[] intList, System.AsyncCallback callback, object asyncState) {
                return this.BeginInvoke("DummyMethod", new object[] {
                            intList}, callback, asyncState);
            }
    					
  3. ????? ????????? ???????? ???:
            public string DummyMethod(System.Collections.ArrayList intList) {
                object[] results = this.Invoke("DummyMethod", new object[] {
                            intList});
                return ((string)(results[0]));
            }
    
            public System.IAsyncResult BeginDummyMethod(System.Collections.ArrayList intList, System.AsyncCallback callback, object asyncState) {
                return this.BeginInvoke("DummyMethod", new object[] {
                            intList}, callback, asyncState);
            }
    					

?????? ?? ?????????

????? ??? XML ????? ???????? ??? XML ?? ????? ????? XML ??? ????????. ????? ???? ???? ????? ????? ???? ??? ???? ?????? ?? ????? ????? ???? ??? ?? ??? ?????. ??? ???? ??? ??? ?????? ????? ?????? ??? ?? ?? ????.



?????

?????? ??? ??????? ?????? ??? ????? ????? ????? ????? ?????? ????? ????? ?? ?????? ???? Microsoft ?????? ??? ?????:
XML ? SOAP ???????
http://msdn.microsoft.com/library/?url=/library/en-us/cpguide/html/cpconserialization.asp?frame=true


???????

???? ???????: 326790 - ????? ??? ??????: 26/???/1424 - ??????: 4.1
????? ???
  • Microsoft Web Services (included with the .NET Framework) 1.0
  • Microsoft Web Services Enhancements for Microsoft .NET 1.1
????? ??????: 
kbmt kbhowtomaster KB326790 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????326790
????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com