XSD Files Not Current

4 posts / 0 new
Last post
Anonymous

Update: The content in this post maybe out of date or inaccurate. Visit our Support Page

Any chance of updating the XSD file located at:

https://shrinktheweb.com/doc/stwresponse.xsd

to reflect the addition of CategoryCode and any other new fields?

Thanks

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Hi Koaladir,

We're workin' on it. Wink

Still haven't finished BETA testing and monitoring the newest codebase we've installed. Once we feel like there won't be any changes (by end of week), we will update the XSD file.

If I can get to it tonight and do it quickly, then I may knock it out in tonight's workload.

Cheers,

Brandon

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Ok, I've uploaded the revised XML schema file.

Please note that the "CategoryCode" section is in BETA and will become a PRO feature once out of BETA. This will be announced in our upcoming newsletter, but as you can probably tell from the response codes, it is a category designator that currently differentiates "Family" sites from "Adult" sites. This will make it easy to avoid showing questionable content.

The documentation for the new response codes (i.e. verified, etc) have not been released yet. We will announce in the newsletter when that documentation is ready. If you have a special project that requires the "rough draft" documentation, we will forward that to you.

Best regards,

Brandon

Anonymous

The new schema file worked great. I turned off strict schema validation so future changes won't hit my logs so heavily.

In case anybody asks if it is possible, I use JAXB to generate a parser for the Java 1.6 runtime from the supplied schema file:

xjc -d src -p com.stw.api https://shrinktheweb.com/doc/stwresponse.xsd

Has been working great for several months now, and should be just as easy to access your service with older Java run-time versions and/or axis.

Thanks for the fast update!

ShrinkTheWeb® (About STW) is another innovation by Neosys Consulting
Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

Announcing Javvy, the best crypto exchange and wallet solution (coming soon!)

©2018 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.