Bug #44686 [Com]: SOAP-ERROR: Parsing WSDL

From: Date: Mon, 05 Jul 2010 10:35:01 +0000
Subject: Bug #44686 [Com]: SOAP-ERROR: Parsing WSDL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-152097@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=44686&edit=1

 ID:               44686
 Comment by:       belgattitude at gmail dot com
 Reported by:      dmittner at llnw dot com
 Summary:          SOAP-ERROR: Parsing WSDL
 Status:           No Feedback
 Type:             Bug
 Package:          SOAP related
 Operating System: Gentoo
 PHP Version:      5.2.5

 New Comment:

Same error connecting to .net service with PHP 5.2.13 and PHP 5.2.14RC2

Try it with, for example :

$url = "http://d2c.9squared.com/f/ContentRetrieval.asmx?WSDL";
$soapClient = new SoapClient($url array('soap_version' => SOAP_1_2));


will result in

[WSDL] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute.


Previous Comments:
------------------------------------------------------------------------
[2009-04-09 10:26:16] tommy at profi dot it

Same here. Test files available at

http://dev.profi.it/ota.zip

Please review this issue! Thanks a lot!

------------------------------------------------------------------------
[2009-03-13 15:05:55] tjxlacrosse at hotmail dot com

Is anyone looking into this?  I'm having the same issue on
Ubuntu 8.10 with PHP 5.2.6-2 when trying to parse a .net web service

WSDL:http://d2c.9squared.com/f/ContentRetrieval.asmx?WSDL

------------------------------------------------------------------------
[2009-01-12 22:02:23] simon at connexon dot com

Hi,

I'm having the same problem... And it's a bit tough for me to
troubleshoot because I'm using a file package provided by a website.

http://www.nena.org/xml_schemas/NENAFiles/CurrentNENA/CurrentNENA.zip

I'm trying to get the validateAddress to work (from the v7 interface)
but so far no luck! I'm stuck on this undefined ref variable.....

------------------------------------------------------------------------
[2008-12-01 18:12:56] sergio dot aghemo at fiat dot com

having the same problem. Urgent fix needed!

follow extract of the WSDL

<s:element name="getLinkProfilesByTicketResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
ref="getLinkProfilesByTicketResult" />
          </s:sequence>
        </s:complexType>
      </s:element>

.....


      <s:element name="getLinkProfilesByTicketResult"
type="LINKPROFILESRESPONSE" />
      <s:complexType name="LINKPROFILESRESPONSE">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="USER"
type="USER"
/>
        </s:sequence>
        <s:attribute name="error" type="s:string" />
      </s:complexType>
      <s:complexType name="USER">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="CODMARKET"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="USERNAME"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="SINCOM"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LOGINNAME"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="FIRSTNAME"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LASTNAME"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="EMAIL"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="TELEPHONE"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="FAX"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="USERTYPE"
type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="COMPANY"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="SAPUSERID"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MAINSINCOM"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="STATUS"
type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="LANGUAGE"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1"
name="APPLICATIONS"
type="ArrayOfAPPLICATION" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfAPPLICATION">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded"
name="APPLICATION" type="APPLICATION" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="APPLICATION">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ROLE"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="BRANDS"
type="s:string" />
        </s:sequence>
        <s:attribute name="name" type="s:string" />
        <s:attribute name="market" type="s:string" />
        <s:attribute name="enabled" type="s:integer" />
      </s:complexType>
      <s:element name="LINKPROFILESRESPONSE" type="LINKPROFILESRESPONSE"
/>

------------------------------------------------------------------------
[2008-11-30 18:22:10] olivier at quatrain dot com

Having the same problem happening with a valid WSDL on php 5.2.5 and
5.2.6, I tested it on the latest snapshot of PHP (5.2.7RC6) and got the
same error.

Hope it helps.

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=44686


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


Thread (19 messages)

« previous php.bugs (#152097) next »