• Aucun résultat trouvé

[PDF] Introduction programmation web les services | Cours Informatique

N/A
N/A
Protected

Academic year: 2021

Partager "[PDF] Introduction programmation web les services | Cours Informatique"

Copied!
171
0
0

Texte intégral

(1)
(2)

!

!

(3)

"

!

!

!

# $

$

%

&

'

(4)

(

# $

# $

$

$

!

"

!

#

$

%

&

'

(

)

*

+

(,

),

*

'

-.

/

( 0 0

*

"

( 0 0

'

, 1 '

000*

(5)

)

# $

# $

$

$

2

/

3

/

!

-

$

4 54

!

6

!

0

(6)

*

# $

# $

$

$

!

%

0

7

%

&

8

8

#

8

000

%

9

&

-- :

9

000

(7)

+

# $

# $

$

$

,

' - .

$

/

$

$

.

(8)

0

# $

# $

$

$

;

2

;

&

2

2

$

<

=

3

9

>

0

(9)

1

# $

# $

$

$

.

>

>

0

-

!

! !

&

&

9

7 +

!

&

9

!

0

(10)

2

%

&

%

&

'

)

>

?

! &

9 (-

2-6 ' @'+*

(-AA B

C

0*

(

*

-!

7

$

(11)

%

&

%

&

>

%

&

, 1 1 "

$ -

@'+

(

*

9

9

(

*

>

;

0

>

%

9

(

!

*

(12)

%

&

%

&

&

0

-

%

!

!

>

$

&

$

;

, 1 1 "

>

(13)

"

'

'

9

>

0

>

1 -" +"

, 1 1 "

$

$

% 3 3 '

(14)

(

'

'

, 1 1 "

!

(

, 1 ' *

(

/

*

!

!

(

)

9

9 *

D '

D '

(15)

)

'

'

>

!

0

'

4

$

$

5

% 3

.

6

&

$

$

.

(16)

*

'

'

>

!

0

"

>

>

,

$

,

$ 7 8

9 '. 7 9

.

7 :. ; 7 < 9 '

5

7 8

=% 3 3 '>

(17)

+

!

!

!

% 3

; ?

-5

$

(18)

0

% 3

% 3

7

, 1 '

9

$

0

, 1 '

$

9

0

-%

, 1 '

&

$ $-

= !

>7

4

=?

>

?

$ $ 8

-

7

$

-

-

7

&

$&

$

$

$ =$

--7 -@

$ $

>

$

=

$

&

$-

>

(19)

1

% 3

% 3

"

, 1 '

!

&

<H2>Bibliographie XML</H2> <UL>

<LI> Jean-Christophe Bernadac et François Knab, <I>Construire une application XML</I>, Paris, Eyrolles, 1999</LI>

<LI> Alain Michard, <I>XML, Langage et Applications</I>, Paris, Eyrolles, 1998 </LI>

<LI> William J. Pardi, <I>XML en Action</I>, Paris, Microsoft Press, 1999, adapté de l'anglais par James Guerin</LI>

(20)

2

% 3

% 3

E

!

, 1 '

(

*

!

F

&

G, 5H

G , 5H

5

G. H

G . H

G +H

G +H

G+H

G +H

!

0

(21)

% 3

% 3

!

, 1 '

&

A

B

)-

4

I

3

J

-D '

"

7 %

KL L L

'

D '

"

7 %

KL LM

B 0 "

D '

"

'

"

KL LL

F

B

8

(22)

% 3

% 3

1

F

, 1 '

$

$

F

0 @

$

:

(

*

! 0

!

F

'

F

F

D '

KLLM

F$

7 %

$ "

0

(23)

"

; ?

-; ?

-F

D '

F

, 1 '

(

!

*0

"

D '

, 1 '

8 ' (

8

N

' C

*

0

)$)

, 1 '

&

!

!

F

$

%

21 2 (2

1 %

2

*0

(

D ' *

(

%

-

D

*0

-

B

C

$-

$

D$

$

$

(24)

(

; ?

-; ?

-D '

3

(

*

&

O

P

P

O -

!

9

7 !

!

D '

!

9

0

-)

!

0

!

(+6 @ -

1 ! *

(

B

C

!

:

9

*

(25)

)

; ?

-; ?

-Q

/

D '

E F G H @2 H G H ; 00)1 HFI E A A ; 4 A < J . 3 G H HI E A ; ; K A 5G H1+0 2 12 0 1H , 5# G H- H 4 A < J . 3 G H HI E , 4 3 % ; 9 I E L 9 3 5, J I < . E ML 9 3 5, J I E , 3 5, J I A E M , 3 5, J I E M, 4 3 % ; 9 I E , 4 3 % ; 9 I E L 9 3 5, J I L N E ML 9 3 5, J I E , 3 5, J I K E M , 3 5, J I E M, 4 3 % ; 9 I E 3 3 J I . E M3 3 J I E '4 A % J 9 I E 5, J I J 6 E M5, J I E ' , . J I ' E M' , . J I E M'4 A % J 9 I E :, 3 J '4 A I 111E M:, 3 J '4 A I E MA ; ; K I

(26)

*

; ?

-; ?

-Q

/

D ' (

*

E A ; ; K A 5G H1+0 2 12 ) 1H , 5# G H- H 4 A < J . 3 G H $ $ HI E , 4 3 % ; 9 I E L 9 3 5, J I , E ML 9 3 5, J I E , 3 5, J I E M , 3 5, J I E M, 4 3 % ; 9 I E 3 3 J I 7 , E M3 3 J I E '4 A % J 9 I E 5, J I J 6 E M5, J I E ' , . J I ' E M' , . J I E M'4 A % J 9 I E :, 3 J '4 A I 110E M:, 3 J '4 A I E MA ; ; K I E A ; ; K A 5G H1+0 0(2 0 )*0)H , 5# G H- H 4 A < J . 3 G H HI E , 4 3 % ; 9 I E L 9 3 5, J I < @E ML 9 3 5, J I E , 3 5, J I ' E M , 3 5, J I E M, 4 3 % ; 9 I E 3 9 , 5 , 3 ; 9 '9 J L G H $ D HI E L 9 3 5, J I < E ML 9 3 5, J I E , 3 5, J I # E M , 3 5, J I E M3 9 , 5 , 3 ; 9 I E 3 3 J I , E M3 3 J I E '4 A % J 9 I E 5, J I - ' E M5, J I E ' , . J I ' E M' , . J I E M'4 A % J 9 I E :, 3 J '4 A I 111E M:, 3 J '4 A I E MA ; ; K I E MA A ; I

(27)

+

; ?

-; ?

-+

0 6

0

"

!

F

R

R

(

R

R*

(

R

R*

F

0

6

(

° + 4 E*

/

FR

R

$ F

/

0

(28)

0

; ?

-; ?

-/

D '

'

+

7 !

S (

F

F

% *

F

(

R)R

RAR

*

(29)

1

=

=

>

>

F

D '

(

000*0

+

21 2 (

*

D ' 0

2

!

! 21 2

(

!

!

*0

(D '

*

T- (

9 D ' K0U*

9

D ' 0

$

!

F

0

(30)

"2

=

=

>

>

&

O $

21 2

/

(

00*

$

D '

D '

(31)

"

=

=

>

>

E

KV B

KLLL

$ &

& > > > 0> T 0

1 @ KLLL @7 -)!

)

)KL L L UKKV

.

$ F

F

F

F

G7

2 2

!

WF. 21 2 +

RH

7 !

F

!

G

WR

> > > 0

0

RH

!

G7

2 2

!

&"

! WF. 21 2 +

RH

7 !

F

!

G

WR

> > > 0

0

RH

0000

G

H

" ! . @+ (. @ + * % $ 0

(32)

"

$

$

D '

3

0

21 2

D '

D '

%

9

9

$

B

D '

(33)

""

$

$

9

21 2

&

21 2

D '

!

D '

26 '

D

/

0

21 2

F

!

!

0

21 2 F

F

%

9

0

(34)

"(

$

$

-

=

T-D '

0

- 3

21 2 D '

21 2

.

%

0 2

! %

%

!

0

2

%

%

0

F

0

F

0 -F

F

D '

0

0

F

/

0

.

(35)

")

$

$

D '

5 ' 5UUK

$ &

& > > > 0> T 0

1 @ 5UUK @7 -)!

)U)5UUKUSU5 ("

U& "

*

& > > > 0> T 0

1 @ 5UUK @7 -)!

)K)5UUKUSU5 ("

K&

*

& > > > 0> T 0

1 @ 5UUK @7 -)!

)5)5UUKUSU5 ("

5&

2

%

*

(36)

"*

$

$

7 !

21 2

GX7 7 '7 E1

(1

2

+ 4 E 7

*H

GX7 7 '7 E1 1

(Y "-2 1 *H

GX7 7 '7 E1

(Y "-2 1 *H

GX7 7 '7 E1 2

(Y "-2 1 *H

GX7 7 '7 E1 + 4 E (Y "-2 1 *H

GX7 7 '7 E1 7

(Y "-2 1 *H

(37)

"+

$

$

G!

&

WR

RH

G!

&

!1 % H

G!

&

H

G!

&

WR 1

R

6

WRKR

!6

WRKR H

G!

&

WR

R

6

WRKR

!6

WRKR H

G!

&

WR2

R

6

WRKR

!6

WRKR H

G!

&

WR+ 4 ER

6

WRKR

!6

WRKR H

G!

&

WR 7

R

6

WRKR

!6

WRKR H

G !

&

H

G !

&

!1 % H

G !

&

H

G!

&

WR1

R % WR!

&

R H

G!

&

WR

R % WR!

&

R H

G!

&

WR2

R % WR!

&

R H

G!

&

WR+ 4 ER % WR!

&

R H

G!

&

WR7

R % WR!

&

R H

(38)

"0

$

$

D '

)

!

D '

9 $

9

"

!

D '

&

2

!

)

2

(39)

"1

!

!

!

7 !

&

F

7

&

= /

>

$

(40)

(2

7 !

&

F

7 !

&

F

>

/

9

1 "0

-

0 7

>

, 1 1 "

6

D '

% 9

9

(41)

(

7 !

&

F

7 !

&

F

+

>

+

$

D '

+

D '

+

$

+

9

!

!

)

9

(42)

(

7 !

&

F

7 !

&

F

+

9

.

9

0 6

0

.

9

/

9

!

(43)

("

7 !

&

F

7 !

&

F

=

$

>

&

+

&

:

#

E

:

&

E

!

<

Z

0

+

&

-

:

+

:

7

7

(44)

((

7 !

&

F

7 !

&

F

>

:

!

I

$

!

-

%

Z

0

( 0 0

*

! $

0

(45)

()

7

&

F

7

&

F

!

!

$

)

!

>

D '

, 1 1 "

'1 "0 +

/

$

)

!0

"

D '

>

9

!

% 9

0

(46)

(*

>

0

"

!

/

0

>

0

+

3

0

>

$

0

%

!

>

(47)

(+

>

$

' - .

,

$

/

$

$

.

(48)

(0

= /

>

= /

>

!

>

&

&

>

&

>

&

>

(49)

(1

= /

>

= /

>

!

>

.

(B 57 7

!

*

7 B 4

/

(

*

.

/

!

(50)

)2

7

K &

6

000

2

( 0 0

*

7

5 &

.

/

!

0

-. 22+0

7

T &

(. 22+*

0

(51)

)

7

V &

>

.

9

0

-0

7

S &

>

(

5*

7

[ &

-

0 7

0

(52)

)

,

2

@

2

2

L

"

F

F

I

(

2 *

"

,

2

)$)

(53)
(54)

)(

4

$?8

4

$?8

J ' " 9 ( 9 $ $ ) , * , + , 0 9 1 9 2 9

-

7 B 4

@'+

(55)

))

D '

&

; , ' P

; ?

,

'

"

++6 "

-

@'+)++6 "

7 B 4

: P

:

+2

-

+

B

7 B 4

4 :: P 4

:

7 :

6

- E

-

B E2+

7 B 4

(56)

)*

.

%

(

*0

!

(57)

)+

"

2

D '

:

"

D '

!

; , '

-(, %

1 ! 1

"

*

% 3 3 '

(58)

-)0

/

/

0

!

. 22+ &

2

4 ::

"

4 ::

6

2

9

. 22+0

.

$

!

. 22+0

(59)

)1

; , '

; , '

@#

$

I

#

-6

F

!

, 1 1 "

@

/

6 "

D '

&

$

9

I

#

6 "

@

9

/

7 !

9

@

6 " (

D ' *

(60)

*2

; , '

; , '

réseau

Service Requestor

Demandeur de service

Service Provider

Fournisseur de service

Client

Client

Serveur

Serveur

HTTP

HTTP

dispatcheur

dispatcheur

SOAP

SOAP

TOMCAT

TOMCAT

impl

impl

é

é

mentation

mentation

Requ

Requ

ê

ê

te SOAP

te SOAP

R

(61)

*

:

:

.

&

)

2

D '

&

9

2

2

(62)

*

:

:

5 %

2 &

2

2

2

"

. 22+

5 %

2

"

9 $

. @

2

0

2

2

;

0

(63)

*"

,

4 ::

,

4 ::

@#

F

I

2

7

-@

/

( 6 "*

'

F

(64)

*(

-$

'

,

4 ::

$

; , '

:

:

(65)

*)

$

(66)

-**

; , '

:

!

4 ::

; , '

; , '

:

:

!

4 ::

!

4 ::

(67)

*+

; , '

:

!

4 ::

; , '

; , '

:

:

!

4 ::

!

4 ::

; , '7 !

&

F

%

&

; , '

,

&

/ $

,

&

/ $

(68)

*0

; , '7 !

&

F

; , '7 !

&

F

6 "

0

+

9

!

/ )

%

@"- (@

"

- *0

+

F

$

, 1 1 "

0

+

F

$

% 9

F !

$

F

)

/

F

F

6 "0

(69)

*1

; , '7 !

&

F

; , '7 !

&

F

"

9

F

&

% 0

6

$ F

% 9

0

(

:

9

$

!

*

F

%

(

*0

Q

B

&

]^

7

% 2

(

% E

*_

(70)

+2

; , '7 !

&

F

; , '7 !

&

F

6 "

&

$

/

( 0 0

*

B

!

/

$

(

*

/

6 "

9

0

/

6 "

0

+

9

F

F

6 " (

*

0

-

&

(71)

+

; , '7 !

&

F

; , '7 !

&

F

;

)

/

!

&

.

6

0

B

$

B 24 -

6

0

B

1

0

9 $

B

F

6 " (

6 "

B

*

, 1 1 " "6 1 0

, 1 1 "

1 -" +"0

!

0 +

Q 4

$

!

1

C '

6 "

/

6 "

3 0

(72)

+

; , '7 !

&

F

; , '7 !

&

F

&

E

N

#

Q 4

1

C

'

6 " (

2 F

6 "*

, 1 1 "

-

0 2

2

, 1 1 " -

%

$

+

7 !

0 2

#

$

C

6 "

"

D '

%

6 "0 2

6 "

B

D

0

(73)

+"

; , '7 !

&

F

; , '7 !

&

F

/

)$)

9

C

!

&

!

B

2

(

@'+

>

9

!

*

B

(74)

+(

; , '7 !

&

F

; , '7 !

&

F

-6 @4

6 "

&

%

!

)

6 "

$

>

&

-

!

%

0

9

!

-

++6 " (

-

*

F

9

!

>

9

+

6 "

D '

9

!0 -6 @4

++6 "

(

*

(-2@ -

2

@

*0

(75)

+)

%

&

%

&

MU & -6 @4

2-6 '

+2

I

-

% 9

D ' )@"- (KLLL*

'

D '

7

(, 1 1 ")"6 1 *

"

!

%

0

(76)

+*

-"

4

D '

0

-

(, 1 1 "

'1 "

`*

+

(>

>

!

`*

!

4

#

> T ( 6 " K05*0

(77)

++

"

%

D '

!

0

6 "

6 "

J

; , '

&

$

!

& !

&

$

(78)

+0

' 9

@"- &

'

@

'

@

!

7

%

&

1

!

7

`

9

D '

!

(

000*

(79)

+1

.

&

%

& , 1 1 "

%

& '1 " B '

`

8

( 6 " I

*

7 /

( 6 " ,

* &

)

/

(

0*0

.

> T

( 6 " K05*

Q

!

0

(80)

02

; , '

$

; , '

$

<soap:Envelope

xmlns:soap=http://www.w3.org/2001/12/soap-envelope

soap:encodingStyle=http://www.w3.org/2001/12/soap-encoding>

<soap:Header>

Q

</soap:Header>

<soap:Body>

Q

<soap:Fault>

Q

</soap:Fault>

</soap:Body>

</soap:Envelope>

(81)

0

; , '

$

; , '

$

.

6 "

D '

0

D '

/

F

D ' ( )$) 0

F

$

21 2

D ' *0

F

6 "

F

6 "

&

.

D ' (

*

.

7

6 " ( F

*

&

.

7 ) /

6 " (

*

. -

6 "

(82)

0

; , '

; , '

.

@"-

6 "

/

0

-

F

F

B

&

+

(

1 2

*_

(83)

0"

; , '

; , '

Q

!

/

6 "

&

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<SOAP-ENV:Envelope

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>

<ns1:doubleAnInteger

xmlns:ns1="urn:MySoapServices">

<param1 xsi:type="xsd:int">123</param1>

</ns1:doubleAnInteger>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

(84)

0(

; , '

; , '

Q

!

6 "

&

<?xml version="1.0" encoding="UTF-8" ?>

<SOAP-ENV:Envelope

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>

<ns1:doubleAnIntegerResponse

xmlns:ns1="urn:MySoapServices"

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<return xsi:type="xsd:int">246</return>

</ns1:doubleAnIntegerResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

(85)

0)

; , '

; , '

D '

D ' G?!

WRK0UR

WR. 1 I)MR ?H

D '

F

9

D ' 0

(86)

0*

; , '

!

; , '

!

F7

6 " G 6 ")7 EQ &7

000 H

/

F

%

F

(

&

0!

0

*0

-F

0

F7

6 "

0

6 "

$

( )$)

F

6 "

/

!

)$)

*0 E

N

6 ")7

E-0

(87)

0+

; , '

!

C

; , '

!

C

+

F%

( ) / * 6 "

!

0

) /

6 "

%

F

0

F

6 "

/

6 "

!

6 "

3

0

(88)

00

; , '

; , '

6 " 4

% (

* G 6 ")7 EQ &4

%H

F

) /

) /

G K&

+

000 H (

/

R@

R

*0

3

%

&'%

F

(

>

F

$ F. @

(89)

01

; , '

; , '

$

F

9

!

G

K 000 H

9

/

/

!

2

F%

F

9

(

*0 7

G

H

(90)

12

; , '

$

; , '

$

F

6 "

$

9

!

0

-

9

D '

$

%

(

:

9

000*

!

!) 0

Q %

$

6 "

%

9

!

0

(91)

1

; , '

$

; , '

$

2

F

7

% 2

0

2

(

% *

3

:

9

$

!

&

F

%

2

G

H

%

! (

* $

&

(92)

1

; , '

$

; , '

$

Q

!

/

6 "

&

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<SOAP-ENV:Envelope

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>

<ns1:getEmployeeDetails

xmlns:ns1="urn:MySoapServices">

<param1 xsi:type="xsd:int">1016577</param1>

</ns1:getEmployeeDetails>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

(93)

1"

; , '

$

; , '

$

Q

!

/

6 "

&

<?xml version="1.0" encoding="UTF-8" ?>

<SOAP-ENV:Envelope

xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/1999/XMLSchema"

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<ns1:getEmployeeDetailsResponse

xmlns:ns1="urn:MySoapServices"

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<return

xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"

xsi:type="ns2:Array"

ns2:arrayType="xsd:string[2]">

<item xsi:type="xsd:string">Bill Posters</item>

<item xsi:type="xsd:string">+1-212-7370194</item>

</return>

</ns1:getEmployeeDetailsResponse>

</SOAP-ENV:Body>

(94)

1(

6

9 '.

:; .

6

9 '.

:; .

%

@"-"

9

%

2

%

26

-7

$

(7 !&

2

*0

"

!

7

0E

(95)

1)

6

, 6

6

, 6

&

%

, 1 1 "0

"

(

?*

"

& 7

%

'1 " B '

`

E )

8

(7 !

% 6

*

(96)

1*

,

&

/ $

,

&

/ $

%

/

6 ")D '

/

, 1 1 "0

2

/

, 1 1 "

6 ")D ' 0

2

#

6 "

F

, 1 1 "

C

6 "

0

E

C

6 " ( %

F. @

9

*0

F

C

F

/

6 "0 +

/

, 1 1 "

F

%

$ F. @

0

(97)

1+

,

&

/ $

,

&

/ $

E

3

/

, 1 1 "

6 "0

E

/

C

6 "

!

F

/

F

)$)

C

, 1 1 "

!

6 "

6 "

F

0

-$ F

0

(98)

10

,

&

/ $

,

&

/ $

C

6 " (K*0

6 "

C

6 "

/

6 "

F

$ F

, 1 1 " (5*0 F

, 1 1 "

6 "

/

, 1 1 "

F

6 " (T*0

3

F

, 1 1 "

6 "(V*_

!

6 "

6 " (S*0

6 "

([*

F

(K*0

(99)

11

,

&

/ $

,

&

/ $

+

!

)

C

6 "

>

#

9

)

C

6 "

#

>

0

2

3

/

>

6 " (

%

!

. E+D

B

!

6 "

B

*

/

%

F

)

F

!

F

C

6 "

$

)

0 -F

F

6 "0

(100)

2 2

,

&

/ $

,

&

/ $

-F

9

!

F

R

R (

!

*0 E

F

) /

0

C

6 "

/

3

#

0

F

F !

>

(

F

6 "

#

*0

/

$

. @ ( F. @

6 "* $

(

)

6 "*0

6 "

F !

D ' )

6 "

/

, 1 1 "

(

9

*

F

0

, 1 1 "

%

0

(101)

2

,

&

/ $

,

&

/ $

F

>

3

/

, 1 1 "

-

6 "

$ F. @

6 "(K*

$

6 " (5*0

6 "

6 "

, 1 1 "

C

!

F

(T

V* F

)$)

9

0 .

!)

6 "

(S

[*

(a

M*

, 1 1 "

/

, 1 1 " (L*

$

6 " (KU*

(102)

2

; , '

:

!

4 ::

; , '

; , '

:

:

!

4 ::

!

4 ::

' $

J

(103)

2 "

' $

' $

.

&

)

2

D '

&

9

2

2

(104)

2 (

' $

' $

5 %

2 &

2

2

2

"

. 22+

5 %

2

"

9 $

. @

2

0

2

2

;

0

(105)

2 )

.

2

0

--

&

b

$

%

$

000

(106)

2 *

2

2

[

0

9

!

;

0 6 %

&

%

%

3

!

9

$

!

0 6 %

&

(107)

2 +

9

&

'

6

.

%

0

'

.

(

/

/

*

'

"

6

.

%

0

'

(

3

%

$

(108)

2 0

!

9

$

!

&

'

)

.

$

'

*

.

!

(109)

2 1

J

"

#

9

B

&

import java.util.*;

public interface CompteInterface {

public void depotDe(int montant);

public boolean retraitDe(int montant);

public int valeurDuSolde();

public Vector listeMouvements();

}

(110)

2

'

6

.

%

0 "

!

'

Q

0 E

%

&

<wsdl:types>

<schema targetNamespace="http://xml.apache.org/xml-soap"

xmlns="http://www.w3.org/2001/XMLSchema">

<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />

<complexType name="Vector">

<sequence>

<element

maxOccurs="unbounded" minOccurs="0" name="item"

type="xsd:anyType" />

</sequence>

</complexType>

</schema>

</wsdl:types>

,

&

7

!

&

$

6 @

6

-: @

% % 2 . %

(111)

'

.

(

0 0

/

, 1 1 "

0 0

, 1 1 "*0

"

!

'

!

(

*0 E

!

&

<wsdl:message name="listeMouvementsRequest" />

<wsdl:message name="listeMouvementsResponse">

<wsdl:part name="listeMouvementsReturn" type="apachesoap:Vector" />

</wsdl:message>

(112)

'

!

!

0

2

!

&

<wsdl:message name="listeMouvementsRequest" /> + <wsdl:message name="depotDeRequest">

<wsdl:part name="in0" type="xsd:int" /> </wsdl:message>

+ <wsdl:message name="listeMouvementsResponse">

<wsdl:part name="listeMouvementsReturn" type="apachesoap:Vector" /> </wsdl:message>

+ <wsdl:message name="valeurDuSoldeResponse">

<wsdl:part name="valeurDuSoldeReturn" type="xsd:int" /> </wsdl:message>

<wsdl:message name="depotDeResponse" />

<wsdl:message name="valeurDuSoldeRequest" /> + <wsdl:message name="retraitDeResponse">

<wsdl:part name="retraitDeReturn" type="xsd:boolean" /> </wsdl:message>

+ <wsdl:message name="retraitDeRequest">

<wsdl:part name="in0" type="xsd:int" /> </wsdl:message>

(113)

"

'

"

6

.

%

0 6

( 0 0

B

2 *0 .

(

* $

0 "

!

!

0

7

!

'

!

&

<wsdl:operation name="listeMouvements">

<wsdl:input message="impl:listeMouvementsRequest"

name="listeMouvementsRequest" />

<wsdl:output message="impl:listeMouvementsResponse"

name="listeMouvementsResponse" />

</wsdl:operation>

(114)

(

'

"

6

"

!

%

-V

! V

B

&

<wsdl:portType name="Compte">

+ <wsdl:operation name="depotDe" parameterOrder="in0">

<wsdl:input message="impl:depotDeRequest" name="depotDeRequest" /> <wsdl:output message="impl:depotDeResponse" name="depotDeResponse" /> </wsdl:operation>

+ <wsdl:operation name="retraitDe" parameterOrder="in0">

<wsdl:input message="impl:retraitDeRequest" name="retraitDeRequest" /> <wsdl:output message="impl:retraitDeResponse" name="retraitDeResponse" /> </wsdl:operation> + <wsdl:operation name="valeurDuSolde"> <wsdl:input message="impl:valeurDuSoldeRequestR name="valeurDuSoldeRequest" /> <wsdl:output message="impl:valeurDuSoldeResponseR name="valeurDuSoldeResponse" /> </wsdl:operation> - <wsdl:operation name="listeMouvements"> <wsdl:input message="impl:listeMouvementsRequest" name="listeMouvementsRequest" /> <wsdl:output message="impl:listeMouvementsResponseR name="listeMouvementsResponse" /> </wsdl:operation> </wsdl:portType> % . 9

(115)

)

'

(

.

3

%

(

0 0

*

;

(, 1 1 "

!

*

(@"-

!

*0

-0

"

%

(@"-

*

(, 1 1 "

*

0

-!

0

"

(

2

9

!*

0

(116)

*

'

(

<wsdl:binding name="CompteServiceBobSoapBinding" type="impl:Compte">

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />

<wsdl:operation name="depotDe">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="depotDeRequest">

<wsdlsoap:body

encodingStyle=

http://schemas.xmlsoap.org/soap/encoding/

namespace="http://localhost:8080/axis/services/CompteServiceBob"

use="encoded" />

</wsdl:input>

<wsdl:output name="depotDeResponse">

<wsdlsoap:body

encodingStyle=

http://schemas.xmlsoap.org/soap/encoding/

namespace=

http://localhost:8080/axis/services/CompteServiceBob

use="encoded" />

</wsdl:output>

</wsdl:operation>

...

</wsdl:operation>

% % " / (- ! * $ ; 0 6 / 0 6 ' % 0

(117)

+

'

)

.

. @

$

0

$

<wsdl:port binding="impl:CompteServiceBobSoapBinding "name="CompteServiceBob">

<wsdlsoap:address location="http://localhost:8080/axis/services/CompteServiceBob" />

</wsdl:port>

" - / (- ! * $ ; 0 6 ! 0

(118)

0

'

*

.

!

<wsdl:service name="CompteService">

<wsdl:port binding="impl:CompteServiceBobSoapBinding" name="CompteServiceBob">

<wsdlsoap:address location="http://localhost:8080/axis/services/CompteServiceBob" />

</wsdl:port>

</wsdl:service>

(119)

1

; , '

:

!

4 ::

; , '

; , '

:

:

!

4 ::

!

4 ::

4 :: 7

$

4 :: 7

-

$

!

-

$

--

&

4

4 ::

(120)

2

4 :: 7

$

4 :: 7

$

. 22+ (.

2

2

%

+

*

'

+4 '

/

6

-

, " +

"

0

!

;

. 22+

(121)

4 :: 7

$

4 :: 7

$

. 22+

&

. 22+

$

. 22+

%

4 54

9

('

+4 '

* $

(122)

4 :: 7

$

4 :: 7

$

2

/

&

!

"

"+ 6 "

. 22+

!

0

/

(123)

"

4 :: 7

$

4 :: 7

$

. 22+

6 "

/

6 "

(

; , '

&

"

; , '

:

; , '

; , '

(124)

(

4 :: 7

$

4 :: 7

$

. 22+

&

'

7

&

!

'

?

7

2

%

0

0

'

7

(125)

)

4 :: 7

4 :: 7

9

. 22+

S

D ' &

4

7

%

&

4

&

4

1

&

( 0 0

*

'

&

9

(

2 *

&

!

(126)

*

-

$

!

-

$

!

4

7

%

0 6 %

!

&

%

%

(127)

+

-

$

!

-

$

!

D '

4

7

%

&

+ ( * 0 . 0 -! (U00O* .

(128)

0

-

$

-

$

4

0 6

%

!

&

9 0

(129)

1

-4

1

!

0

+

&

!

'

;

(

+

*

.

9

(130)

"2

-D '

4

1

&

' " 4 1 " " 9 (. @ *

(131)

"

-

&

-

&

.

'

9

%

;

0

.

'

2

&

%

'

:

%

0

-

+2

-

B

(132)

"

-

&

-

&

'

. 22+

&

'

%

0

9

4

1

'

0

6

/

"+ B

"

!

'

"

4

1

/

'

(133)

""

-

&

-

&

D '

'

&

' (. @ * + ( * 0 . 0 -! 0

(134)

"(

-"

9

;

!

0

-

#

2 9 2 ! 9 2 %

(135)

")

6

-6

-J

6

%

4

/

0

.

A

0 "

%

4

1

0

.

A

3

9

3

;

0

.

) /

(136)

"*

6

(137)

-"+

4

4 ::

4

4 ::

. 22+

&

>

>

>

(138)

"0

'

'

(

*

"

!

&

(

9

*

$

%

2

(

!

*

(139)

"1

'

'

"

. 22+

!

&

5S

4 ::

0

+

>

5S

4 ::

;

9

5S

4 ::

!

!

5S

$ 4 ::

)

% 9

(140)

(2

:$

:$

&

;

0

/

3

&

'

(

!

*

2

2

!

;

0

(141)

(

:

:

9

0

"

2

/

6 " (

*

"+

6 "

6 "

(142)

(

, '

4 ::

, '

4 ::

+

!

! "+

. 22+

"+

-

$

. 22+0 1

;

"+

"+

"

0 -

"+

9

!

!

(143)

("

3 $

$ -

T

@

@

U

find_binding: Used to locate specific bindings within a registered businessService. Returns

a bindingDetail message.

find_business: Used to locate information about one or more businesses. Returns a

businessList message.

find_relatedBusinesses: Used to locate information about businessEntity registrations that

are related to a specific business entity whose key is passed in the inquiry. The Related Businesses feature is used to manage registration of business units and subsequently relate them based on organizational hierarchies or business partner relationships. Returns a

relatedBusinessesList message.

find_service: Used to locate specific services within a registered businessEntity. Returns a

serviceList message.

find_tModel: Used to locate one or more tModel information structures. Returns a tModelList

structure.

get_bindingDetail: Used to get full bindingTemplate information suitable for making one or

more service requests. Returns a bindingDetail message.

get_businessDetail: Used to get the full businessEntity information for one or more

businesses or organizations. Returns a businessDetail message.

get_businessDetailExt: Used to get extended businessEntity information. Returns a

businessDetailExt message.

get_serviceDetail: Used to get full details for a given set of registered businessService

data. Returns a serviceDetail message.

get_tModelDetail: Used to get full details for a given set of registered tModel data.

Returns a tModelDetail message.

, '

!

(144)

((

3 $

$ -

T

@

@

U

add_publisherAssertions: Used to add relationship assertions to the existing set of

assertions.

delete_binding: Used to remove an existing bindingTemplate from the bindingTemplates

collection that is part of a specified businessService structure.

delete_business: Used to delete registered businessEntity information from the registry.

delete_publisherAssertions: Used to delete specific publisher assertions from the assertion

collection controlled by a particular publisher account. Deleting assertions from the assertioncollection will affect the visibility of business relationships. Deleting an assertion will cause any relationships based on that assertion to be invalidated.

delete_service: Used to delete an existing businessService from the businessServices

collection that is part of a specified businessEntity.

delete_tModel: Used to hide registered information about a tModel. Any tModel hidden in this

way is still usable for reference purposes and accessible via the get_tModelDetail message, but is simply hidden from find_tModel result sets. There is no way to actually cause a

tModel to be deleted, except by administrative petition.

discard_authToken: Used to inform an Operator Site that a previously provided authentication

token is no longer valid and should be considered invalid if used after this message is received and until such time as an authToken value is recycled or reactivated at an operator's discretion. See get_authToken.

, '

(145)

()

3 $

$ -

T

@

@

U

get_assertionStatusReport: Used to get a status report containing publisher assertions and

status information. This report is useful to help an administrator manage active and tentative publisher assertions. Publisher assertions are used in UDDI to manage publicly visible relationships between businessEntity structures. Relationships are a feature introduced in generic 2.0 that help manage complex business structures that require more than one businessEntity or more than one publisher account to manage parts of a

businessEntity. Returns an assertionStatusReport that includes the status of all assertions made involving any businessEntity controlled by the requesting publisher account.

get_authToken: Used to request an authentication token from an Operator Site. Authentication

tokens are required when using all other API!s defined in the publishers API. This function

serves as the program's equivalent of a login request.

get_publisherAssertions: Used to get a list of active publisher assertions that are

controlled by an individual publisher account. Returns a publisherAssertions message

containing all publisher assertions associated with a specific publisher account. Publisher assertions are used to control publicly visible business relationships.

get_registeredInfo: Used to request an abbreviated synopsis of all information currently

managed by a given individual.

, '

(146)

(*

3 $

$ -

T

@

@

U

save_binding: Used to register new bindingTemplate information or update existing

bindingTemplate information. Use this to control information about technical capabilities exposed by a registered business.

save_business: Used to register new businessEntity information or update existing

businessEntity information. Use this to control the overall information about the entire

business. Of the save_xx API!s this one has the broadest effect. In UDDI V2, a feature is

introduced where save_business can be used to reference a businessService that is parented by another businessEntity.

save_service: Used to register or update complete information about a businessService

exposed by a specified businessEntity.

save_tModel: Used to register or update complete information about a tModel.

set_publisherAssertions: (UDDI V2 and later) P used to save the complete set of publisher

assertions for an individual publisher account. Replaces any existing assertions, and causes any old assertions that are not reasserted to be removed from the registry. Publisher

assertions are used to control publicly visible business relationships.

, '

(147)

(+

$

$

$

$

(148)

(0

8

$

$

$

$

$

$

$

$

(149)

(1

8

$

$

8

$

$

-$

2-6 ' -6 @4

7 2+

$

@

E

D '

)

0

$

!

$

0

7

!

>

D '

0

(150)

)2

8

$

$

8

$

$

2

0 -

&

+

-@

2

!

(151)

)

8

$

$

8

$

$

-

-+

0

$

3

/

!

0 2

+

0

(152)

)

8

$

$

8

$

$

,

$

$

0 2

$

%

0

!

0 2

% 9

0

(153)

)"

8

$

$

8

$

$

.

-

$

$

$

.

0

0 2

0

$

0

(154)

)(

8

$

$

8

$

$

:$-

$

$ $

-!

!

0 "

%

0 E

%

9

%

9

0

(155)

))

$

$

$

$

!

$

>

&

D '

J

6

%

%

D '

,

(

%

' C

*

, .

(7 !

-

' C

*

#

9 $

K

(D ' J % '

*

$

(156)

)*

$

$

$

$

=

>

7

D '

D '

&

0

D '

$

/

$

Z

\

[ $ KM

0 .

D '

/

%

0 "

D '

/

/

9

D ' 0 D '

T-5UU50

(157)

)+

$

$

$

$

J

6

=. --

>

1

$ D '

D '

D '

D '

0

D ' 7

%

%

!

"

( %

!

D ' *

D '

$

9

T-0

(158)

)0

$

$

$

$

,

=

6 ,

B

>

'

!

0

- 3

!

!

0

(159)

)1

$

$

$

$

, .

=J

,

.

B

>

6

+

D -'

#

9

0

D -'

#

9

/

%

(

)

$)

$

9

*0

(160)

*2

$

$

$

$

K

=

K 6

>

$

$

0

T-

+7 1 I

D J '

9

0

D J'

D ) @

D )J+

%

+

!

$

0

-)

0

(161)

*

@5J 3

< J J

@5J 3

@5J 3

< J J

< J J

(162)

*

' $

,

.

@5J 3

< J J

@5J 3

@5J 3

< J J

< J J

(163)

*"

' $

' $

N '

0E7 1 0

&

"0E7 1

, 1 1 "

++

% 9

9

-6 'A

/

>

(

I

*

6 "

'

6 "

>

++

9

0

-/

$

9

(164)

*(

' $

' $

Q

$

0

>

!% (

%

"+

*

-Y

/

Q 4 0E7 1

-

0E7 1

(165)

*)

,

,

(166)

**

.

.

0E7 1

&

-"

+

!

$

'

&

E

0

.

9

)

0

(167)

*+

' $

,

.

@5J 3

< J J

@5J 3

@5J 3

< J J

< J J

(168)

*0

' $

' $

)

B 57 7

$

$

(

$

*

"

)

B 57 7

"+

&

< , '

& B

"+

D ' "

9

D '

E

D 26 '

D

1

< , A

& B

D ' 4

B

D '

< ,

& B

"+

D ' '

B

6 " K0K

9

< , 9 '.

& B

"+

D '

@"-B

6 "

@"-< , 9

& B

"+

D ' @

9

%

D ' (. 22+

D '

000*

Références

Documents relatifs

diminuer la demande excédentaire. Pour Hicks, la question est de savoir si l‟on peut généraliser ce résultat au cas d‟une économie à n biens. Il va donc chercher à

Dans les plus petites communes, son utilité est très largement contestée tandis que la quasi-totalité des élus des communes de plus de 800 habitants l’estiment indispensable ou du

L'Année du Maghreb est mis à disposition selon les termes de la Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions

À l’aide des données issues d’une enquête ethnographique et par collecte de récits de vie, conduite en France et en Belgique, auprès de cette typologie de couple,

ّروحلما يناثلا ّ ةيجيتارتسلاا ةيرئازجلا ام ءاج يف روحلما لولاا نم تايطعم نع اذه ملاعلا ا ي ضارتفلا يذلا لودلا تزجع ةمدقتلما ىلع فوس ،هتهجاوم هطقسأ

(*) Version revue, corrigée et augmentée d’un article publié sous le titre : « La parole du Marocain dans le roman de voyage colonial ou la mise en récit d’une

Si la lisibilité et la rigueur de ces prises de position laissent parfois à désirer, elles partagent avec certains représentants des études décoloniales [5] des ignorances, plus

Sur les voies du pèlerinage et depuis les postes-frontière avec l’Iran et la ville irakienne de Bassora, située à 500 km plus au sud, des dizaines de milliers