You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by Pi...@fr.thalesgroup.com on 2006/07/10 10:14:13 UTC

RE: [XML Schema Project] Any Help Please ??

Hi Ajith !

This would be a very useful feature, thanks for being so responsive ! Please get back to me as soon as you have something working. I'm forwarding this mail to the woden mailing-list.

Pierre

-----Message d'origine-----
De : Ajith Ranabahu [mailto:ajith.ranabahu@gmail.com]
Envoyé : samedi 8 juillet 2006 15:58
À : commons-dev@ws.apache.org
Objet : Re: [XML Schema Project] Any Help Please ??


Hi Pieere,
AFAIK there is no such feature that allows this. But it seems not very
difficult and I'll see what I can do over the weekend :)

Ajith

On 7/5/06, Pierre.CHATEL@fr.thalesgroup.com
<Pi...@fr.thalesgroup.com> wrote:
> Hi !
>
> Me again, I hope someone on this list is able to answer my question because there is not much information insise the XML Schema API and the tutorial is very light !
>
> So to sum up my first mail: "how to retrieve the value of an element extension attribute (not in the xsd namespace)?"
>
> Thanks,
> Pierre
>
> -----Message d'origine-----
> De : Pierre.CHATEL@fr.thalesgroup.com
> [mailto:Pierre.CHATEL@fr.thalesgroup.com]
> Envoyé : mardi 4 juillet 2006 13:45
> À : commons-dev@ws.apache.org
> Objet : [XML Schema Project] retrieve extension attribute value
>
>
> 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: commons-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: commons-dev-help@ws.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: commons-dev-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org