Hi David,
Following is the XML string returned from the Web Service:
<SellOffers> <SellOffer> <seed>101</seed> <PostSellID>SellID123</PostSellID> <UserName>Aka123</UserName> <ItemTitle> Item title 1</ItemTitle> <Unit> 10</Unit>" <Packing></Packing> <Price>On Request</Price> <Quantity>On Request</Quantity> <ImagePath>...</ImagePath> <Desc>Description..</Desc> </SellOffer> <SellOffer> <seed>102</seed> <PostSellID>SellID124</PostSellID> <UserName>ndf323</UserName> <ItemTitle> Item title 2</ItemTitle> <Unit> 10</Unit>" <Packing></Packing> <Price>On Request</Price> <Quantity>On Request</Quantity> <ImagePath>...</ImagePath> <Desc>Description..</Desc> </SellOffer></SellOffers>
and following is the .xsd file :
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="SellOffers"> <xs:complexType> <xs:sequence> <xs:element ref="SellOffer" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="SellOffer" type="SellOfferDetail"/> <xs:complexType name="SellOfferDetail"> <xs:complexContent mixed="true"> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:element name="ROWNUM" type="xs:long" minOccurs="0"/> <xs:element name="seed" type="xs:int" minOccurs="0"/> <xs:element name="PostSellID" type="xs:string" minOccurs="0"/> <xs:element name="UserName" type="xs:string" minOccurs="0"/> <xs:element name="ItemTitle" type="xs:string" minOccurs="0"/> <xs:element name="Unit" type="xs:string" minOccurs="0"/> <xs:element name="Packing" type="xs:string" minOccurs="0"/> <xs:element name="Price" type="xs:string" minOccurs="0"/> <xs:element name="Quantity" type="xs:string" minOccurs="0"/> <xs:element name="ImagePath" type="xs:string" minOccurs="0"/> <xs:element name="Desc" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:schema>
I have checked both for validation & found no error for this. Now this is appeared as displayed in below image:
This I Imported using Import XML Data Structure by Example (as when I used Import WSDL it gave me failed alert, actually I tried to attach the .xsd file) as displayed in the below screen shot:
Thanks
Ashish
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign