Hi Jeremy, and thanks for the information, i'm going to forward the original mail to the commons-dev mailing list. But if what you are saying is true, then I'm in real trouble with the code I'm currently writting.
I've already coded a full WSDL 2.0 mapping to UDDI using Woden, but now I need to map the information contained in the types extensibility elements. If I don't find a way to access this information I'll need to write my own woden-like parser which probably is an enormous task !! Is there a way to access, using woden, the raw XML-Schema type declaration ? This way I could inject this xml segment in an other XML Schema parser. Or perhaps there is a better way around.... Pierre -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Jeremy Hughes Envoyé : mardi 4 juillet 2006 12:41 À : [email protected] Objet : Re: TR: how to retrieve element information from XmlSchemaElement Pierre, sorry to take so long replying. The XmlSchema project is part of ws-commons. The mailing list for that is [email protected] - you can subscibe by emailing [EMAIL PROTECTED] I agree with the kind of thing you are asking however the attributes you wish to retrieve are 'extension attributes' - ie they're not in the schema namespace. I don't see any way in XmlSchema to set/get attributes that aren't in the schema namespace. So perhaps that is your requirement. Regards, Jeremy On 7/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi again, > > If no one have the answer to my previous post, I'll be glad if you could > point me to others mailing-list/support-group where I may get one. It's > impossible for me to ask Apache XMLSchema API implementers since there is no > ML on their project page. > > But I guess that if this XML Schema API was choosen for woden then someone on > this list should be able to provide me with information on the subject. > > Thanks in advance, > Pierre > > > -----Message d'origine----- > > De : CHATEL Pierre - MSY > > Envoyé : lundi 3 juillet 2006 12:01 > > À : '[email protected]' > > Objet : how to retrieve element information from XmlSchemaElement > > > > Hi List, > > > > I need to retrieve the value of some attribute defined in an xsd:element > > from the XML Schema section of a WSDL 2.0 file. I used the > > elementDeclaration.getContent() method but now I'm stuck with a > > XmlSchemaElement instance that I don't know how to use. I've read the API > > for XmlSchemaElement from ws-commons but that didn't give me any usefull > > information. > > > > So my question is: How to obtain the value of a named attribute (with is > > 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> > > > > > > > > Feel free to point me to other locations if it's not the right place to ask > > for help on the subject. > > > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
