Loading ...
Sorry, an error occurred while loading the content.

4724Array of enumerations

Expand Messages
  • Byron Whitlock
    Jun 1 11:21 AM
    • 0 Attachment
      Does SOAP::Lite support this?
      When I do a query against my server I get
      Unrecognized type
      '{http://www.lyris.com/lmapi}SubscriptionReportEnum'



      Thanks,
      Details below.
      -Byron Whitlock

      Server returns somthing like this:
      <ns:SelectListsResponse xmlns:ns="lmapi"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <return
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xsi:type="SOAP-ENC:Array" SOAP-ENC:offset="[0]"
      SOAP-ENC:arrayType="s0:ListStruct[5]">
      <item xsi:type="s0:ListStruct">
      <SubscriptionReports
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xsi:type="SOAP-ENC:Array" SOAP-ENC:offset="[0]"
      SOAP-ENC:arrayType="s0:SubscriptionReportEnum[3]">
      <item>daily</item>
      <item>daily-email</item>
      <item>daily-nochart</item>
      </SubscriptionReports>
      .
      .
      .


      Relevant WSDL Snippet:
      <xs:simpleType name="SubscriptionReportEnum">
      <xs:restriction base="xsd:string">
      <xs:enumeration value="none"/>
      <xs:enumeration value="monthly"/>
      <xs:enumeration value="monthly-email"/>
      <xs:enumeration value="monthly-nochart"/>
      <xs:enumeration value="daily"/>
      <xs:enumeration value="daily-email"/>
      <xs:enumeration value="daily-nochart"/>
      <xs:enumeration value="monday"/>
      <xs:enumeration value="monday-email"/>
      <xs:enumeration value="monday-nochart"/>
      <xs:enumeration value="tuesday"/>
      <xs:enumeration value="tuesday-email"/>
      <xs:enumeration value="tuesday-nochart"/>
      <xs:enumeration value="wednesday"/>
      <xs:enumeration value="wednesday-email"/>
      <xs:enumeration value="wednesday-nochart"/>
      <xs:enumeration value="thursday"/>
      <xs:enumeration value="thursday-email"/>
      <xs:enumeration value="thursday-nochart"/>
      <xs:enumeration value="friday"/>
      <xs:enumeration value="friday-email"/>
      <xs:enumeration value="friday-nochart"/>
      <xs:enumeration value="saturday"/>
      <xs:enumeration value="saturday-email"/>
      <xs:enumeration value="saturday-nochart"/>
      <xs:enumeration value="sunday"/>
      <xs:enumeration value="sunday-email"/>
      <xs:enumeration value="sunday-nochart"/>
      </xs:restriction>
      </xs:simpleType>

      <xs:complexType name="ArrayOfSubscriptionReportEnum">
      <xs:complexContent mixed="false">
      <xs:restriction base="SOAP-ENC:Array">
      <xs:attribute
      wsdl:arrayType="s0:SubscriptionReportEnum[]"
      ref="SOAP-ENC:arrayType" />
      </xs:restriction>
      </xs:complexContent>
      </xs:complexType>