FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: SOAP-ERROR: Parsing WSDL: Couldn't load from ... [message #169639 is a reply to message #169638] Mon, 20 September 2010 18:02 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/20/2010 12:00 PM, yawnmoth wrote:
> On Sep 18, 12:44 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 9/17/2010 2:36 PM, yawnmoth wrote:
>>
>>
>>
>>> <?php
>>> $client = new SoapClient('https://demo.docusign.net/API/3.0/
>>> Credential.asmx?WSDL');
>>> ?>
>>
>>> That PHP file gets me the following errors:
>>
>>> http://pastebin.com/b3xQBLXD
>>
>>> If there wasn't anything at that URL that would be the problem, but as
>>> is, there is a WSDL XML at that URL. Going to it with my browser
>>> confirms that. I can even access that URL with PHP / curl as the
>>> following demonstrates:
>>
>>> <?php
>>> $curl = curl_init();
>>> curl_setopt($curl, CURLOPT_URL, 'https://demo.docusign.net/API/3.0/
>>> Credential.asmx?WSDL');
>>> curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
>>> curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
>>> var_dump(curl_exec($curl));
>>> ?>
>>
>>> So why can't I access it with the SoapClient constructor?
>>
>> I have no idea. If you can't put error messages in your message, I
>> won't bother to go looking through the internet for them.
>
> I did put the error messages in my post. Let me quote the relevant
> portion of the original message:
>
>> That PHP file gets me the following errors:
>>
>> http://pastebin.com/b3xQBLXD
>
> I put them on pastebin.com and not in the message, itself, because the
> error messages are fairly lengthy. If I included them how would
> people know when the error message ended and my own comments resumed?
> Maybe I could have delienated the start and stop of the error message
> with --------------------------- or something. Or maybe I could have
> just put them on pastebin.com, which is what I did. But since you are
> unwilling to visit the URL, here are the messages in full:
>

That is not putting them in the message itself. As to me being
unwilling - YOU'RE the one asking for help. It behooves you to be
complete in your message and not force people to look other places.

> -----------------------------------------------------
>
> Warning: SoapClient::SoapClient(): I/O warning : failed to load
> external entity
> "https://demo.docusign.net/API/3.0/Credential.asmx?WSDL" in C:
> \php5\test.php on
> line 2
>
> Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
> WSDL: Coul
> dn't load from 'https://demo.docusign.net/API/3.0/Credential.asmx?
> WSDL' : failed
> to load external entity "https://demo.docusign.net/API/3.0/
> Credential.asmx?WSDL
> "
> in C:\php5\test.php:2
> Stack trace:
> #0 C:\php5\test.php(2): SoapClient->SoapClient('https://demo.do...')
> #1 {main}
> thrown in C:\php5\test.php on line 2

Much better.

OK, so you can't load the page. Your code works from here, which
indicates a problem in your PHP and/or OpenSSL installation. What
version of each are you using on your system?

Also, does this give you any clues?

http://forums.zend.com/viewtopic.php?f=8&t=399

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Illegal variable _files
Next Topic: Accessing different resultsets that were created by a mysql stored procedure
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 15:25:46 GMT 2024

Total time taken to generate the page: 0.04240 seconds