Hi everyone, I'm newbie here. Is anyone here how to make "simpleType" in SOAP/XML. All I know how to create "complexType", but I'm just trying to create the different "enumeration" element with a "restriction" under the "simpleType".

Thanks in Advance.

Hello everyone, Here is the output that i want to create from the SERVER/WSDL.
------------------------------------------------------

<simpleType name="MovieTrailers">
   <xsd:restriction base="xsd:string">
   <xsd:enumeration value="movie1"/> 
   <xsd:enumeration value="movie2"/>
   <xsd:enumeration value="movie3"/>
   <xsd:enumeration value="movie4"/>
   <xsd:enumeration value="movie5"/>
   <xsd:enumeration value="movie6"/>
   <xsd:enumeration value="movie7"/>
</xsd:restriction>
</simpleType>

------------------------------------------------------

Thanks in advance. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.