axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Andrews (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4918) NPE during wsdl2java
Date Fri, 07 Jan 2011 21:58:46 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978983#action_12978983 ] 

Bob Andrews commented on AXIS2-4918:
------------------------------------

Here is the WSDL that we provide:


<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions xmlns:s7="http://comscore.com/Media/Response" xmlns:s2="http://comscore.com/ReportQuery" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s9="http://comscore.com/FetchMedia" xmlns:s5="http://comscore.com/ReportModel" xmlns:s8="http://comscore.com/Report" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s3="http://comscore.com/PlanTargetResponse" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://comscore.com/" xmlns:s6="http://comscore.com/Media/Query" xmlns:s1="http://comscore.com/PlanTargetQuery" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s4="http://comscore.com/PMXTarget.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://comscore.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

  <wsdl:types>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/">

      <s:import namespace="http://comscore.com/PlanTargetQuery" />

      <s:import namespace="http://comscore.com/ReportQuery" />

      <s:import namespace="http://comscore.com/PlanTargetResponse" />

      <s:import namespace="http://comscore.com/PMXTarget.xsd" />

      <s:import namespace="http://comscore.com/ReportModel" />

      <s:import namespace="http://comscore.com/Media/Query" />

      <s:import namespace="http://comscore.com/Media/Response" />

      <s:import namespace="http://comscore.com/Report" />

      <s:import namespace="http://comscore.com/FetchMedia" />

      <s:element name="DiscoverTargetParameters">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s1:query" />

            <s:element minOccurs="0" maxOccurs="1" ref="s2:reportQuery" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverTargetParametersResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s3:DiscoverTargetParametersResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverPMXTargetParameters">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="parameterId" type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" ref="s4:pmxTargetQuery" />

            <s:element minOccurs="0" maxOccurs="1" ref="s2:reportQuery" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverPMXTargetParametersResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s4:DiscoverPMXTargetParametersResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverParameters">

        <s:complexType />

      </s:element>

      <s:element name="DiscoverParametersResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s5:DiscoverParametersResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverParameterValues">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="parameterId" type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" ref="s2:query" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverParameterValuesResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s5:DiscoverParameterValuesResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FilterMedia">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s6:mediaQuery" />

            <s:element minOccurs="0" maxOccurs="1" ref="s2:reportQuery" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FilterMediaResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s7:FilterMediaResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="QueryReport">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s2:query" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="QueryReportResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s8:QueryReportResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="PingReport">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="jobId" type="s:int" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="PingReportResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s8:PingReportResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="PingReportStatus">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="jobId" type="s:int" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="PingReportStatusResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s8:PingReportStatusResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchStringReportResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="jobId" type="s:int" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchStringReportResponseResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="FetchStringReportResponseResult" type="s:string" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchReport">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="jobId" type="s:int" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchReportResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s8:FetchReportResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchMedia">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="parameterId" type="s:string" />

            <s:element minOccurs="0" maxOccurs="1" ref="s9:fetchMediaQuery" />

            <s:element minOccurs="0" maxOccurs="1" ref="s2:reportQuery" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchMediaResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s7:FetchMediaResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="SubmitReport">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s2:query" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="SubmitReportResponse">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" ref="s8:SubmitReportResult" />

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/PlanTargetQuery">

      <s:element name="query">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="TargetCollection">

              <s:complexType>

                <s:attribute name="CollectionId" type="s:string" />

                <s:attribute default="false" name="IncludeChildren" type="s:boolean" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/ReportQuery">

      <s:element name="reportQuery">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Parameter">

              <s:complexType>

                <s:attribute name="KeyId" type="s:string" />

                <s:attribute name="Value" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Option" type="s2:option" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="RFInput">

              <s:complexType>

                <s:attribute name="MediaId" type="s:string" />

                <s:attribute name="TargetId" type="s:string" />

                <s:attribute name="Duration" type="s:int" use="required" />

                <s:attribute name="Impressions" type="s:int" use="required" />

                <s:attribute name="ReachFactor" type="s:decimal" use="required" />

                <s:attribute name="CPM" type="s:decimal" use="required" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="option">

        <s:attribute name="Id" type="s:string" />

        <s:attribute default="true" name="Value" type="s:boolean" />

      </s:complexType>

      <s:element name="query">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Parameter">

              <s:complexType>

                <s:attribute name="KeyId" type="s:string" />

                <s:attribute name="Value" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Option" type="s2:option" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="RFInput">

              <s:complexType>

                <s:attribute name="MediaId" type="s:string" />

                <s:attribute name="TargetId" type="s:string" />

                <s:attribute name="Duration" type="s:int" use="required" />

                <s:attribute name="Impressions" type="s:int" use="required" />

                <s:attribute name="ReachFactor" type="s:decimal" use="required" />

                <s:attribute name="CPM" type="s:decimal" use="required" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/PlanTargetResponse">

      <s:element name="DiscoverTargetParametersResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="TargetCollection" type="s3:TargetCollection" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:sequence>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="TargetCollection" type="s3:TargetCollection" />

                </s:sequence>

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="TargetCollection">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="unbounded" name="TargetCollection" type="s3:TargetCollection" />

        </s:sequence>

        <s:attribute name="TargetId" type="s:string" />

        <s:attribute name="Name" type="s:string" />

        <s:attribute name="ChildCount" type="s:int" use="required" />

        <s:attribute name="ParentId" type="s:string" />

      </s:complexType>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/PMXTarget.xsd">

      <s:element name="pmxTargetQuery">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="TargetCollection">

              <s:complexType>

                <s:attribute name="CollectionId" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="DiscoverPMXTargetParametersResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="PMXTargetCollection" type="s4:PMXTargetCollection" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:sequence>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="PMXTargetCollection" type="s4:PMXTargetCollection" />

                </s:sequence>

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="PMXTargetCollection">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="unbounded" name="PMXTargetCollection" type="s4:PMXTargetCollection" />

        </s:sequence>

        <s:attribute name="TargetId" type="s:string" />

        <s:attribute name="Name" type="s:string" />

        <s:attribute name="IsLeaf" type="s:boolean" use="required" />

        <s:attribute name="ParentId" type="s:string" />

      </s:complexType>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/ReportModel">

      <s:element name="DiscoverParametersResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Parameter">

              <s:complexType>

                <s:sequence>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="Dependency">

                    <s:complexType>

                      <s:attribute name="ParameterId" type="s:string" />

                    </s:complexType>

                  </s:element>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="EnumValue">

                    <s:complexType>

                      <s:attribute name="Value" type="s:string" />

                      <s:attribute name="Id" type="s:string" />

                    </s:complexType>

                  </s:element>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="Option" type="s5:Option" />

                </s:sequence>

                <s:attribute name="Name" type="s:string" />

                <s:attribute name="Id" type="s:string" />

                <s:attribute name="Description" type="s:string" />

                <s:attribute default="false" name="Required" type="s:boolean" />

                <s:attribute default="false" name="SupportsMultiple" type="s:boolean" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Option" type="s5:Option" />

          </s:sequence>

          <s:attribute name="ReportId" type="s:int" use="required" />

          <s:attribute name="ReportName" type="s:string" />

          <s:attribute default="false" name="UsesRFInputs" type="s:boolean" />

        </s:complexType>

      </s:element>

      <s:complexType name="Option">

        <s:attribute name="Id" type="s:string" />

        <s:attribute name="Name" type="s:string" />

        <s:attribute default="false" name="Default" type="s:boolean" />

      </s:complexType>

      <s:element name="DiscoverParameterValuesResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Dependency">

              <s:complexType>

                <s:attribute name="ParameterId" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="EnumValue">

              <s:complexType>

                <s:attribute name="Value" type="s:string" />

                <s:attribute name="Id" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Option" type="s5:Option" />

          </s:sequence>

          <s:attribute name="Name" type="s:string" />

          <s:attribute name="Id" type="s:string" />

          <s:attribute name="Description" type="s:string" />

          <s:attribute default="false" name="Required" type="s:boolean" />

          <s:attribute default="false" name="SupportsMultiple" type="s:boolean" />

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/Media/Query">

      <s:element name="mediaQuery">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:attribute default="false" name="ExactMatch" type="s:boolean" />

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaSet">

              <s:complexType>

                <s:attribute name="MediaSetId" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

          <s:attribute default="false" name="SelectMediaSets" type="s:boolean" />

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/Media/Response">

      <s:element name="FilterMediaResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaSet">

              <s:complexType>

                <s:sequence>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="MediaItem" type="s7:MediaItem" />

                </s:sequence>

                <s:attribute name="Name" type="s:string" />

                <s:attribute name="Id" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaItem" type="s7:MediaItem" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="MediaItem">

        <s:attribute name="Name" type="s:string" />

        <s:attribute name="Id" type="s:string" />

        <s:attribute name="MediaType" type="s:string" />

      </s:complexType>

      <s:element name="FetchMediaResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaSet">

              <s:complexType>

                <s:sequence>

                  <s:element minOccurs="0" maxOccurs="unbounded" name="MediaItem" type="s7:MediaItem" />

                </s:sequence>

                <s:attribute name="Name" type="s:string" />

                <s:attribute name="Id" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaItem" type="s7:MediaItem" />

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/Report">

      <s:element name="QueryReportResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="JobId" type="s:string" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s8:Error" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="Error">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="1" name="Severity" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />

        </s:sequence>

      </s:complexType>

      <s:element name="PingReportResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="Status" type="s:boolean" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s8:Error" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="PingReportStatusResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="1" maxOccurs="1" name="Status">

              <s:simpleType>

                <s:restriction base="s:string">

                  <s:enumeration value="Queued" />

                  <s:enumeration value="Processing" />

                  <s:enumeration value="Completed" />

                  <s:enumeration value="Failed" />

                  <s:enumeration value="Error" />

                </s:restriction>

              </s:simpleType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s8:Error" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:element name="FetchReportResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="REPORT" type="s8:report" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s8:Error" />

          </s:sequence>

        </s:complexType>

      </s:element>

      <s:complexType name="report">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="1" name="TITLE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="SUBTITLE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="SUMMARY" type="s8:summary" />

          <s:element minOccurs="0" maxOccurs="unbounded" name="TABLE" type="s8:table" />

        </s:sequence>

      </s:complexType>

      <s:complexType name="summary">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="1" name="GEOGRAPHY" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="LOCATION" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="TIMEPERIOD" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="TARGET" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="MEDIA" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="MEASURES" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="BASE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="SAMPLEBASE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="REACHOPTION" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="SEARCHTYPE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="DATE" type="s:string" />

          <s:element minOccurs="0" maxOccurs="1" name="USER" type="s:string" />

        </s:sequence>

      </s:complexType>

      <s:complexType name="table">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="1" name="THEAD" type="s8:ArrayOfTR" />

          <s:element minOccurs="0" maxOccurs="1" name="TBODY" type="s8:ArrayOfTR" />

        </s:sequence>

      </s:complexType>

      <s:complexType name="ArrayOfTR">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="unbounded" name="TR" type="s8:tr" />

        </s:sequence>

      </s:complexType>

      <s:complexType name="tr">

        <s:sequence>

          <s:element minOccurs="0" maxOccurs="unbounded" name="TH" type="s8:th" />

          <s:element minOccurs="0" maxOccurs="unbounded" name="TD" type="s8:td" />

        </s:sequence>

      </s:complexType>

      <s:complexType name="th">

        <s:simpleContent>

          <s:extension base="s:string">

            <s:attribute name="web_id" type="s:int" />

            <s:attribute name="parent_id" type="s:int" />

            <s:attribute name="depth" type="s:int" />

            <s:attribute name="media_type" type="s:string" />

            <s:attribute name="hybrid_type" type="s:string" />

          </s:extension>

        </s:simpleContent>

      </s:complexType>

      <s:complexType name="td">

        <s:simpleContent>

          <s:extension base="s:string">

            <s:attribute name="id" type="s:int" />

          </s:extension>

        </s:simpleContent>

      </s:complexType>

      <s:element name="SubmitReportResult">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="1" name="JobId" type="s:string" />

            <s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s8:Error" />

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

    <s:schema elementFormDefault="qualified" targetNamespace="http://comscore.com/FetchMedia">

      <s:element name="fetchMediaQuery">

        <s:complexType>

          <s:sequence>

            <s:element minOccurs="0" maxOccurs="unbounded" name="SearchCritera">

              <s:complexType>

                <s:attribute default="false" name="ExactMatch" type="s:boolean" />

                <s:attribute name="Critera" type="s:string" />

              </s:complexType>

            </s:element>

            <s:element minOccurs="0" maxOccurs="unbounded" name="MediaSet">

              <s:complexType>

                <s:attribute name="MediaSetId" type="s:string" />

              </s:complexType>

            </s:element>

          </s:sequence>

        </s:complexType>

      </s:element>

    </s:schema>

  </wsdl:types>

  <wsdl:message name="DiscoverTargetParametersSoapIn">

    <wsdl:part name="parameters" element="tns:DiscoverTargetParameters" />

  </wsdl:message>

  <wsdl:message name="DiscoverTargetParametersSoapOut">

    <wsdl:part name="parameters" element="tns:DiscoverTargetParametersResponse" />

  </wsdl:message>

  <wsdl:message name="DiscoverPMXTargetParametersSoapIn">

    <wsdl:part name="parameters" element="tns:DiscoverPMXTargetParameters" />

  </wsdl:message>

  <wsdl:message name="DiscoverPMXTargetParametersSoapOut">

    <wsdl:part name="parameters" element="tns:DiscoverPMXTargetParametersResponse" />

  </wsdl:message>

  <wsdl:message name="DiscoverParametersSoapIn">

    <wsdl:part name="parameters" element="tns:DiscoverParameters" />

  </wsdl:message>

  <wsdl:message name="DiscoverParametersSoapOut">

    <wsdl:part name="parameters" element="tns:DiscoverParametersResponse" />

  </wsdl:message>

  <wsdl:message name="DiscoverParameterValuesSoapIn">

    <wsdl:part name="parameters" element="tns:DiscoverParameterValues" />

  </wsdl:message>

  <wsdl:message name="DiscoverParameterValuesSoapOut">

    <wsdl:part name="parameters" element="tns:DiscoverParameterValuesResponse" />

  </wsdl:message>

  <wsdl:message name="FilterMediaSoapIn">

    <wsdl:part name="parameters" element="tns:FilterMedia" />

  </wsdl:message>

  <wsdl:message name="FilterMediaSoapOut">

    <wsdl:part name="parameters" element="tns:FilterMediaResponse" />

  </wsdl:message>

  <wsdl:message name="QueryReportSoapIn">

    <wsdl:part name="parameters" element="tns:QueryReport" />

  </wsdl:message>

  <wsdl:message name="QueryReportSoapOut">

    <wsdl:part name="parameters" element="tns:QueryReportResponse" />

  </wsdl:message>

  <wsdl:message name="PingReportSoapIn">

    <wsdl:part name="parameters" element="tns:PingReport" />

  </wsdl:message>

  <wsdl:message name="PingReportSoapOut">

    <wsdl:part name="parameters" element="tns:PingReportResponse" />

  </wsdl:message>

  <wsdl:message name="PingReportStatusSoapIn">

    <wsdl:part name="parameters" element="tns:PingReportStatus" />

  </wsdl:message>

  <wsdl:message name="PingReportStatusSoapOut">

    <wsdl:part name="parameters" element="tns:PingReportStatusResponse" />

  </wsdl:message>

  <wsdl:message name="FetchStringReportResponseSoapIn">

    <wsdl:part name="parameters" element="tns:FetchStringReportResponse" />

  </wsdl:message>

  <wsdl:message name="FetchStringReportResponseSoapOut">

    <wsdl:part name="parameters" element="tns:FetchStringReportResponseResponse" />

  </wsdl:message>

  <wsdl:message name="FetchReportSoapIn">

    <wsdl:part name="parameters" element="tns:FetchReport" />

  </wsdl:message>

  <wsdl:message name="FetchReportSoapOut">

    <wsdl:part name="parameters" element="tns:FetchReportResponse" />

  </wsdl:message>

  <wsdl:message name="FetchMediaSoapIn">

    <wsdl:part name="parameters" element="tns:FetchMedia" />

  </wsdl:message>

  <wsdl:message name="FetchMediaSoapOut">

    <wsdl:part name="parameters" element="tns:FetchMediaResponse" />

  </wsdl:message>

  <wsdl:message name="SubmitReportSoapIn">

    <wsdl:part name="parameters" element="tns:SubmitReport" />

  </wsdl:message>

  <wsdl:message name="SubmitReportSoapOut">

    <wsdl:part name="parameters" element="tns:SubmitReportResponse" />

  </wsdl:message>

  <wsdl:portType name="PMXMonthlyKeyMeasuresSoap">

    <wsdl:operation name="DiscoverTargetParameters">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns list of PlanMetrix Target Groups and targets that are valid. And also gives the ability to search for a specific target. This method will be removed in future releases. Use DiscoverPMXTargetParameters() instead.</wsdl:documentation>

      <wsdl:input message="tns:DiscoverTargetParametersSoapIn" />

      <wsdl:output message="tns:DiscoverTargetParametersSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="DiscoverPMXTargetParameters">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns list of PlanMetrix Target Groups and targets that are valid for a parameterId. And also gives the ability to search for a specific target.</wsdl:documentation>

      <wsdl:input message="tns:DiscoverPMXTargetParametersSoapIn" />

      <wsdl:output message="tns:DiscoverPMXTargetParametersSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameters">

      <wsdl:input message="tns:DiscoverParametersSoapIn" />

      <wsdl:output message="tns:DiscoverParametersSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameterValues">

      <wsdl:input message="tns:DiscoverParameterValuesSoapIn" />

      <wsdl:output message="tns:DiscoverParameterValuesSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="FilterMedia">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns Media Sets and Media. This method will be deprecated in future releases. Use FetchMedia() instead.</wsdl:documentation>

      <wsdl:input message="tns:FilterMediaSoapIn" />

      <wsdl:output message="tns:FilterMediaSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="QueryReport">

      <wsdl:input message="tns:QueryReportSoapIn" />

      <wsdl:output message="tns:QueryReportSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="PingReport">

      <wsdl:input message="tns:PingReportSoapIn" />

      <wsdl:output message="tns:PingReportSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="PingReportStatus">

      <wsdl:input message="tns:PingReportStatusSoapIn" />

      <wsdl:output message="tns:PingReportStatusSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="FetchStringReportResponse">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns the report response in String format. </wsdl:documentation>

      <wsdl:input message="tns:FetchStringReportResponseSoapIn" />

      <wsdl:output message="tns:FetchStringReportResponseSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="FetchReport">

      <wsdl:input message="tns:FetchReportSoapIn" />

      <wsdl:output message="tns:FetchReportSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="FetchMedia">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns Media items of a specific Media Set and Media items that begin with a passed search criteria. This is replacement to get the Media using FilterMedia method. &lt;br/&gt; Use DiscoverParameterValues method to get list of Media Sets.</wsdl:documentation>

      <wsdl:input message="tns:FetchMediaSoapIn" />

      <wsdl:output message="tns:FetchMediaSoapOut" />

    </wsdl:operation>

    <wsdl:operation name="SubmitReport">

      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method returns job id similar to QueryReport web method. Use PingReportStatus and FetchReport web methods to check the status and fetch the report response. Report response might vary if request is submitted using this method. This method is introduced to address a issue with Corner data(EX: &lt;THEAD&gt;&lt;TR&gt;&lt;TH&gt; element contains Media in Demographic Profile report eventhough Targets are on columns) in the response. Please use this method as QueryReport will be removed and won't be supported in future.</wsdl:documentation>

      <wsdl:input message="tns:SubmitReportSoapIn" />

      <wsdl:output message="tns:SubmitReportSoapOut" />

    </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="PMXMonthlyKeyMeasuresSoap" type="tns:PMXMonthlyKeyMeasuresSoap">

    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

    <wsdl:operation name="DiscoverTargetParameters">

      <soap:operation soapAction="http://comscore.com/DiscoverTargetParameters" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverPMXTargetParameters">

      <soap:operation soapAction="http://comscore.com/DiscoverPMXTargetParameters" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameters">

      <soap:operation soapAction="http://comscore.com/DiscoverParameters" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameterValues">

      <soap:operation soapAction="http://comscore.com/DiscoverParameterValues" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FilterMedia">

      <soap:operation soapAction="http://comscore.com/FilterMedia" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="QueryReport">

      <soap:operation soapAction="http://comscore.com/QueryReport" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="PingReport">

      <soap:operation soapAction="http://comscore.com/PingReport" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="PingReportStatus">

      <soap:operation soapAction="http://comscore.com/PingReportStatus" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchStringReportResponse">

      <soap:operation soapAction="http://comscore.com/FetchStringReportResponse" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchReport">

      <soap:operation soapAction="http://comscore.com/FetchReport" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchMedia">

      <soap:operation soapAction="http://comscore.com/FetchMedia" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="SubmitReport">

      <soap:operation soapAction="http://comscore.com/SubmitReport" style="document" />

      <wsdl:input>

        <soap:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

  </wsdl:binding>

  <wsdl:binding name="PMXMonthlyKeyMeasuresSoap12" type="tns:PMXMonthlyKeyMeasuresSoap">

    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />

    <wsdl:operation name="DiscoverTargetParameters">

      <soap12:operation soapAction="http://comscore.com/DiscoverTargetParameters" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverPMXTargetParameters">

      <soap12:operation soapAction="http://comscore.com/DiscoverPMXTargetParameters" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameters">

      <soap12:operation soapAction="http://comscore.com/DiscoverParameters" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="DiscoverParameterValues">

      <soap12:operation soapAction="http://comscore.com/DiscoverParameterValues" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FilterMedia">

      <soap12:operation soapAction="http://comscore.com/FilterMedia" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="QueryReport">

      <soap12:operation soapAction="http://comscore.com/QueryReport" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="PingReport">

      <soap12:operation soapAction="http://comscore.com/PingReport" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="PingReportStatus">

      <soap12:operation soapAction="http://comscore.com/PingReportStatus" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchStringReportResponse">

      <soap12:operation soapAction="http://comscore.com/FetchStringReportResponse" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchReport">

      <soap12:operation soapAction="http://comscore.com/FetchReport" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="FetchMedia">

      <soap12:operation soapAction="http://comscore.com/FetchMedia" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

    <wsdl:operation name="SubmitReport">

      <soap12:operation soapAction="http://comscore.com/SubmitReport" style="document" />

      <wsdl:input>

        <soap12:body use="literal" />

      </wsdl:input>

      <wsdl:output>

        <soap12:body use="literal" />

      </wsdl:output>

    </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="PMXMonthlyKeyMeasures">

    <wsdl:port name="PMXMonthlyKeyMeasuresSoap" binding="tns:PMXMonthlyKeyMeasuresSoap">

      <soap:address location="https://api-test.comscore.com/PlanMetrix/PMXMonthlyKeyMeasures.asmx" />

    </wsdl:port>

    <wsdl:port name="PMXMonthlyKeyMeasuresSoap12" binding="tns:PMXMonthlyKeyMeasuresSoap12">

      <soap12:address location="https://api-test.comscore.com/PlanMetrix/PMXMonthlyKeyMeasures.asmx" />

    </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

> NPE during wsdl2java
> --------------------
>
>                 Key: AXIS2-4918
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4918
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.4
>         Environment: linux and windows
>            Reporter: Hai Shao
>            Priority: Critical
>
> Running wsdl2java as: 
> sh $AXIS2_HOME/bin/wsdl2java.sh -uri <wsdl file path> -s -or -uw
> and got NPE
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>         ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>         ... 3 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.schema.ExtensionUtility.populateClassName(ExtensionUtility.java:521)
>         at org.apache.axis2.schema.ExtensionUtility.processSchemaSequence(ExtensionUtility.java:468)
>         at org.apache.axis2.schema.ExtensionUtility.processXMLSchemaComplexType(ExtensionUtility.java:349)
>         at org.apache.axis2.schema.ExtensionUtility.walkSchema(ExtensionUtility.java:321)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:168)
>         ... 8 more
> wsdl file was validated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message