Bug #73043 [Com]: WSDL: import schema if WSDL uri does NOT end with a slash

From: Date: Fri, 09 Sep 2016 18:35:52 +0000
Subject: Bug #73043 [Com]: WSDL: import schema if WSDL uri does NOT end with a slash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203932@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73043&edit=1

 ID:                 73043
 Comment by:         filip dot rydlo at gmail dot com
 Reported by:        filip dot rydlo at gmail dot com
 Summary:            WSDL: import schema if WSDL uri does NOT end with a
                     slash
 Status:             Not a bug
 Type:               Bug
 Package:            SOAP related
 Operating System:   Debian 8.5 Jessie x64
 PHP Version:        5.6.26RC1
 Block user comment: N
 Private report:     N

 New Comment:

This was a nightmare! OK. The local alternative (workaround) works fine. Thanx again!

But if they ever change the WSDL... well, then it will be REAL fuuuuuuuun! :-)))


Previous Comments:
------------------------------------------------------------------------
[2016-09-09 15:48:30] filip dot rydlo at gmail dot com

Thank You, Requinix!

I will try that.

Of course with the
$options= array(... , 'location' => 'https://pg.eet.cz/eet/services/EETServiceSOAP/v3/');
 //trailing slash

------------------------------------------------------------------------
[2016-09-09 14:26:24] requinix@php.net

The original URL has never worked for me, so I don't know.

An alternative is to download and use the WSDLs locally. Any relative schemaLocation should continue
to work without adjustment.

------------------------------------------------------------------------
[2016-09-09 14:22:36] filip dot rydlo at gmail dot com

Unfortunatelly: Yes, I am.

I have common sense. So, sadly, this simple fix was, of course, the *first* thing I have tried!

Try the fixed link in a web browser for yourself. The original link does.
It does NOT work as of today: 2016-09-09T16:20:00+0200 :

https://pg.eet.cz/eet/services/EETServiceSOAP/v3/?wsdl

------------------------------------------------------------------------
[2016-09-09 14:06:59] requinix@php.net

>> however PHP is behaving correctly.
>Are You *absolutely* sure about all this?
As I said, I welcome any evidence or documentation or such indicating the opposite, but I'm
quite sure I'm right.

Are *you* sure that you have the correct WSDL URL? Try using /v3/?wsdl in your code instead - I bet
it will work.

------------------------------------------------------------------------
[2016-09-09 13:20:16] filip dot rydlo at gmail dot com

I would like to apologize to my government.

"millions of dollars" was of course clearly an *overstatement* from me.

I believe it could have cost several tens of thousands dollars, maybe up to one houndred thousand
USD.  And mainly just because of the expensive infrastructure (a powerful dedicated server for the
EET webservice is definitely needed. It will need to consume lots of data daily).

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


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

    https://bugs.php.net/bug.php?id=73043


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


Thread (10 messages)

« previous php.bugs (#203932) next »