ID:               42723
 Updated by:       [EMAIL PROTECTED]
 Reported By:      x dot meglio at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         SOAP related
 Operating System: Windows XP SP2
 PHP Version:      5.2.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-09-21 09:24:11] x dot meglio at gmail dot com

Description:
------------
Array of integers was not converted properly (and not passed as
parameter) when using SoapClient in WSDL mode and calling method which
take this parameter:

<xsd:complexType name="ArrayOfInt">
  <xsd:sequence>
    <xsd:element form="qualified" maxOccurs="unbounded"
      name="int" nillable="true"  type="xsd:int"/>
  </xsd:sequence>
</xsd:complexType>

Reproduce code:
---------------
I'm calling getAllMarkets method of Betfair.com API (ver. 5.4) and I
can't provide whole code because of API login/password of my customer.

I'm calling the method:

MySoapClient->getAllMarkets($request);

where

$request = Array('request' => Array(
  'eventTypesIds' => Array(7),
  'header' => Array('clientStamp' => 0, 'sessionToken' => ...)))

The eventTypesIds parameter of getAllMarkets function takes this type
(described in WSDL):

<xsd:complexType name="ArrayOfInt">
  <xsd:sequence>
    <xsd:element form="qualified" maxOccurs="unbounded"
      name="int" nillable="true"  type="xsd:int"/>
  </xsd:sequence>
</xsd:complexType>

P.S. I have reproduced the code in c# and it works well, so the error
is just in type transformation in PHP SAOP implementation.

Expected result:
----------------
I expect the market data filtered by specified eventTypesIds (for
example, only Horse Racing todays card with ID=13).

Actual result:
--------------
I get the market data for all events (eventTypesIds which I pass to the
getAllMarkets does not affect).


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42723&edit=1

Reply via email to