This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


■ I N T R O D U C I N G  W I N D O W S   C O M M U N I C AT I O N   F O U N D AT I O N 871



Download 21,46 Mb.
Pdf ko'rish
bet1669/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1665   1666   1667   1668   1669   1670   1671   1672   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

I N T R O D U C I N G  W I N D O W S   C O M M U N I C AT I O N   F O U N D AT I O N



871

8849CH25.qxd  10/16/07  10:51 AM  Page 871




At this point, your browser should launch, showing you the directory contents. Once you click

the HelloWorld.asmx file, you will see each “web method” exposed from this endpoint. At this point,

you can click the HelloWorld link to invoke the method via HTTP. Once you do, the browser will dis-

play the return value encoded as XML:



 

Hello World



 

Simple stuff, huh? Even better, when you wish to generate a client-side proxy file that can be

used to invoke web methods, you can make use of the wsdl.exe command-line tool or Visual

Studio’s Add Service Reference option under the Project menu. These same tools can be used to

generate a client-side *.config file, which contains various configuration settings for the proxy

(such as the web service endpoint) in a declarative manner. 

This proxy code will hide the details of manually working with HTTP connections and the

translation of XML data back into .NET data types. Assuming you have generated a proxy for this

simple web service (there is no need to do so here), the client application is able to invoke the web

method in a painfully simple manner, for example:

static void Main(string[] args)

{


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1665   1666   1667   1668   1669   1670   1671   1672   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish