Uploading Schema - Empty Schema Error
Hello!
I've gotten this schema from the browser, and the query returns valid data when run from the browser:
<xsd:schema targetNamespace="http://www.frevvo.com/database/LoadFromID">
<xsd:element name="LoadFromID">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="row">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="LastName" type="xsd:string"/>
<xsd:element minOccurs="0" name="FirstName" type="xsd:string"/>
<xsd:element minOccurs="0" name="MiddleName" type="xsd:string"/>
<xsd:element minOccurs="0" name="StudentID" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
When I attempt to load it, I get an error stating:
Error: empty schema /test.xsd
What do you think?
Thanks!
-
Your schema does not look correct. The first line usually looks something like this:
<xsd:schema xmlns="http://www.frevvo.com/database/allCustomers" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.frevvo.com/database/allCustomers">
What is your query URL (which runs correctly in the browser)? And what URL did you use to get the schema from this query URL?
0 -
Hello!
I'm attaching screenshots for both the query and the schema operations.
Thanks!
SchemaFromBrowser.PNG
QueryFromBrowser.PNG0 -
ALL GOOD!!!
Dunno why it didn't generate correctly, but all is well after I added the opening statement as indicated.
Thanks!!!
0
Please sign in to leave a comment.
Comments
3 comments