Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » EStructuralFeature for the XSDSchema
EStructuralFeature for the XSDSchema [message #594825] Thu, 21 April 2005 16:48
Stanislav Spiridonov is currently offline Stanislav SpiridonovFriend
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: Tue Apr 23 12:09:59 GMT 2024

Powered by FUDForum. Page generated in 0.02593 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top