This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf3312?nav=1 at Sun, 06 Nov 2022 04:28:58 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  
Status  
Group: *
Status:* Closed
Category: *
Customer: *
Priority: * 3
Assigned To: * David Snelling
Reported in Release: *
Fixed in Release: *
Estimated Hours: * 0
Actual Hours: * 0
Comments
David Snelling: 09/26/2005 3:50 AM EST
  Action: Update
artifact_status changed from Open to Closed
close_date changed from - to 2005-09-26 09:50:57
Sam Meder: 02/03/2004 11:21 AM EST
  Comment:
I've talked to Thomas a bit about this and what our tool does is to generate a separate xsd document that lists all the types and also contains 
element defintions for each SDE (these are not being added to the schema in the wsdl document). The motivation for doing so was that at the time when 
the tool was written (not sure if it has changed) .NET tooling only had tools for understanding XML Schema documents and required that SDE type 
definition be wrapped by a element for that type to be generated.  Axis, which only requires the wsdl, does not have that wrapping requirement, so it 
was not necessary to add the element declaration to the wsdl types section. We should probably change the text to clarify this issue.
  Action: Update
David Snelling: 10/13/2003 6:10 AM EST
  Action: Create


 
 
 
< 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/go/artf3312?nav=1 at Sun, 06 Nov 2022 04:29:03 GMT