B.2 Proposed Namespaces for the OSA WSDL

29.198-013GPPOpen Service Access (OSA) Application Programming Interface (API)Part 1: OverviewRelease 9TS

Namespaces are an important part of an XML Schema. They are used to qualify the source of a particular XML element.

There are several XML/SOAP/WSDL related Namespaces which are used within each of the WSDL documents. The Namespace Prefix and the associated Namespace are noted below.

xmlns:wsdl = ‘http://schemas.xmlsoap.org/wsdl/

xmlns:soap=’http://schemas.xmlsoap.org/wsdl/soap/

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

xmlns:xsd=’http://www.w3c.org/2001/XMLSchema

xmlns:addressing="http://www.w3.org/2005/08/addressing"

There are also OSA specific namespaces that are used within the OSA WSDL documents. The OSA related namespaces present within each WSDL document depends on the WSDL document and which WSDL documents it imports. The guidelines used to derive these namespaces are:

The root namespace for the OSA WSDL and XML schemas is http://www.csapi.org/

There is one WSDL document generated for each interface. The WSDL document will have the name of the UML component with the extension ‘.wsdl’ For each WSDL document generated the following additional namespaces will be included:

xmlns:<component name>=’http://www.csapi.org/<component name>/wsdl’

xmlns:<component name>xsd=’http://www.csapi.org/<component name>/schema’

For each OSA WSDL document which is referenced by an import statement within the current WSDL document then the following additional namespaces will be included.

xmlns:<imported component name>=’http://www.csapi.org/<imported component name>/wsdl’

xmlns:<imported component name>xsd=’http://www.csapi.org/<imported component name>/schema’

  • Attributes that require a QName value shall use the appropriate Namespace Prefix (as defined in the definitions element of the wsdl file) to qualify the element being referenced.

The namespaces are defined within the ‘definitions’ element of a wsdl document. For example, the definitions element of the am_logical.wsdl document would look like:

<definitions

name=’am_logical’

targetNamespace=’http://www.csapi.org/am/wsdl’

xmlns=’http://schemas.xmlsoap.org/wsdl/’

xmlns:wsdl=’http://schemas.xmlsoap.org/wsdl/’

xmlns:soap=’http://schemas.xmlsoap.org/wsdl/soap/’

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

xmlns:xsd=’http://www.w3.org/2001/XMLSchema’

xmlns:addressing="http://www.w3.org/2005/08/addressing"

xmlns:am=’http://www.csapi.org/am/wsdl’

xmlns:amxsd=’http://www.csapi.org/am/schema’

xmlns:osa=’http://www.csapi.org/osa/wsdl’

xmlns:osaxsd=’http://www.csapi.org/osa/schema’>

<import namespace=’http://www.csapi.org/osa/wsdl’

location=’osa_logical.wsdl’ />