Hello,
Let us say that I have a schema or complex type like this one below:
Is there a way programtically or a tool to create sample XML file/data for
the schema?. I have number of such complex tpyer/schemas for which I need to
create sample XMLs so I thought of doing it programatically .. Any pointers
would be appreciated.
Thanks.
*************** *******
<xs:complexTy pe name="AddReques t">
<xs:annotatio n>
<xs:documentati on>
Add a group.
The response is either a SuccessResponse or an ErrorResponse.
</xs:documentatio n>
</xs:annotation>
<xs:complexCont ent>
<xs:extension base="Request">
<xs:sequence>
<xs:element name="servicePr oviderId" type="xs:string "/>
<xs:element name="groupId" type="xs:string "/>
<xs:element name="defaultDo main" type="xs:string "/>
<xs:element name="userLimit " type="xs:string "/>
<xs:element name="groupName " type="xs:string " minOccurs="0"/>
<xs:element name="callingLi neIdName" type="xs:string "
minOccurs="0"/>
<xs:element name="timeZone" type="xs:string " minOccurs="0"/>
<xs:element name="locationD ialingCode" type="xs:string "
minOccurs="0"/>
<xs:element name="contact" type="xs:string " minOccurs="0"/>
<xs:element name="address" type="xs:string " minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexConte nt>
</xs:complexType>
*************** *******