This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf3312?nav=1&selectedTab=attachments at Sun, 06 Nov 2022 15:12:19 GMT SourceForge : artf3312: (474) Element defs not in translated WSDL

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Tracker
Project: OGSI-WG     Trackers > GWSDL to WSDL > View Artifact
Artifact artf3312 : (474) Element defs not in translated WSDL
Tracker: GWSDL to WSDL
Title: (474) Element defs not in translated WSDL
Description:
From the list:

The GWSDL to WSDL 1.1 transformation document states the
following regarding mapping of Service Data definitions
(from section 3.1.1)
"
c For each sd:serviceData element:
1) Create an xsd:element under the wsdl:definitions.
The name attribute value MUST the same as the
sd:serviceData name attribute value. The type attribute
value MUST be properly qualified. Either referencing the
targetNamespace of the wsdl:definitions element in which
the sd:serviceData is defined or if prefixed in the
wsdl:definitions element using that prefix. (Note: this may
be incomplete)
"
The examples include the following:
"
<!-- ?xml version="1.0" encoding="UTF-8"? -->
<wsdl:definitions name="OperatingSystem"
targetNamespace="http://www.gridforum.org/service/crm/OperatingSystem"
... stuff not shown for simplicity
<gwsdl:portType name="OperatingSystem"
extends="crm:BaseManageableResource">
<wsdl:operation name="reboot">
<wsdl:input message="rebootRequest"/>
<wsdl:output message="ResultResponse"/>
</wsdl:operation>
<wsdl:operation name="shutdown">
<wsdl:input message="shutdownRequest"/>
<wsdl:output message="ResultResponse"/>
</wsdl:operation>
<sd:serviceData name="OSType" type="OSTypeType" minOccurs="0"
maxOccurs="1" mutability="setOnce"
crm:valid="down starting up stopping failed">
</sd:serviceData>
<sd:serviceData name="freePhysicalMemory" type="crm:gauge"
minOccurs="0" maxOccurs="1" mutability="mutable"
crm:units="kilobytes"
crm:valid="starting up stopping failed"
crm:volatile="1">
</sd:serviceData>
</gwsdl:portType>
"
which maps to:
"
<!-- ?xml version="1.0" encoding="UTF-8"? -->
<wsdl:definitions name="OperatingSystem"
targetNamespace=http://www.gridforum.org/service/crm/OperatingSystem
... stuff not shown for simpliciy
<wsdl:types>
type section unchanged
</wsdl:types>
<!-- Flattened wsdl 1.1. portType for Operating System. -->
<wsdl:portType name="OperatingSystem">
... stuff removed for simplicity
</wsdl:portType>
<gwsdl:portType name="OperatingSystem"
extends="crm:BaseManageableResource">
gwsdl:portType unchanged
</gwsdl:portType>
</wsdl:definitions>
"
This seems incorrect, since there are not xsd:element defs
in the translated wsdl corresponding to the service data
definitions.
The text:
"
<wsdl:types>
type section unchanged
</wsdl:types>
"
seems wrong, in that the types section should include a
schema (with the same target namespace as the gwdl
definition the service data is defined in) which includes
these xsd: element definitions.
The example should be fixed and the translation text should
be clarified, such as:
"
c For each sd:serviceData element:
1) Create an xsd:element within a schema under the
wsdl types section. The target namespace for this schema
must be the same as the target namespace for the gwsdl
definition the service element definitions are mapped from.
. The name attribute value MUST the same as the
sd:serviceData name attribute value. The type attribute
value MUST be properly qualified. Either referencing the
targetNamespace of the wsdl:definitions element in which
the sd:serviceData is defined or if prefixed in the
wsdl:definitions element using that prefix.
"
Tom Rutt
Fujitsu
-- 
----------------------------------------------------
Tom Rutt		email: tom@coastin.com; trutt@fsw.fujitsu.com
Tel: +1 732 801 5744          Fax: +1 732 774 5133
.
Submitted By: David Snelling
Submitted On: 10/13/2003 6:10 AM EST
Last Modified: 09/26/2005 3:50 AM EST
Closed: 09/26/2005 3:50 AM EST

Status / Comments Change Log Associations Attachments  
File Name File Size Added By Added On
No results found.

 
 
 
< Previous
 
 
Next >
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf3312?nav=1&selectedTab=attachments at Sun, 06 Nov 2022 15:12:19 GMT