Hi List,

I need to retrieve the value of some extension attribute defined in an 
xsd:element from the XML Schema section of a WSDL 2.0 file. 

I used the Woden apache project to parse the WSDL 2.0 file and was able to 
retrieve a XmlSchemaElement instance that I don't know how to use. I've read 
the API for XmlSchemaElement but that didn't give me any usefull information.

So my question is: How to obtain the value of a named extension attribute (with 
its QName for example) from a XmlSchemaElement instance ?

For example, in the following schema I would like to obtain the value of the 
"sawsdl:modelReference" attribute from the "OrderRequest" XmlSchemaElement 
instance.

<wsdl:types>
    <xs:schema targetNamespace="http://example.org/order#"; 
elementFormDefault="qualified">
      <xs:element name="OrderRequest"
        
sawsdl:modelReference="http://www.w3.org/2002/ws/sawsdl/spec/ontology/purchaseorder#OrderRequest";
        
sawsdl:liftingSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/mapping/Request2Ont.xslt";>
        <xs:complexType>

Thanks !

--
Pierre Chatel
THALES COMMUNICATIONS FRANCE
SC2 - Software Core for Computer-based systems
1-5, Avenue Carnot / BC4
91883 Massy CEDEX
Tel 01 69 75 30 57



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to