Fatal Error issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I could use some help on this.  I just made a minor chage to my system
(changed  timout in Transport/HTTP.php) to be 0, and timout in php.ini to
120 and now I get this error, where before I wasn't getting it.  Now maybe I
wasn't getting it before because my service was timing out before it ran
into the error, but I can't seem to find the problem.  Has anyone gotten
this error before?

    Warning: Wrong datatype for first argument in call to array_key_exists
in /usr/local/pear/SOAP/Base.php on line 527 Fatal error:

The code looks fairly basic it's just trying to set the $typePrefix so that
it can be decoded properly.  Below is the WSDL sections for what is being
returned.  The retun object is a ReportResult, is there anything here that
looks wrong?

<schema targetNamespace="urn:Reporting">
    <complexType name="ReportDefinition">
        <all>
            <element name="ReportID" type="xsd:unsignedInt"/>
            <element name="Title" type="xsd:string"/>
            <element name="SubTitle" type="xsd:string"/>
            <element name="ReportVariableList"
type="tns:ReportVariableList"/>
            <element name="IsEnabled" type="xsd:boolean"/>
        </all>
    </complexType>
 <complexType name="ReportDefinitionList">
    <complexContent>
        <restriction base="SOAP-ENC:Array">
            <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="tns:ReportDefinition[]"/>
        </restriction>
    </complexContent>
</complexType>
<complexType name="ArrayOfStrings">
    <complexContent>
        <restriction base="SOAP-ENC:Array">
            <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]"/>
        </restriction>
    </complexContent>
</complexType>
<complexType name="ReportResult">
    <all>
        <element name="ReportDefinition" type="tns:ReportDefinition"/>
        <element name="Template" type="xsd:string"/>
        <element name="Results" type="tns:ArrayOfStrings"/>
    </all>
</complexType>
<complexType name="ReportVariable">
    <all>
        <element name="ReportID" type="xsd:unsignedInt"/>
        <element name="ReportVariableID" type="xsd:unsignedInt"/>
        <element name="Name" type="xsd:string"/>
        <element name="Value" type="xsd:string"/>
        <element name="Type" type="xsd:string"/>
        <element name="CanUserModify" type="xsd:boolean"/>
        <element name="IsValueDefault" type="xsd:boolean"/>
    </all>
</complexType>
<complexType name="ReportVariableList">
    <complexContent>
        <restriction base="SOAP-ENC:Array">
            <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="tns:ReportVariable[]"/>
        </restriction>
    </complexContent>
</complexType>

Thanks,
Rob

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux