Documente Academic
Documente Profesional
Documente Cultură
Section: docInfo
Generated
on
At
Author
Repository
21/03/2013
10:12
eaDocX
Development
End
Page 1
WSDL Example
Page 2
WSDL Example
1 WSDL
pkg WSDL
WSDLnamespace
WSDLPackage1
WSDLnamespace
WSDLPackage2
WSDLnamespace
WSDLPackage3
+ SampleWSDLFile1
+ SampleWSDLFile2
+ SampleWSDLFile3
+ Types
+ Messages
+ Types
+ Messages
+ PortTypes
+ Messages
+ PortTypes
+ Bindings
+ PortTypes
+ Bindings
+ Services
+ Bindings
+ Services
+ Services
XSDschema
Schema
+ InPrm
+ OtPrm
Figure 1 : WSDL
1.1 WSDLPackage1
class Ov erv iew
TODO: Add your WSDL Types, Messages, Portypes, Binding and Services by dragging elements from the WSDL
toolbox. Double-click the packages below to navigate between the relevant diagrams.
You can automatically generate WSDLs from this model. Drag WSDL components from the toolbox onto this
diagram and specify which services should be exposed.
XSDschema
Types
+ InputParameters
Messages
PortTypes
Bindings
+ SampleInput
+ SamplePortTypeHTTP
+ SampleBindingHTTP
+ SampleOutput
+ SamplePortTypeSOAP
+ SampleBindingSOAP
Serv ices
+ SampleService
+ OutputParameters
WSDL
SampleWSDLFile1
SampleService
Figure 2 : Overview
Page 3
WSDL Example
WSDL - SampleWSDLFile1
1.1.1.1 Children
Name
Description
SampleService
1.1.2
Types
class Types
XSDcomplexType
InputParameters
XSDcomplexType
OutputParameters
XSDelement
+ externalElement :OtPrm
Figure 3 : Types
1.1.2.1 XSDcomplexType - InputParameters
1.1.2.2 XSDcomplexType - OutputParameters
1.1.2.2.1 Attributes
Attributes
Details
externalElement
Page 4
WSDL Example
Messages
class Messages
WSDLmessage
SampleInput
+
WSDLmessage
SampleOutput
InputParam :InputParameters
ResponseParam :OutputParameters
Figure 4 : Messages
WSDL Message
Description Attributes
SampleOutput
ResponseParam
SampleInput
InputParam
1.1.4
PortTypes
class PortTypes
WSDLportType
SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
Figure 5 : PortTypes
WSDL Port Type: SamplePortTypeSOAP
Page 5
WSDL Example
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
1.1.5
(out) Response:
SampleOutput
Bindings
class Bindings
WSDLportType
PortTypes::SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
PortTypes::SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
SamplePortTypeHTTP
SamplePortTypeSOAP
WSDLbinding
SampleBindingHTTP
WSDLbinding
SampleBindingSOAP
GetSampleHTTP(SampleInput, SampleOutput*)
tags
protocol = http
verb = GET
GetSampleSOAP(SampleInput, SampleOutput*)
tags
protocol = soap
style = document
transport = http://schemas.xmlsoap.org/soap/http
Figure 6 : Bindings
Page 6
WSDL Example
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Protocol: soap
Style: document
Transport: http://schemas.xmlsoap.org/soap/http
1.1.5.2 Class - WSDLbinding - SampleBindingHTTP
1.1.5.2.1 Methods
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
(out) Response:
SampleOutput
Protocol: http
Verb: GET
Page 7
WSDL Example
Services
TODO : Create additional services by dragging Service elements from the WSDL toolbox. You may
specify Service Ports for each Binding defined in the Bindings package.
WSDLbinding
Bindings::SampleBindingHTTP
WSDLbinding
Bindings::SampleBindingSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
GetSampleHTTP(SampleInput, SampleOutput*)
SamplePortHTTP
SamplePortSOAP
WSDLser...
SampleServ ice
Figure 7 : SampleService
WDSL Service
Description
SampleService
1.2 WSDLPackage2
class Ov erv iew
TODO: Add your WSDL Types, Messages, Portypes, Binding and Services by dragging elements from the WSDL
toolbox. Double-click the packages below to navigate between the relevant diagrams.
You can automatically generate WSDLs from this model. Drag WSDL components from the toolbox onto this
diagram and specify which services should be exposed.
Messages
PortTypes
Bindings
+ SampleInput
+ SamplePortTypeHTTP
+ SampleBindingHTTP
+ SampleOutput
+ SamplePortTypeSOAP
+ SampleBindingSOAP
WSDL
SampleWSDLFile2
SampleService
Serv ices
+ SampleService
Page 8
WSDL Example
WSDL - SampleWSDLFile2
1.2.1.1 Children
Name
Description
SampleService
1.2.2
Messages
class Messages
WSDLmessage
SampleInput
+
InputParam :InPrm
WSDLmessage
SampleOutput
+
ResponseParam :OtPrm
Figure 9 : Messages
WSDL Message
Description Attributes
SampleInput
InputParam
SampleOutput
ResponseParam
Page 9
WSDL Example
PortTypes
class PortTypes
WSDLportType
SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
Figure 10 : PortTypes
WSDL Port Type: SamplePortTypeSOAP
1.2.3.1.1 Methods
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
(out) Response:
SampleOutput
Page 10
WSDL Example
Bindings
class Bindings
WSDLportType
PortTypes::SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
PortTypes::SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
SamplePortTypeHTTP
SamplePortTypeSOAP
WSDLbinding
SampleBindingHTTP
WSDLbinding
SampleBindingSOAP
GetSampleHTTP(SampleInput, SampleOutput*)
tags
protocol = http
verb = GET
GetSampleSOAP(SampleInput, SampleOutput*)
tags
protocol = soap
style = document
transport = http://schemas.xmlsoap.org/soap/http
Figure 11 : Bindings
1.2.4.1 Class - WSDLbinding - SampleBindingSOAP
1.2.4.1.1 Methods
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Protocol: soap
Style: document
Transport: http://schemas.xmlsoap.org/soap/http
1.2.4.2 Class - WSDLbinding - SampleBindingHTTP
1.2.4.2.1 Methods
Methods
Details
Parameter Summary
Page 11
WSDL Example
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
(out) Response:
SampleOutput
Protocol: http
Verb: GET
1.2.5
Services
TODO : Create additional services by dragging Service elements from the WSDL toolbox. You may
specify Service Ports for each Binding defined in the Bindings package.
WSDLbinding
Bindings::SampleBindingHTTP
WSDLbinding
Bindings::SampleBindingSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
GetSampleHTTP(SampleInput, SampleOutput*)
SamplePortHTTP
SamplePortSOAP
WSDLser...
SampleServ ice
Figure 12 : SampleService
WDSL Service
Description
SampleService
Page 12
WSDL Example
1.3 WSDLPackage3
class Ov erv iew
TODO: Add your WSDL Types, Messages, Portypes, Binding and Services by dragging elements from the WSDL
toolbox. Double-click the packages below to navigate between the relevant diagrams.
You can automatically generate WSDLs from this model. Drag WSDL components from the toolbox onto this
diagram and specify which services should be exposed.
XSDschema
Types
Messages
+ InputParameters
PortTypes
Bindings
+ SampleInput
+ SamplePortTypeHTTP
+ SampleBindingHTTP
+ SampleOutput
+ SamplePortTypeSOAP
+ SampleBindingSOAP
Serv ices
+ SampleService
+ OutputParameters
WSDL
SampleWSDLFile3
SampleService
Figure 13 : Overview
1.3.1
WSDL - SampleWSDLFile3
1.3.1.1 Children
Name
Description
SampleService
1.3.2
Types
class Types
XSDcomplex...
InputParameters
XSDtopLevelElement
OutputParameters
XSDcomplex...
OutputParameters::
ComplexType1
Page 13
WSDL Example
Messages
class Messages
WSDLmessage
SampleInput
+
InputParam :InputParameters
WSDLmessage
SampleOutput
+
ResponseParam :OutputParameters
Figure 15 : Messages
WSDL Message
Description Attributes
SampleInput
InputParam
SampleOutput
ResponseParam
Page 14
WSDL Example
PortTypes
class PortTypes
WSDLportType
SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
Figure 16 : PortTypes
WSDL Port Type: SamplePortTypeSOAP
1.3.4.1.1 Methods
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
(out) Response:
SampleOutput
Page 15
WSDL Example
Bindings
class Bindings
WSDLportType
PortTypes::SamplePortTypeHTTP
+
GetSampleHTTP(SampleInput, SampleOutput*)
WSDLportType
PortTypes::SamplePortTypeSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
SamplePortTypeHTTP
SamplePortTypeSOAP
WSDLbinding
SampleBindingHTTP
WSDLbinding
SampleBindingSOAP
GetSampleHTTP(SampleInput, SampleOutput*)
tags
protocol = http
verb = GET
GetSampleSOAP(SampleInput, SampleOutput*)
tags
protocol = soap
style = document
transport = http://schemas.xmlsoap.org/soap/http
Figure 17 : Bindings
1.3.5.1 Class - WSDLbinding - SampleBindingSOAP
1.3.5.1.1 Methods
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleSOAP
(out) Response:
SampleOutput
Protocol: soap
Style: document
Transport: http://schemas.xmlsoap.org/soap/http
1.3.5.2 Class - WSDLbinding - SampleBindingHTTP
1.3.5.2.1 Methods
Methods
Details
Parameter Summary
Page 16
WSDL Example
Methods
Details
Parameter Summary
(in) Request: SampleInput
GetSampleHTTP
(out) Response:
SampleOutput
Protocol: http
Verb: GET
1.3.6
Services
TODO : Create additional services by dragging Service elements from the WSDL toolbox. You may
specify Service Ports for each Binding defined in the Bindings package.
WSDLbinding
Bindings::SampleBindingHTTP
WSDLbinding
Bindings::SampleBindingSOAP
+
GetSampleSOAP(SampleInput, SampleOutput*)
GetSampleHTTP(SampleInput, SampleOutput*)
SamplePortHTTP
SamplePortSOAP
WSDLser...
SampleServ ice
Figure 18 : SampleService
WDSL Service
Description
SampleService
1.4 Schema
class Schema
string
XSDsimple...
InPrm
string
XSDsimple...
OtPrm
Page 17
WSDL Example
XD Simple Types
Description
OtPrm
InPrm
End
Appendix A
It contains the following Word styles:
2 Heading 1
2.1 Heading 2
2.1.1 Heading 3
2.1.1.1 Heading 4
2.1.1.1.1 Heading 5
2.1.1.1.1.1
Heading 6
2.1.1.1.1.1.1 Heading 7
Style: Normal
Inline Bullet
1. Inline Numbered
Page 18
WSDL Example
Table Heading
Table text
Table bullet
1. Table List
No indent, no spacing
Matrix Title
Matrix Source
Heading
Matrix body
V small
Page 19
WSDL Example
Page 20
WSDL Example