Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » EStructuralFeature for the XSDSchema
EStructuralFeature for the XSDSchema [message #594825] Thu, 21 April 2005 12:48
Stanislav Spiridonov is currently offline Stanislav Spiridonov
Messages: 1
Registered: July 2009
Junior Member
Can anybody say me the EStructuralFeature for the XSDSchema? I need to add
XSD type defenitions to WSDL, like this:

<wsdl:types>
<xsd:schema targetNamespace="http://namespaces.snowboard-info.com"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<xsd:element name="GetEndorsingBoarder">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="manufacturer" type="string"/>
<xsd:element name="model" type="string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>

So, I do

TTypes types = WsdlFactory.eINSTANCE.createTTypes();
XSDSchema xsdSchema = XSDFactory.eINSTANCE.createXSDSchema();
//Some code here
EStructuralFeature feature = ...;
types.getAny().add(feature, schema)

What I may use instead "..."?

Stas.
Previous Topic:How to check if a simple type is a restriction of a base type ?
Next Topic:Problem when casting a XSDTerm to a XSDElementDeclaration !!
Goto Forum:
  


Current Time: Sat Jul 26 09:24:29 EDT 2014

Powered by FUDForum. Page generated in 0.01467 seconds