Professional Documents
Culture Documents
(WSIT)
Prof. Sangram Z. Gawali
Bharati Vidyapeeth University College of Engineering, Pune
gsangram@gmail.com
SOA and Web service protocols Note, however, that a system does not
Service-oriented architecture is often defined as necessarily need to use any or all of these
services exposed using the Web Services standards to be "service-oriented." For example,
Protocol Stack. The base level of Web services some service oriented systems have been
standards relevant to SOA includes the implemented using Cobra.
following:
Do not expose unsigned numerical data types in Avoid passing an array with null elements
Web services methods. Consider creating between Web services clients and servers. Do
wrapper methods to expose and transmit the data not expose unsigned numerical data types in
types. Take care when mapping XSD types to a Web services methods. Consider creating
value type in one language and to a reference wrapper methods to expose and transmit the data
type in another. Define a complex type to wrap types.
the value type and set the complex type to be
null to indicate a null value. Take care when mapping XSD types to a value
type in one language and to a reference type in
Since base URIs are not well-defined in WSDL another. Define a complex type to wrap the value
documents, avoid using relative URI references type and set the complex type to be null to
in namespace declarations. To avoid conflicts indicate a null value.
resulting from different naming conventions
among vendors, qualify each Web service with a Because base URIs are not well-defined in
unique domain name. Some tools offer custom WSDL documents, avoid using relative URI
mapping of namespaces to packages or provide references in namespace declarations. To avoid
refactoring of package names to resolve this conflicts resulting from different naming
problem. conventions among vendors, qualify each Web
service with a unique domain name. Some tools
Develop a comprehensive test suite for Web offer custom mapping of namespaces to
Services Interoperability Organization (WS-I) packages or provide re-factoring of package
conformance verification. names to resolve this problem.
Develop a comprehensive test suite for Web
Summary of best practices for Web Services Interoperability Organization (WS-I)
services interoperability conformance verification.
Design the XSD and WSDL first, and program .
against the schema and interface. If at all
possible, avoid using the RPC/encoded style. References
Wrap any weakly-typed collection objects with [1] J2EE Web Services by Richard Monson-
Haefel - Computers – 2003
simple arrays of concrete types as the signature [2] Extending Web Services Technologies: The
for Web service methods. Use of Multi-Agent Approaches - Page by
Lawrence (EDT) Cavedon - Computers - 2005
[3] Java Web Services by Dave Chappell, Tyler
Jewell - Computers - 2002