://schemas.xmlsoap.org/wsdl/soap/">

58  Download (0)

Full text

(1)
(2)
(3)
(4)

Klaus Schild, © 2006 4

!

"

#

$$%&'($)*( $ +

,#

-.%/

$$%&%- $

! -.%&0

1

(2

34&5 !

1 (2

<definitions xmlns="

http

http

://

://

schemas.xmlsoap.org

schemas.xmlsoap.org

/

/

wsdl/"

wsdl

xmlns:soap="

http

http

://

://

schemas.xmlsoap.org

schemas.xmlsoap.org

/

/

wsdl

wsdl

/

/

soap/">

soap

</definitions>

34"

#"

-.%"

#"

#

(5)

Klaus Schild, © 2006 5

!!"# !

$

+

(2 &.

5/ !

6 1 #8 6 $

9

:

%1

;

+

(2 &.

8 &*

6 1 #8

5 !6

. <

7 = "

.

6

$$%&'($

.

6

% 6

>*4?18

*

@ 4

(6)

Klaus Schild, © 2006 6

%& $

!

'

("

)

http://webservices.amazon.

de/onca/xml

de

?

Service=

Service

AWSECommerceService

AWSECommerceService

&

AWSAccessKeyId=...

AWSAccessKeyId

&

Operation=

Operation

ItemSearch

ItemSearch

&

SearchIndex=

SearchIndex

Books

Books

&

Title=

Title

Harry+Potter

Harry+Potter

(7)

Klaus Schild, © 2006 7

(8)

Klaus Schild, © 2006 8

(9)

-Klaus Schild, © 2006 9

2 $

(10)

Klaus Schild, © 2006 10

3

+

.

4

55555

http://webservices.amazon.

de/onca/xml

de

?

Service=

Service

AWSECommerceService

AWSECommerceService

&

AWSAccessKeyId=...

AWSAccessKeyId

&

Operation=

Operation

ItemLookup

ItemLookup

&

ItemId=

ItemId

3551566666

3551566666

&

ResponseGroup=

ResponseGroup

Reviews

Reviews

&ReviewPage=10

(11)

Klaus Schild, © 2006 11

+

!

+

!

#

#

*( $

*( $

&

&

. ! ?

. ! ?

8

)

8

,BBB+

C8

&* 1

1

8

/

>*<

8

8

5 A

1

! *

D

&* 1

! *

1

8!

!/

>*< 8

8

8

(12)

Klaus Schild, © 2006 12

+

!

$6

2

/

http://webservices.amazon.

de/onca/xml

de

?

Service=

Service

AWSECommerceService

AWSECommerceService

&

AWSAccessKeyId=...

AWSAccessKeyId

&

Operation=

Operation

ItemLookup

ItemLookup

&

ItemId=

ItemId

3551566666

3551566666

&

ResponseGroup=

ResponseGroup

Reviews

Reviews

&ReviewPage=10

8 &*

= "

D

&* 1

D

>*4

(13)

Klaus Schild, © 2006 13

7

%& $

!

'

("

)

(14)

Klaus Schild, © 2006 14

(15)

-Klaus Schild, © 2006 15

(16)

-Klaus Schild, © 2006 16

(17)

Klaus Schild, © 2006 17

(18)

-Klaus Schild, © 2006 18

(19)

-Klaus Schild, © 2006 19

(20)

Klaus Schild, © 2006 20

(21)

Klaus Schild, © 2006 21

(22)

Klaus Schild, © 2006 22

(23)

Klaus Schild, © 2006 23

2 $

(24)

Klaus Schild, © 2006 24

2 $

! ?1 16 6

-.%"

#"

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

<faultcodefaultcode>SOAP-ENV:MustUnderstand</faultcodefaultcode> <faultstringfaultstring>SOAP Must Understand Error</faultstringfaultstring> </SOAP-ENV:FaultFault>

</SOAP-ENV:Body> </SOAP-ENV:Envelope>

(25)

Klaus Schild, © 2006 25

+

!

$6

2

/

6

8 A ! 8 86 *( $&'

8

( 8A ? )>*4+ D

http://soap.amazon.com/onca/soap?Service=AWSECommerceService

8 &*

= "

D

&* 1

F

>*4

8 A ! * &'

8

(26)

Klaus Schild, © 2006 26

5

(27)

Klaus Schild, © 2006 27

0 < 0,%

$

.

"

#

! %1 1A# 6 1 #

8

8

,#

! $$%&'($&5 8

6 ,

%1

@ 4)

8

! -.%+

/ ?

(28)

Klaus Schild, © 2006 28

;

.

?

! 6 8

7 !

&

8?

/

! 6 8

16

!

&

: G8

! 6 8

6

%1 66

1 8

!

(29)

Klaus Schild, © 2006 29

= :

$ "

<service name="AWSECommerceService"> …

<port name="AWSECommerceServicePortDEAWSECommerceServicePortDE"

binding="tns:AWSECommerceServiceBinding"> <soap:address location="http://soap.amazon.dede/…"/> </port>

(30)

Klaus Schild, © 2006 30

(31)

Klaus Schild, © 2006 31

0

:

$ %

<binding name="AWSECommerceServiceRestBindingAWSECommerceServiceRestBinding"

type="tns:AWSECommerceServicePortTypetns:AWSECommerceServicePortType"> <

<http:bindinghttp:binding verb="GETverb="GET"/>"/> … </binding>

8

8 :A&.

!

1 8 5 8

7 6

* !

H

H

! A

! A

8

8

DI

DI

'($

'($

I

I

JK

JK

6

8 5 8

1!

8

(32)

Klaus Schild, © 2006 32

0

:

$ %

<binding name="AWSECommerceServiceRestBinding" type="tns:AWSECommerceServicePortType"> <http:binding verb="GET"/> … <operation name="ItemSearch"> <

<http:operationhttp:operation location="xmllocation="xml"/>"/> <input> < <http:urlEncodedhttp:urlEncoded/>/> </input> <output> <mime:mimeXml/> </output> </operation> … </binding>

/xml

8

( 8A ?

!

?part1=value&…

8

!

!

Endpunkt/xml?part1=value&…

(33)

Klaus Schild, © 2006 33

%

9

http://webservices.amazon.com/onca/xml

?Service=AWSECommerceService

&AWSAccessKeyId=...

&Operation=ItemSearch

&SearchIndex=Books

&Title=Harry+Potter

<http:operation location="xml"/>

( 8A ?

<http:urlEncoded/>

(34)

Klaus Schild, © 2006 34

$

-;

http://webservices.amazon.com/onca/xml/AWSECS/

ItemSearch

ItemSearch

?Service=AWSECommerceService

&AWSAccessKeyId=...

&Operation=ItemSearch

&SearchIndex=Books

&Title=Harry+Potter

<http:operation location="

ItemSearch"/>

ItemSearch

( 8A ?

(35)

Klaus Schild, © 2006 35

0

.

<binding name="AWSECommerceServiceRestBinding" type="tns:AWSECommerceServicePortType"> <http:binding verb="GET"/> … <operation name="ItemSearch"> <http:operation location="xml"/> <input> <http:urlEncoded/> </input> <output> < <mime:mimeXmlmime:mimeXml/>/> </output> </operation> … </binding>

.

1

@ 4L !

-.%

(36)

Klaus Schild, © 2006 36

(37)

Klaus Schild, © 2006 37

*

$

"

<port name="AWSECommerceServiceRestPort"

binding="tns:AWSECommerceServiceRestBindingtns:AWSECommerceServiceRestBinding">

<http:address location="httphttp://://webservices.amazon.comwebservices.amazon.com//oncaonca"/> </port>

<port name="AWSECommerceServiceRestPortDE"

binding="tns:AWSECommerceServiceRestBindingtns:AWSECommerceServiceRestBinding"> <http:address location="httphttp://://webservices.amazon.dewebservices.amazon.de//oncaonca"/> </port>

(38)

Klaus Schild, © 2006 38

?$ 91

@A ; 99B C

<binding name="AWSECommerceServiceRestBinding" type="tns:AWSECommerceServicePortType"> <http:binding verb="GET"/> … <operation name="ItemSearch"> <http:operation location="xml"/> <input> < <http:urlEncodedhttp:urlEncoded/>/> </input> <output> <mime:mimeXml/> </output> </operation> … </binding>

?part1=value&…

8

!

!

part1, partn

C

part

M7 6 8

?

(

! ! )6

+ 1

ItemSearch

(39)

Klaus Schild, © 2006 39

9

D

(/

<message name="

ItemSearchRequestMsg">

ItemSearchRequestMsg

<part name="

body

body

" element="tns:ItemSearch"/>

</message>

<portType name="AWSECommerceServicePortType">

<operation name="

ItemSearch">

ItemSearch

<

<

input

input

message="tns:ItemSearchRequestMsg

message="tns:ItemSearchRequestMsg

"/>

"/>

<output message="tns:ItemSearchResponseMsg"/>

</operation>

(40)

Klaus Schild, © 2006 40

E

6

$

$/

part

M7 6 8 (

! ! 1

ItemSearch

18:

>*4D

http://webservices.amazon.com/onca/xml?

body

body

=value

1

#5# 1

!

http://webservices.amazon.com/onca/xml

?Service=AWSECommerceService

&AWSAccessKeyId=...

&Operation=ItemSearch

&SearchIndex=Books

&Title=Harry+Potter

(41)

Klaus Schild, © 2006 41

*

$

$

"

/

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="bodybody" element="tns:ItemSearchtns:ItemSearch"/> </message>

http://webservices.amazon.com/onca/xml?body=

value

value

(42)

Klaus Schild, © 2006 42

ItemSearch

<xs:element name="ItemSearchItemSearch"> <xs:complexType>

<xs:sequence>

<xs:element name="MarketplaceDomain" type="xs:string" minOccurs="0"/> <xs:element name="AWSAccessKeyId" type="xs:string" minOccurs="0"/> <xs:element name="SubscriptionId" type="xs:string" minOccurs="0"/>

</xs:sequence> </xs:complexType> </xs:element>

http://webservices.amazon.com/onca/xml?body=

value

value

(43)

Klaus Schild, © 2006 43

0 *

$

"

/

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="bodybody" element="tns:ItemSearchtns:ItemSearch"/> </message>

<xs:element name="ItemSearchItemSearch"> <xs:complexType>

<xs:sequence>

<xs:element name="MarketplaceDomain" type="xs:string" minOccurs="0"/> <xs:element name="AWSAccessKeyId" type="xs:string" minOccurs="0"/> <xs:element name="SubscriptionId" type="xs:string" minOccurs="0"/>

… </xs:sequence> </xs:complexType> </xs:element>

(

part

/

% 6

(44)

Klaus Schild, © 2006 44

=.

>

$/

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="bodybody" element="tns:ItemSearchtns:ItemSearch"/> </message>

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="ServiceService" type="tns:AWSECS-String"/> <part name="OperationOperation" type="tns:ItemSearch-String"/> <part name="MarketplaceDomainMarketplaceDomain" type="xs:string"/> <part name="AWSAccessKeyIdAWSAccessKeyId" type="xs:string"/> <part name="SubscriptionIdSubscriptionId" type="xs:string" />

… </message>

E

1!

8&

( 6

(45)

Klaus Schild, © 2006 45

0

1

$

$

/

http://webservices.amazon.com/onca/xml/

?

Service

Service

=AWSECommerceService

=

&

Operation

Operation

=ItemSearch

=ItemSearch

&

MarketplaceDomain

MarketplaceDomain

=

=

string

string

&

AWSAccessKeyId=string

AWSAccessKeyId

&

SubscriptionId=string

SubscriptionId

(46)

Klaus Schild, © 2006 46

*

$

.

"

/

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="ServiceService" type="tns:AWSECS-String"/> <part name="OperationOperation" type="tns:ItemSearch-String"/> <part name="MarketplaceDomainMarketplaceDomain" type="xs:string"/> <part name="AWSAccessKeyIdAWSAccessKeyId" type="xs:string"/> <part name="SubscriptionIdSubscriptionId" type="xs:string" />

… </message>

http://webservices.amazon.com/onca/xml/

?

Service

Service

=AWSECommerceService

=

&

Operation

Operation

=ItemSearch

=ItemSearch

&

MarketplaceDomain

MarketplaceDomain

=

=

string

string

&

AWSAccessKeyId=string

AWSAccessKeyId

&

SubscriptionId=string

SubscriptionId

8

% 6

#5# 1

(47)

Klaus Schild, © 2006 47

<

part

9

$ C

.

1 ' !

!E

! !

!'

8L

6 8

5 8

8

(2 &

34

!

!

8E

<message name="ItemSearchRequestMsgItemSearchRequestMsg">

<part name="ServiceService" type="tns:AWSECS-String"/> <part name="OperationOperation" type="tns:ItemSearch-String"/> <part name="MarketplaceDomainMarketplaceDomain" type="xs:string"/> <part name="AWSAccessKeyIdAWSAccessKeyId" type="xs:string"/> <part name="SubscriptionIdSubscriptionId" type="xs:string" />

… </message>

(48)

Klaus Schild, © 2006 48

(49)

-Klaus Schild, © 2006 49

F

-34

"

#

11A

1

1A1 :A 1

8

#

,#

11A

1

1

8

1A1 :A #

=#

1

8

11A

1

1A1 :A #

N#

1

8

1A1 :A 11A

1 #

#

1A1 :A 11A

1

1

8

#

(50)

Klaus Schild, © 2006 50

< 0,

;

Ports

Ports

Bindings

Bindings

PortTypes

PortTypes

Operations

Operations

SOAP/HTTP POST SOAP/SMTP GoogleSearchPort doGoogleSearch doSpellingSuggestion doGetCachedPage

Service

Service

http://… http://… mailto: HTML/HTTP GET http://…

(51)

Klaus Schild, © 2006 51

7F

-$! 1 :A 1

34

6

1 A 6

"

#

%

!&

L1

&

A1 L1 :LA8 #

,#

71 :LA

!&

L1 &

:L1

#

=#

8&

L 8L

L

&

8#

N#

1

L1 :L1 &

:L O

&

A1 #

#

71

1 L O

&

A1 L1

&

A1 L1 &

(52)

Klaus Schild, © 2006 52

G

;

G

;

<operation name="…"> <input message="…"/> </operation>

(

)1

:+

.

&.

1 ) O

&

A1 +

5

! !

) 1

1 +

5

! !

&.

1

) 1

&

A1 +

<operation name="…"> <input message="…"/> <output message="…"/> </operation> <operation name="…"> <output message="…"/> </operation> <operation name="…"> <output message="…"/> <input message="…"/> </operation>

(53)

Klaus Schild, © 2006 53

3

(54)

Klaus Schild, © 2006 54

3

3

-

1

!

-

1

!

" P

6 "

,BB

9 ;

$

< 16 ?

88 01

88 01

!

8

1

8 01

8

8

?

8

8 #

!

8

6 !

88

8 #

!

! 8 01

! A

8 1

?

L8

?

Q 8

1 !6

?

(55)

Klaus Schild, © 2006 55

3

3

?

!

RB

?

!

RB

,N

A 2!1

),N% ?

6 +

S

/! !

)

% ?

6 +

5 A

5 A

A

A

2!1

2!1

Q!

! 8

L8

8

1

8

.

A

! 66

?1 ? .

1 E

5 A

5 A

/

/

! !

! !

$:A !

6

6 @ 4218

.

1 ?

LQ 8

L(

8 218 #

-8 @ 4<

1

!6 L@ 4$.

#

(56)

Klaus Schild, © 2006 56

E

$

4,0 41 3,7 49,5 3,3 54 3,0 58,5 2,7 63 2,3 67,5 2,0 72 1,7 76,5 1.3 81 1,0 85,5 Note Punkte

(57)

Klaus Schild, © 2006 57

3

T .

6

< 16 1

&

8

3

!

& .

1

3

!18 (

!6

!

&

)

&+5/ ! L% A

#

&

8:

E

&

! 88 %/

L8/

8!1!!

! #

&

18

C8

* !LC8

%

E

&

8

8

!.

6

11

6

E

(58)

Klaus Schild, © 2006 58

0

. H /

T

U

Figure

Updating...

References