uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

28.3.2 Mapping of Java type of attachments and WSDL (wsi:swaRef format)

This subsection describes the rules for mapping the Java type of attachments to WSDL:

Rules for mapping the Java type of attachments to WSDL
  1. The Java type of attachments is mapped to swaRef type.
  2. The namespace of swaRef type is declared with the wsdl:definitions element.
  3. The namespace of swaRef type is imported with the XML Schema that specifies the swaRef type.

The following figure shows an example of mapping of Java type of attachments and WSDL. The numbers in 'Rules for mapping the Java type of attachments to WSDL' above correspond to the numbers in the following figure:

Figure 28-2 Example of mapping Java type of attachments to WSDL

[Figure]