CUAHSI / HydroClient

Generally available source code for the CUAHSI HydroClient Web Application
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

GetSites fails: TRMM_3B42_7 #98

Open Castronova opened 4 years ago

Castronova commented 4 years ago

Calling GetSites using ulmo and suds in Python fails:

TRMM_3B42_7: Type not found: 'queryInfo'
Schema:0x7fa0aec94e48
(raw)
   <s:schema elementFormDefault="qualified" targetNamespace="http://www.cuahsi.org/his/1.1/ws/">
      <s:import namespace="http://www.cuahsi.org/waterML/1.1/"/>
      <s:element name="GetSites">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="tns:ArrayOfString"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfString">
         <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
         </s:sequence>
      </s:complexType>
      <s:element name="GetSitesResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="GetSitesResult" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfo">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfoResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="GetSiteInfoResult" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariableInfo">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="variable" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariableInfoResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="GetVariableInfoResult" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSitesObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="tns:ArrayOfString"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSitesObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:sitesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfoObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfoObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:sitesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariableInfoObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="variable" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetValues">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="location" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="variable" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="startDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="endDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetValuesResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="GetValuesResult" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetValuesObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="location" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="variable" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="startDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="endDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfoMultpleObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="tns:ArrayOfString"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSiteInfoMultpleObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:sitesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSitesByBoxObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="1" maxOccurs="1" name="west" type="s:float"/>
               <s:element minOccurs="1" maxOccurs="1" name="south" type="s:float"/>
               <s:element minOccurs="1" maxOccurs="1" name="east" type="s:float"/>
               <s:element minOccurs="1" maxOccurs="1" name="north" type="s:float"/>
               <s:element minOccurs="1" maxOccurs="1" name="IncludeSeries" type="s:boolean"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetSitesByBoxObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:sitesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetValuesForASiteObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="site" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="startDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="endDate" type="s:string"/>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetValuesForASiteObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:timeSeriesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariables">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariablesResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="GetVariablesResult" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariablesObject">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" name="authToken" type="s:string"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="GetVariablesObjectResponse">
         <s:complexType>
            <s:sequence>
               <s:element minOccurs="0" maxOccurs="1" ref="s1:variablesResponse"/>
            </s:sequence>
         </s:complexType>
      </s:element>
      <s:element name="string" nillable="true" type="s:string"/>
   </s:schema>
(model)
   <Element:0x7fa0aec94c18 name="GetSites">
      <Complex:0x7fa0aec94cf8>
         <Sequence:0x7fa0aec94cc0>
            <Element:0x7fa0aec94940 name="site" type="('ArrayOfString', 'http://www.cuahsi.org/his/1.1/ws/')" />
            <Element:0x7fa0aec94eb8 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Complex:0x7fa0aec94c88 name="ArrayOfString">
      <Sequence:0x7fa0aec94c50>
         <Element:0x7fa0aec94f28 name="string" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
      </Sequence>
   </Complex>
   <Element:0x7fa0aec94d30 name="GetSitesResponse">
      <Complex:0x7fa0aec94f60>
         <Sequence:0x7fa0aec94fd0>
            <Element:0x7fa0aed2c080 name="GetSitesResult" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aec94ef0 name="GetSiteInfo">
      <Complex:0x7fa0aed2c048>
         <Sequence:0x7fa0aed2c0f0>
            <Element:0x7fa0aed2c160 name="site" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2c198 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aec94f98 name="GetSiteInfoResponse">
      <Complex:0x7fa0aed2c128>
         <Sequence:0x7fa0aed2c208>
            <Element:0x7fa0aed2c278 name="GetSiteInfoResult" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c0b8 name="GetVariableInfo">
      <Complex:0x7fa0aed2c240>
         <Sequence:0x7fa0aed2c2e8>
            <Element:0x7fa0aed2c358 name="variable" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2c390 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c1d0 name="GetVariableInfoResponse">
      <Complex:0x7fa0aed2c320>
         <Sequence:0x7fa0aed2c400>
            <Element:0x7fa0aed2c470 name="GetVariableInfoResult" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c2b0 name="GetSitesObject">
      <Complex:0x7fa0aed2c438>
         <Sequence:0x7fa0aed2c4e0>
            <Element:0x7fa0aed2c550 name="site" type="('ArrayOfString', 'http://www.cuahsi.org/his/1.1/ws/')" />
            <Element:0x7fa0aed2c588 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c3c8 name="GetSitesObjectResponse">
      <Complex:0x7fa0aed2c518>
         <Sequence:0x7fa0aed2c5f8>
            <Element:0x7fa0aed2c668 name="sitesResponse" ref="('sitesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('SiteInfoResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c4a8 name="GetSiteInfoObject">
      <Complex:0x7fa0aed2c630>
         <Sequence:0x7fa0aed2c6d8>
            <Element:0x7fa0aed2c748 name="site" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2c780 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c5c0 name="GetSiteInfoObjectResponse">
      <Complex:0x7fa0aed2c710>
         <Sequence:0x7fa0aed2c7f0>
            <Element:0x7fa0aed2c860 name="sitesResponse" ref="('sitesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('SiteInfoResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c6a0 name="GetVariableInfoObject">
      <Complex:0x7fa0aed2c828>
         <Sequence:0x7fa0aed2c8d0>
            <Element:0x7fa0aed2c940 name="variable" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2c978 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c7b8 name="GetValues">
      <Complex:0x7fa0aed2c908>
         <Sequence:0x7fa0aed2c9e8>
            <Element:0x7fa0aed2ca58 name="location" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2ca90 name="variable" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cac8 name="startDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cb00 name="endDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cb38 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c898 name="GetValuesResponse">
      <Complex:0x7fa0aed2ca20>
         <Sequence:0x7fa0aed2cba8>
            <Element:0x7fa0aed2cc18 name="GetValuesResult" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2c9b0 name="GetValuesObject">
      <Complex:0x7fa0aed2cbe0>
         <Sequence:0x7fa0aed2cc88>
            <Element:0x7fa0aed2ccf8 name="location" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cd30 name="variable" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cd68 name="startDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cda0 name="endDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed2cdd8 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2cb70 name="GetSiteInfoMultpleObject">
      <Complex:0x7fa0aed2ccc0>
         <Sequence:0x7fa0aed2ce48>
            <Element:0x7fa0aed2ceb8 name="site" type="('ArrayOfString', 'http://www.cuahsi.org/his/1.1/ws/')" />
            <Element:0x7fa0aed2cef0 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2cc50 name="GetSiteInfoMultpleObjectResponse">
      <Complex:0x7fa0aed2ce80>
         <Sequence:0x7fa0aed2cf60>
            <Element:0x7fa0aed2cfd0 name="sitesResponse" ref="('sitesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('SiteInfoResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2ce10 name="GetSitesByBoxObject">
      <Complex:0x7fa0aed2cf98>
         <Sequence:0x7fa0aed33080>
            <Element:0x7fa0aed330f0 name="west" type="('float', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33128 name="south" type="('float', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33160 name="east" type="('float', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33198 name="north" type="('float', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed331d0 name="IncludeSeries" type="('boolean', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33208 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed2cf28 name="GetSitesByBoxObjectResponse">
      <Complex:0x7fa0aed330b8>
         <Sequence:0x7fa0aed33278>
            <Element:0x7fa0aed332e8 name="sitesResponse" ref="('sitesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('SiteInfoResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33048 name="GetValuesForASiteObject">
      <Complex:0x7fa0aed332b0>
         <Sequence:0x7fa0aed33358>
            <Element:0x7fa0aed333c8 name="site" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33400 name="startDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33438 name="endDate" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
            <Element:0x7fa0aed33470 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33240 name="GetValuesForASiteObjectResponse">
      <Complex:0x7fa0aed33390>
         <Sequence:0x7fa0aed334e0>
            <Element:0x7fa0aed33550 name="timeSeriesResponse" ref="('timeSeriesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('TimeSeriesResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33320 name="GetVariables">
      <Complex:0x7fa0aed33518>
         <Sequence:0x7fa0aed335c0>
            <Element:0x7fa0aed33630 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed334a8 name="GetVariablesResponse">
      <Complex:0x7fa0aed335f8>
         <Sequence:0x7fa0aed336a0>
            <Element:0x7fa0aed33710 name="GetVariablesResult" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33588 name="GetVariablesObject">
      <Complex:0x7fa0aed336d8>
         <Sequence:0x7fa0aed33780>
            <Element:0x7fa0aed337f0 name="authToken" type="('string', 'http://www.w3.org/2001/XMLSchema')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33668 name="GetVariablesObjectResponse">
      <Complex:0x7fa0aed337b8>
         <Sequence:0x7fa0aed33860>
            <Element:0x7fa0aed338d0 name="variablesResponse" ref="('variablesResponse', 'http://www.cuahsi.org/waterML/1.1/')" type="('VariablesResponseType', 'http://www.cuahsi.org/waterML/1.1/')" />
         </Sequence>
      </Complex>
   </Element>
   <Element:0x7fa0aed33748 name="string" type="('string', 'http://www.w3.org/2001/XMLSchema')" />