Você está na página 1de 56

-

ristes@feit.ukim.edu.mk


- :

(
, ,
) -
.


,
.
Web Service v.s. Web Applicaton


URL .

URL .


.

XML HTTP
( )
()
.

.


WSDL Web Services Discription Language XML

(, , ...)

.
SOAP - Simple Object Access Protocol XML
XML
.
HTTP (XML
)
DISCO DISCOvery of web services
, .disco
URL
UDDI - Universal Description, Discovery, and Integration
(
Google )


UDDI
.
UDDI .disco url
.
.disco
.wsdl
.
,
SOAP .
SOAP Request ,
SOAP Response.

SOAP Request

SOAP Response
( return)


SOAP XML ,
SOAP.
XML HTTP.
SOAP ,
.NET Framework
Proxy.
Proxy,
,

Proxy.
Proxy
, , SOAP
.
Proxy
-.
Proxy .

Proxy
,
.
SOAP .

SOAP .

.

ASP.NET
ASP.NET
System.Web.Services (
Syste.Web.Page).
System.Web.Services
WDSL
, SOAP .
ASP.NET
WDSL SOAP
.

(
).

ASP.NET
.asmx ASP
( .aspx )
.cs
(
.aspx.cs ).

ASP.NET Web Service.
,
, .cs
App_Code.

BankarskiUslugi.asmx.

VratiKurs
,
.

http://www.youtube.com/watch?v=xx81GbOwX68

10

11

12

WebMethod
. ,
(
). Descripiton
.


BankarskiUslugi

HTML
VratiKurs BankarskiUslugi.

XML
.

18

BankarskiUslugi.asmx,
Konvertor

,
.

19

20


,

.
,
:

27

Custom objects
Enumerations
DataSet
XmlNode
Arrays
Collections

BankarskiUslugi.asmx,
Akcija Ime
Vrednost.
VratiAkcija
, Akcija.
Pad
Akcija, bool
.

28

29

30

31

32

33


URL .
: VS,
IIS VS
URL

http://localhost:3370/MP_AV12_KOD_WebService/Avtori.asmx
http://localhost:3934/MP_AV12_KOD_WebService/Avtori.asmx

URL .
: IIS .
http://www.youtube.com/watch?v=uUf7uYttQZY
http://www.youtube.com/watch?v=yQRy46O_5Qo
34

35

36

37

38

39

40

41

42

43

44

45


( )
Proxy.
Proxy
Web Reference .
,
Proxy.
Proxy
.

46

Web_Klient
BankarksiUslugiKlient.aspx.
,

BankarskiUslugi.asmx.

10 .

47

48

49

50

51

52

53

55

56

Você também pode gostar