Hi there:

I'm trying to use soaplib (2.0.0-beta) to implement a set of web service
methods that respond in a specialized language called WaterML 1.0 (schema:
http://svn.sdsc.edu/repo/WATER/CUAHSI/WebServices/BaseWofService/WofSchemas/cuahsiTimeSeries_v1_0.xsd
)

There are several elements in WaterML that don't appear to have
corresponding soaplib Models.  For example, in the excerpt shown below the
"siteCode" element has attributes "siteID" and "network."  Does anyone know
how elements like this be modeled/serialized in soaplib? Perhaps an
extension of the String Model is the way to go, or is there something I
might be missing?

<siteInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="SiteInfoType">
             <siteName>Little Bear River at Mendon Road near Mendon,
Utah</siteName>
            <siteCode siteID="1" network="LBR">USU-LBR-Mendon</siteCode>

Thanks,
James
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to